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

The ContactModelMechnicalState class holds necessary information to communicate back and forth between the code (e.g., PFC) and the contact model. It is derived from ContactModelState, and adds necessary information for mechanical contact models. More...

#include <contactmodelmechanical.h>

Inheritance diagram for cmodelsxd::ContactModelMechanicalState:
cmodelsxd::ContactModelState

Public Member Functions

 ContactModelMechanicalState ()
 Constructor.
 
virtual ~ContactModelMechanicalState ()
 Destructor.
 
virtual const IContactMechanicalgetMechanicalContact () const =0
 Return a const pointer to the IContactMechanical interface.
 
virtual const IContactgetContact () const =0
 Return a const pointer to the IContact interface.
 
- Public Member Functions inherited from cmodelsxd::ContactModelState
 ContactModelState ()
 Constructor.
 
virtual ~ContactModelState ()
 Destructor.
 
virtual const IProgramgetProgram () const =0
 Return a const pointer to the IPrgram interface.
 
bool setActive (bool b=true)
 Set the activity state of the contact.
 
bool setCouldBeActive (bool b=true)
 Set the activity state of the contact.
 
bool setActivated (bool b=true)
 Set the activity state of the contact.
 
bool isActive () const
 Returns true if the contact state is active.
 
bool isInactive () const
 Returns true if the contact state is inactive.
 
bool activated () const
 Returns true if the contact state is activated.
 
bool couldBeActive () const
 Returns true if the contact could be activate in subsequent steps.
 

Public Attributes

DVect relativeTranslationalIncrement_
 current relative translational displacement increment
 
DAVect relativeAngularIncrement_
 current relative angular displacement increment
 
DVect2 end1Curvature_
 principal curvatures of end1 (min,max)
 
DVect2 end2Curvature_
 principal curvatures of end2 (min,max)
 
double inertialMass_
 Effective inertial mass of the contact (required for viscous damping)
 
double gap_
 current contact gap
 
bool canFail_
 failure should be discarded
 
- Public Attributes inherited from cmodelsxd::ContactModelState
quint32 activeState_
 Current activity state flag.
 
bool trackEnergy_
 indicate whether energy tracking is activated
 

Detailed Description

The ContactModelMechnicalState class holds necessary information to communicate back and forth between the code (e.g., PFC) and the contact model. It is derived from ContactModelState, and adds necessary information for mechanical contact models.


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