Itasca C++ Interface
|
Interface to provide access to structural element nodes. More...
#include <iselnode.h>
Public Member Functions | |
virtual const IThing * | getIThing () const =0 |
returns a const IThing pointer | |
virtual IThing * | getIThing ()=0 |
returns a IThing pointer | |
virtual const ISELNode * | getNext () const =0 |
virtual ISELNode * | getNext ()=0 |
virtual const ISELLink * | getLink (quint32 side) const =0 |
virtual ISELLink * | getLink (quint32 side)=0 |
virtual quint32 | getNumLinks () const =0 |
virtual bool | getMark () const =0 |
Returns true is the mark flag is on. See setMark(). | |
virtual void | setMark (bool b)=0 |
Sets the mark flag is to on, if parameter b is true. See getMark(). | |
virtual DVect | getPosition (bool cur) const =0 |
virtual void | setPosition (bool cur, const DVect &newPos)=0 |
virtual DVect | getGeoPos () const =0 |
Returns current position if the large-strain flag is on. Otherwise returns the reference position. See getPos(). | |
virtual DVect | getVel (bool local_sys, bool tran_comp) const =0 |
virtual void | setVel2 (double val, quint32 dof_comp)=0 |
Sets the one of the components of the node velocity, local-system coordinates. Valid values for parameter dof_comp are in the range 0 to 5. | |
virtual void | setVelGlb2 (double val, quint32 comp)=0 |
Sets the one of the components of the node velocity, global-system coordinates. Valid values for parameter dof_comp are in the range 0 to 5. | |
virtual DVect | getAcc (bool local_sys, bool tran_comp) const =0 |
virtual void | setAcc2 (double val, quint32 dof_comp)=0 |
Sets the one of the components of the node acceleration, local-system coordinates. Valid values for parameter dof_comp are in the range 0 to 5. | |
virtual void | setAccGlb2 (double val, quint32 comp)=0 |
Sets the one of the components of the node acceleration, global-system coordinates. Valid values for parameter dof_comp are in the range 0 to 5. | |
virtual DVect | getDisp (bool local_sys, bool tran_comp) const =0 |
virtual void | setDisp2 (double val, quint32 dof_comp)=0 |
Sets one of the components of the the node accumulated displacement, global-system coordinates. Valid values for parameter dof_comp are in the range 0 to 5. | |
virtual DVect | getFOB (bool local_sys, bool tran_comp) const =0 |
virtual bool | getApForValid (bool bForce) const =0 |
virtual bool | getApForSysGbl () const =0 |
virtual DVect | getFAP (bool bForce) const =0 |
virtual void | setFAP (bool bForce, const DVect &dvVal)=0 |
virtual void | setFAPRemove (bool bForce)=0 |
virtual void | setFAPSys (bool bGlobal)=0 |
virtual DVect | getFAPGlobal (bool bForce) const =0 |
virtual bool | getLocalSysFixed () const =0 |
Return true to indicate that the local system fixity flag is on, see setFixFreeLocalSys() | |
virtual void | setFixFreeLocalSys (bool b)=0 |
If parameter b is true, sets the local system fixity to on, see getFixFreeLocalSys() | |
virtual void | setFixFree2 (quint32 dof, bool b)=0 |
virtual void | setLocalSys (const DVect3 &n1, const DVect3 &n2, const DVect3 &n3, bool make_invalid=true)=0 |
virtual double | getLocalDampFac () const =0 |
Returns the local damping factor, see setLocalDampFac(). | |
virtual void | setLocalDampFac (double val)=0 |
Sets the local damping factor, see getLocalDampFac(). | |
virtual bool | getSlaved2 (quint32 dof) const =0 |
Returns true if the node is slaved. Valid values for parameter dof are in the 0 to 5 range. | |
virtual double | getGsum2 (quint32 dof) const =0 |
Returns the node stiffness sum. Valid values for parameter dof are in the 0 to 5 range. | |
virtual Axes | getLocalSys () const =0 |
Returns the local system axis. | |
virtual bool | getSurfaceSysValid (uint index) const =0 |
Return true is surface coordinate system is valid. | |
virtual Axes | getSurfaceSys (uint index) const =0 |
Returns the axis for the surface coordinate system, see setSurfSys() | |
virtual void | setSurfSys (uint index, const Axes3D &axes)=0 |
Sets the the surface coordinate system, see getSurfaceSys() | |
virtual IVect | getFix (bool tran_comp) const =0 |
virtual DVect | getMass (bool tran_comp) const =0 |
virtual DVect | getAddedMass (bool tran_comp) const =0 |
virtual void | setAddedMass (const double &newmass, uint index)=0 |
virtual double | getDTemp (bool local=false) const =0 |
virtual void | setDTemp (const double &t)=0 |
Sets the local value of temperature increment in the node. | |
virtual bool | getInUse () const =0 |
Returns TRUE if any structural element is connected to this node. | |
virtual CLinkType< ISEL > | getStartLink () const =0 |
Returns the start link of the first SEL connected to this node. | |
virtual double | getStressResultant (uint index, quint32 component)=0 |
virtual double | getLocalRatio () const =0 |
virtual double | getRatioTarget () const =0 |
virtual void | setRatioTarget (double d)=0 |
virtual double | getConvergence () const =0 |
virtual double | getDynamicCriticalTimestep () const =0 |
Static Public Attributes | |
static const int | maxSides_ = 16 |
static const TType | type_ = 0x4c815bfb |
The type identification number for this class, for use in convert_cast() and convert_getcast(). | |
Interface to provide access to structural element nodes.
Each node is associated with six degrees of freedom, comprised of three translational components and three rotational components. Each node has its own orthogonal coordinate system. The node-local system provides the directions in which the equations of motion for the node are solved, and also defines the direction in which the node can be attached to a target entity via a link.
|
pure virtual |
Returns the generalized acceleration expressed in local-system coordinates if parameter local_sys is true.
If parameter tran_comp is true, returns the translational components, otherwise the rotational components.
See setVel()
|
pure virtual |
Returns the added mass in node-local sytem.
If parameter tran_comp is true, returns the translational components, otherwise the rotational components.
|
pure virtual |
Return the coordinate system in which generalized forces are expressed.
True indicates global coordinate system, and false local coordinate system.
|
pure virtual |
Returns true if applied forces are valid.
If parameter bForce is true, the function tests the translational components, otherwise the rotational components.
|
pure virtual |
Returns the generalized accumulated displacement expressed in local-system coordinates if parameter local_sys is true.
If parameter tran_comp is true, returns the translational components, otherwise the rotational components.
See setDisp()
|
pure virtual |
Returns the temperature increment seen by this node.
If local is true, returns only the value set in the node, not any value returned by links. If local is false, then returns the sum of the value set in the node and that returned by links.
|
pure virtual |
Returns the generalized applied force. Use in conjunction with getApForSysGbl(). See setFAP().
If parameter bForce is true, returns the translational components, otherwise the rotational components.
|
pure virtual |
Returns the applied force in the global coordinate system for plotting purposes only.
If parameter bForce is true, returns the translational components, otherwise the rotational components.
|
pure virtual |
The components of the return vector will be set to 1 if the specific degree of freedom component is fixed.
If parameter tran_comp is true, returns the translational components, otherwise the rotational components.
|
pure virtual |
Returns the generalized out-of-balance force expressed in local-system coordinates if parameter local_sys is true.
If parameter tran_comp is true, returns the translational components, otherwise the rotational components.
|
pure virtual |
Returns the const pointer to the link associated this this node, or 0 if no link is associated this the node.
Valid values for iSide are 0 and 1 for side 1 and side 2 respectively.
|
pure virtual |
Returns the pointer to the link associated this this node, or 0 if no link is associated this the node.
Valid values for iSide are 0 and 1 for side 1 and side 2 respectively.
|
pure virtual |
Returns the mass in node-local sytem.
If parameter tran_comp is true, returns the translational components, otherwise the rotational components.
|
pure virtual |
Returns a const pointer to the next ISELNode object in the global list of structural elements links, or 0 for the last element of the list. See ISELNodeList::getFirstSELNd()
|
pure virtual |
Returns a pointer to the next ISELNode object in the global list of structural elements links, or 0 for the last element of the list. See ISELNodeList::getFirstSELNd()
|
pure virtual |
Returns the node position, see setPos().
If parameter cur is set to true, returns the current position.
If parameter cur is set to false, returns the reference position.
The current position is updated after each time step. The reference position is the configuration for which the stiffness matrices have been formed and does not change during a small-strain analysis. During a large strain analysis, the reference point is set equal to the current position during each large-strain update.
|
pure virtual |
Returns the generalized velocity expressed in local-system coordinates if parameter local_sys is true.
If parameter tran_comp is true, returns the translational components, otherwise the rotational components.
See setVel()
|
pure virtual |
Set the added mass in node-local system.
If parameter tran_comp is true, returns the translational components, otherwise the rotational components.
|
pure virtual |
Sets the generalized applied force. Use in conjunction with getApForSysGbl(). See getFAP().
If parameter bForce is true, sets the translational components, otherwise the rotational components.
|
pure virtual |
Removes the applied force or moment condition on the node.
If bForce is true removes the applied force condition, otherwise removes the applied moment.
|
pure virtual |
Sets the coordinate system in which generalized forces are expressed.
If parameter bGlobal is true, then the global coordinate system will be used.
|
pure virtual |
Sets a specific degree of freedom component to fixed, if parameter b is true.
Valid values for parameter dof are in the 0 to 5 range.
|
pure virtual |
Sets the local system coordinates
Parameter make_invalid is true, will set the node to "invalid".
|
pure virtual |
Sets the node position to newPos, see getPos().
If parameter cur is set to true, returns the current position.
If parameter cur is set to false, returns the reference position.