Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
itet.h
Go to the documentation of this file.
1 //itet.h
2 #pragma once
3 
9 #include "models/src/igenerictet.h"
10 
11 class SymTensor;
12 
13 namespace zone {
14  class IZone;
15  class IGp;
16  using itasca::IThing;
17 
19 
26  class ITet : public models::IGenericTet {
27  public:
29  inline static const TType type_ = 0x4c815bf7;
31  virtual const IThing *getIThing() const=0;
33  virtual IThing *getIThing()=0;
34  virtual TType getType() const=0;
36  virtual const ITet *getNext() const=0;
38  virtual SymTensor getStressTensor() const=0;
40  virtual void setStressTensor(const SymTensor &s) =0; //set
42  virtual SymTensor getMaxwellStress(uint i) const = 0;
44  virtual void setMaxwellStress(const SymTensor &s, uint i) = 0;
47  virtual double getVolume() const=0;
48  };
49 } // namespace zone
50 // EoF
51 
virtual void setStressTensor(const SymTensor &s)=0
Sets (overwrites) the stress state of this tetra.
Generic base class for the tetra interface made available to the constitutive model system.
Definition: igenerictet.h:22
Base class for items that will be stored in containers.
Definition: ithing.h:31
virtual double getVolume() const =0
virtual TType getType() const =0
Returns the actual type of the fully derived class represented by this object.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition: itet.h:29
unsigned int TType
class type indicator
Definition: basedef.h:41
A symmetric 2nd order tensor.
Definition: symtensor.h:19
virtual const ITet * getNext() const =0
Returns the next tetra in the overlay list. See IZone::getOverlay1() and IZone::getOverlay2().
virtual void setMaxwellStress(const SymTensor &s, uint i)=0
Sets (overwrites) the Maxwell stress state of this tetra.
virtual SymTensor getMaxwellStress(uint i) const =0
Returns the Maxwell stress state of this tetra.
virtual const IThing * getIThing() const =0
Returns the IThing interface for this class implementation, in this case will always return nullptr.
Interface to one of the tetrahedra used to implement mixed-discretization in a zone.
Definition: itet.h:26
virtual SymTensor getStressTensor() const =0
Returns the stress state of this tetra.