Itasca C++ Interface
Loading...
Searching...
No Matches
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. contactmodel. More...

#include <contactmodelmechanical.h>

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

Public Member Functions

 ContactModelMechanicalState ()
 Constructor.
 
 ~ContactModelMechanicalState () override
 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_
 
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_
 
double gap_
 current contact gap
 
bool canFail_
 failure should be discarded
 
- Public Attributes inherited from cmodelsxd::ContactModelState
quint32 activeState_ = 0
 Current activity state flag.
 
bool trackEnergy_ = false
 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. contactmodel.

Member Data Documentation

◆ inertialMass_

double cmodelsxd::ContactModelMechanicalState::inertialMass_

Effective inertial mass of the contact (required for viscous damping)

◆ relativeTranslationalIncrement_

DVect cmodelsxd::ContactModelMechanicalState::relativeTranslationalIncrement_

current relative translational displacement increment


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