Itasca C++ Interface
Loading...
Searching...
No Matches
itet.h
Go to the documentation of this file.
1//itet.h
2#pragma once
3
9#include "models/src/igenerictet.h"
10
11class SymTensor;
12
13namespace 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 const IThing *getIThing() const override =0;
33 IThing *getIThing() override =0;
34 TType getType() const override =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(uint32 i) const = 0;
44 virtual void setMaxwellStress(const SymTensor &s, uint32 i) = 0;
47 virtual double getVolume() const=0;
48 };
49} // namespace zone
50// EoF
51
A symmetric 2nd order tensor.
Definition symtensor.h:22
Base class for items that will be stored in containers.
Definition ithing.h:30
Generic base class for the tetra interface made available to the constitutive model system.
Definition igenerictet.h:22
Interface to one of the tetrahedra used to implement mixed-discretization in a zone.
Definition itet.h:26
virtual void setMaxwellStress(const SymTensor &s, uint32 i)=0
Sets (overwrites) the Maxwell stress state of this tetra.
virtual SymTensor getStressTensor() const =0
Returns the stress state of this tetra.
const IThing * getIThing() const override=0
Returns the IThing interface for this class implementation, in this case will always return nullptr.
virtual const ITet * getNext() const =0
Returns the next tetra in the overlay list. See IZone::getOverlay1() and IZone::getOverlay2().
virtual SymTensor getMaxwellStress(uint32 i) const =0
Returns the Maxwell stress state of this tetra.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition itet.h:29
virtual void setStressTensor(const SymTensor &s)=0
Sets (overwrites) the stress state of this tetra.
TType getType() const override=0
Returns the actual type of the fully derived class represented by this object.
IThing * getIThing() override=0
Returns the IThing interface for this class implementation, in this case will always return nullptr.
virtual double getVolume() const =0
uint32 TType
class type indicator
Definition basedef.h:46