Itasca C++ Interface
Loading...
Searching...
No Matches
ijointthing.h
Go to the documentation of this file.
1#pragma once
2// ijointthing.h
3#include "iblockdef.h"
4#include "base/src/farray.h"
5
12namespace itasca
13{
14 class IThing;
15}
16
17namespace block
18{
19 class IBlockThing;
20 class IContactThing;
21 class ISubcontactThing;
22
24 {
25 public:
26
28 inline static const TType type_ = 0x528d00bc;
30 virtual const itasca::IThing * getIThing() const=0;
34 virtual FInt getFortranOffset() const = 0;
36 virtual quint64 getJointFaceID() const=0;
38 virtual DVect3 getVertexLocation(quint32 vNum) const=0;
40 virtual DVect3 getVertexDisplacement(quint32 vNum) const = 0;
42 virtual DVect3 getDeformedPosition(quint32 vNum, bool active, double factor) const = 0;
44 virtual const IContactThing * getContact() const=0;
46 virtual quint64 getContactID() const=0;
49 virtual void getSubcontacts(FArray< QPair<const ISubcontactThing *, double> > *subcontacts, quint32 vNum) const=0;
51 //virtual bool isOnBlock1() const=0;
53 //virtual bool isOnBlock2() const=0;
55 virtual bool isBad() const=0;
57 virtual bool isContactFace() const = 0;
58
59 virtual uint getSize() const = 0;
60 };
61
62} // end namespace block
63// EOF
An array class that attempts to minimize unnecessary heap access.
Definition farray.h:25
Definition icontactthing.h:31
Definition ijointthing.h:24
virtual DVect3 getVertexLocation(quint32 vNum) const =0
Return location of vertex vNum (0 - 2)
virtual quint64 getJointFaceID() const =0
Returns the Thing id of the joint face.
virtual const IContactThing * getContact() const =0
Return the contact associated with the face.
virtual bool isContactFace() const =0
Return true if face without subcontact.
static const TType type_
type used in IThing typing system
Definition ijointthing.h:28
virtual FInt getFortranOffset() const =0
Return joint face thing fortran offset.
virtual DVect3 getDeformedPosition(quint32 vNum, bool active, double factor) const =0
Return magnified displacement of vertex vNum (0 - 2)
virtual DVect3 getVertexDisplacement(quint32 vNum) const =0
Return displacement of vertex vNum (0 - 2)
virtual bool isBad() const =0
Return true if face is degenerate or corrupted.
virtual const itasca::IThing * getIThing() const =0
Returns a const IThing pointer.
virtual quint64 getContactID() const =0
Return the id of the contact associated with the face.
virtual itasca::IThing * getIThing()=0
Returns a IThing pointer.
virtual void getSubcontacts(FArray< QPair< const ISubcontactThing *, double > > *subcontacts, quint32 vNum) const =0
Base class for items that will be stored in containers.
Definition ithing.h:30
An array class that attempts to minimize unnecessary heap access.
uint32 TType
class type indicator
Definition basedef.h:46
int32 FInt
Interface to provide access to 3DEC modules, global data, list of 3DEC entities, etc.
Definition iblockdef.h:19
Fortran to C++ type declarations.
namespace Itasca
Definition basememory.cpp:14