Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | Static Public Attributes | List of all members
sel::ISELNode Class Referenceabstract

Interface to provide access to structural element nodes. More...

#include <iselnode.h>

Public Member Functions

virtual const IThinggetIThing () const =0
 returns a const IThing pointer
 
virtual IThinggetIThing ()=0
 returns a IThing pointer
 
virtual const ISELNodegetNext () const =0
 
virtual ISELNodegetNext ()=0
 
virtual const ISELLinkgetLink (quint32 side) const =0
 
virtual ISELLinkgetLink (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< ISELgetStartLink () 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().
 

Detailed Description

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.

Member Function Documentation

◆ getAcc()

virtual DVect sel::ISELNode::getAcc ( bool  local_sys,
bool  tran_comp 
) const
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()

◆ getAddedMass()

virtual DVect sel::ISELNode::getAddedMass ( bool  tran_comp) const
pure virtual

Returns the added mass in node-local sytem.
If parameter tran_comp is true, returns the translational components, otherwise the rotational components.

◆ getApForSysGbl()

virtual bool sel::ISELNode::getApForSysGbl ( ) const
pure virtual

Return the coordinate system in which generalized forces are expressed.
True indicates global coordinate system, and false local coordinate system.

◆ getApForValid()

virtual bool sel::ISELNode::getApForValid ( bool  bForce) const
pure virtual

Returns true if applied forces are valid.
If parameter bForce is true, the function tests the translational components, otherwise the rotational components.

◆ getDisp()

virtual DVect sel::ISELNode::getDisp ( bool  local_sys,
bool  tran_comp 
) const
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()

◆ getDTemp()

virtual double sel::ISELNode::getDTemp ( bool  local = false) const
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.

◆ getFAP()

virtual DVect sel::ISELNode::getFAP ( bool  bForce) const
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.

◆ getFAPGlobal()

virtual DVect sel::ISELNode::getFAPGlobal ( bool  bForce) const
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.

◆ getFix()

virtual IVect sel::ISELNode::getFix ( bool  tran_comp) const
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.

◆ getFOB()

virtual DVect sel::ISELNode::getFOB ( bool  local_sys,
bool  tran_comp 
) const
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.

◆ getLink() [1/2]

virtual const ISELLink* sel::ISELNode::getLink ( quint32  side) const
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.

◆ getLink() [2/2]

virtual ISELLink* sel::ISELNode::getLink ( quint32  side)
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.

◆ getMass()

virtual DVect sel::ISELNode::getMass ( bool  tran_comp) const
pure virtual

Returns the mass in node-local sytem.
If parameter tran_comp is true, returns the translational components, otherwise the rotational components.

◆ getNext() [1/2]

virtual const ISELNode* sel::ISELNode::getNext ( ) const
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()

◆ getNext() [2/2]

virtual ISELNode* sel::ISELNode::getNext ( )
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()

◆ getPosition()

virtual DVect sel::ISELNode::getPosition ( bool  cur) const
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.

◆ getVel()

virtual DVect sel::ISELNode::getVel ( bool  local_sys,
bool  tran_comp 
) const
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()

◆ setAddedMass()

virtual void sel::ISELNode::setAddedMass ( const double &  newmass,
uint  index 
)
pure virtual

Set the added mass in node-local system.
If parameter tran_comp is true, returns the translational components, otherwise the rotational components.

◆ setFAP()

virtual void sel::ISELNode::setFAP ( bool  bForce,
const DVect dvVal 
)
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.

◆ setFAPRemove()

virtual void sel::ISELNode::setFAPRemove ( bool  bForce)
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.

◆ setFAPSys()

virtual void sel::ISELNode::setFAPSys ( bool  bGlobal)
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.

◆ setFixFree2()

virtual void sel::ISELNode::setFixFree2 ( quint32  dof,
bool  b 
)
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.

◆ setLocalSys()

virtual void sel::ISELNode::setLocalSys ( const DVect3 &  n1,
const DVect3 &  n2,
const DVect3 &  n3,
bool  make_invalid = true 
)
pure virtual

Sets the local system coordinates
Parameter make_invalid is true, will set the node to "invalid".

◆ setPosition()

virtual void sel::ISELNode::setPosition ( bool  cur,
const DVect newPos 
)
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.


The documentation for this class was generated from the following file: