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

This is the interface for FaceThing, a class that holds extra data not in the fortran arrays. This will be stored in a container and the ID will be stored in offset $KFCPP in the fortran block linked list. This inherits from Thing so we can use groups and extra variables. More...

#include <ifacething.h>

Public Member Functions

virtual const itasca::IThinggetIThing () const =0
 Returns a const IThing pointer.
 
virtual itasca::IThinggetIThing ()=0
 Returns a IThing pointer.
 
virtual FInt getFortranOffset () const =0
 Return block fortran offset. Necessary for gui queries.
 
virtual quint64 getFaceID () const =0
 Return Thing ID.
 
virtual IBlockThinggetBlockThing () const =0
 Return host blockthing.
 
virtual IZoneThinggetZoneThing () const =0
 Return host zonething. Returns NULL if unzoned (rigid).
 
virtual quint64 getBlockThingID () const =0
 Return host blockthing id.
 
virtual quint64 getZoneThingID () const =0
 Return host zonething id. Returns 0 if unzoned (rigid).
 
virtual FArray< const IVertexThing * > getVertices () const =0
 Get a list of vertexthings that make up this face.
 
virtual FArray< quint64 > getVertexIDs () const =0
 Get list of vertexids.
 
virtual FArray< DVectgetVertexLocations () const =0
 Get a list of vertex locations that make up this face.
 
virtual DVect getVertexLocation (quint32 i) const =0
 get location for specified vertex (0 based)
 
virtual quint32 getJointsetID () const =0
 Return face joint set id number (this is joint id resulting from jset command)
 
virtual quint32 getFractureID () const =0
 Return face fracture id number (this is id of a single fracture)
 
virtual DVect3 getNormal () const =0
 Return normal vector to face.
 
virtual bool getHidden () const =0
 Returns true if face or host zone or host block is hidden.
 
virtual double getArea () const =0
 Return the area of the face.
 
virtual FInt getFEFaceOffset () const =0
 Return offset of corresponding Finite Element face. Required for ranges.
 
virtual bool isFaceFace (const IBlockThing *bt) const =0
 returns true if there is no f-f contact between the face and input block
 
virtual bool isZoneFace () const =0
 
virtual bool isValid () const =0
 Return true if FaceThing and Fortran face are in sync.
 
virtual IFlowPlaneThinggetFlowPlane () const =0
 Return flow plane associated with the face. Return nullptr if none.
 
virtual quint32 getNumGP () const =0
 Return number of gridpoints.
 
virtual IVertexThinggetGP (quint32 n) const =0
 Return gridpoint n (0 < n < 2)
 
virtual bool isExcavated () const =0
 Return true if face is on an excavated block.
 
virtual bool isRemoved () const =0
 Return true if face is on a removed block.
 
virtual bool isPlanar () const =0
 Return true if face is planar.
 
virtual double getMinEdgeLength () const =0
 Return the minumum edge length of the face.
 
virtual IBlockThinggetFaceBlockThing () const =0
 Return host fblockthing (nullptr if not a faceblock)
 
virtual double getFactorOfSafety () const =0
 Return the safety factor of the face.
 
virtual void setFactorOfSafety (double d)=0
 Set the safety factor of the face.
 
virtual bool getBit () const =0
 Returns the boolean bit of the face.
 
virtual void setBit (bool b) const =0
 Sets the boolean bit of the face.
 

Static Public Attributes

static const FInt cpp = 12
 offset for FaceThing ID
 
static const TType type_ = 0x521615ab
 type used in IThing typing system
 

Detailed Description

This is the interface for FaceThing, a class that holds extra data not in the fortran arrays. This will be stored in a container and the ID will be stored in offset $KFCPP in the fortran block linked list. This inherits from Thing so we can use groups and extra variables.

Member Function Documentation

◆ isZoneFace()

virtual bool block::IFaceThing::isZoneFace ( ) const
pure virtual

returns true if this is a zone face. Returns false for an original block face note that this will return true even for rigid block faces that have been triangulated


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