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

Public Types

enum  YieldState { NO, NOW, PAST }
 Possible yield states. More...
 

Public Member Functions

virtual TType getType () const =0
 Returns a constitutive model type.
 
virtual QString getName () const =0
 Returns the name of the model.
 
virtual QString getKeyword () const =0
 Returns the keyword used to.
 
virtual double getArea () const =0
 Returns the effective area over which CM acts, see setArea()
 
virtual void setArea (const double &)=0
 Sets the effective area over which CM acts, see getArea()
 
virtual double getK () const =0
 Returns the stiffness per unit area, see setK()
 
virtual void setK (const double &)=0
 Sets the stiffness per unit area, see getK()
 
virtual bool getGap () const =0
 Returns a flag that indicates if there are gaps when crossing over at F=0, see setGap()
 
virtual void setGap (bool)=0
 Sets a flag that indicates if there are gaps when crossing over at F=0, see getGap()
 
virtual double getYForce (bool tensile) const =0
 
virtual void setYForce (const double &force, bool tensile)=0
 
virtual double getDisp () const =0
 Returns the current displacement in CM.
 
virtual double getForce () const =0
 Returns the force in "spring".
 
virtual double getGapVal (quint32 s) const =0
 Returns the gap present on side s (0 or 1).
 
virtual YieldState getYieldState () const =0
 Returns the current yield state.
 
virtual bool getAllowedDOF (quint32 dof) const =0
 Returns FALSE if the degree-of-freedom dof (0-5) can not be used with this model.
 
virtual QStringList getProperties () const =0
 Returns a list of all property names this type of model supports.
 
virtual QVariant getProperty (quint32 index) const =0
 
virtual bool setProperty (quint32 index, const QVariant &var)=0
 

Member Enumeration Documentation

◆ YieldState

Possible yield states.

Enumerator
NO 

no yield (has never yielded)

NOW 

now yielding

PAST 

has yielded in the past

Member Function Documentation

◆ getProperty()

virtual QVariant sel::ISELLinkModel::getProperty ( quint32  index) const
pure virtual

Returns the value of the property at index index in the list returned from getProperties(). An invalid index (too large) will return a null QVariant.

◆ getYForce()

virtual double sel::ISELLinkModel::getYForce ( bool  tensile) const
pure virtual

Returns the tensile-yield force (positive value) if parameter tensile is true, or the compressive-yield force (positive value) if tensile is false. See setYForce()

◆ setProperty()

virtual bool sel::ISELLinkModel::setProperty ( quint32  index,
const QVariant &  var 
)
pure virtual

Sets the value of the property at index index int the list returned from getProperties(). If index is invalid (too large), or the variant var cannot be converted to the required type, then FALSE is returns. Returns TRUE on success.

◆ setYForce()

virtual void sel::ISELLinkModel::setYForce ( const double &  force,
bool  tensile 
)
pure virtual

Sets the tensile-yield force (positive value) if parameter tensile is true, or the compressive-yield force (positive value) if tensile is false. See getYForce()


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