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. 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_ = DVect(0.0)
 
CAxes axes_
 contact axis system
 
DAVect relativeAngularIncrement_ = DAVect(0.0)
 current relative angular displacement increment
 
DVect2 end1Curvature_ = DVect2(0.0)
 principal curvatures of end1 (min,max)
 
DVect2 end2Curvature_ = DVect2(0.0)
 principal curvatures of end2 (min,max)
 
double inertialMass_ = 0.0
 
double gap_ = 0.0
 current contact gap
 
double maxConvergence_ = 0.0
 maximum convergence of the pieces
 
double end1Volume_ = 0.0
 volume of end1
 
double end2Volume_ = 0.0
 volume of end2
 
std::array< double, 3 > end1Stress_ = {0,0,0}
 stress on end1
 
std::array< double, 3 > end2Stress_ = {0,0,0}
 stress on end2
 
bool canFail_ = true
 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_ = 0.0

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

◆ relativeTranslationalIncrement_

DVect cmodelsxd::ContactModelMechanicalState::relativeTranslationalIncrement_ = DVect(0.0)

current relative translational displacement increment


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