Itasca C++ Interface
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
block::IContactThing Class Referenceabstract

Public Types

enum  ContactType {
  Null =0 , FaceFace , FaceEdge , FaceVertex ,
  EdgeEdge , EdgeVertex , VertexVertex , Joined
}
 enumeration of possible contact types
 
enum  StrainEnergyType { ESTotal =1 , ESTensile , ESCompressive , ESShear }
 enumeration of possible energy types
 

Public Member Functions

virtual const itasca::IThinggetIThing () const =0
 Returns a const IThing pointer.
 
virtual itasca::IThinggetIThing ()=0
 Returns a IThing pointer.
 
virtual quint64 getContactID () const =0
 Get ID of contact in C++ container (not Fortran offset)
 
virtual FInt getFortranOffset () const =0
 Return contact fortran offset. Necessary for gui queries.
 
virtual DVect3 getLocation () const =0
 Returns contact position.
 
virtual double getSpare1 () const =0
 Returns contents of contact first spare offset.
 
virtual quint64 getDFN_ID () const =0
 Returns ID of DFN used to create contact. 0 if DFN was not used.
 
virtual QString getDFN_name () const =0
 Returns name of DFN used to create contact. Empty string if DFN was not used.
 
virtual bool getHidden () const =0
 Returns true if contact or either host block is hidden.
 
virtual ContactType getContactType () const =0
 Return contact type.
 
virtual ContactType getOriginalContactType () const =0
 Return original contact type.
 
virtual const IBlockThinggetBlock1 () const =0
 Return block 1 of the contact.
 
virtual const IBlockThinggetBlock2 () const =0
 Return block 2 of the contact.
 
virtual quint64 getBlock1_ID () const =0
 Return the id of block 1 of the contact.
 
virtual quint64 getBlock2_ID () const =0
 Return the id of block 2 of the contact.
 
virtual FArray< const ISubcontactThing * > getSubcontacts () const =0
 Get array of SubcontactThings that make up this contact.
 
virtual int getJointSet () const =0
 Return joint set or dfn number used to create contact.
 
virtual quint64 getFractureID () const =0
 
virtual int getMaterial () const =0
 Return material number.
 
virtual int getConstitutive () const =0
 Return constitutive model number.
 
virtual DVect3 getNormal () const =0
 Return the normal vector.
 
virtual double getArea () const =0
 Return area.
 
virtual bool isExcavated () const =0
 Returns true if either host block is marked as excavated.
 
virtual bool isRemoved () const =0
 Returns true if either host block is removed.
 
virtual const IFlowPlaneThinggetFlowPlane () const =0
 Get Flow plane associated with this contact.
 
virtual QString getTypeString () const =0
 Return type of contact as a string.
 
virtual double getStrainEnergy (StrainEnergyType t) const =0
 Return strain energy for input type.
 
virtual double getFrictionEnergy () const =0
 Return the frictional energy.
 
virtual IBlockThinggetFaceBlock1 () const =0
 Return first fblockthing (nullptr if not a faceblock)
 
virtual IBlockThinggetFaceBlock2 () const =0
 Return second fblockthing (nullptr if not a faceblock)
 
virtual void triangulate ()=0
 Triangulate subcontacts for plotting.
 
virtual void triangulateJoined ()=0
 Triangulate subcontacts for plotting.
 
virtual void findContactFace ()=0
 Find contact face for plotting.
 
virtual bool hasSubcontacts () const =0
 Return true if this contact has subcontacts.
 

Static Public Attributes

static const FInt cpp = 38
 offset for ContactThing ID
 
static const TType type_ = 0x4f54d324
 type used in IThing typing system
 

Member Function Documentation

◆ getFractureID()

virtual quint64 block::IContactThing::getFractureID ( ) const
pure virtual

Return ID of DFN fracture associated with contact Return 0 if contact is not part of a dfn


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