Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
ifelementthing.h
Go to the documentation of this file.
1 #pragma once
2 // ifelementthing.h
3 
4 #include "fortconv/fortdefc.h"
5 
11 namespace itasca
12 {
13  class IThing;
14 }
15 
16 namespace block
17 {
18  class IBlockThing;
19 
26  {
27  public:
28 
30  virtual const itasca::IThing * getIThing() const=0;
32  virtual itasca::IThing * getIThing()=0;
34  inline static const TType type_ = 0x52e81f5b;
36  virtual FInt getFortranOffset() const=0;
38  virtual quint64 getBlockID() const=0;
40  virtual const IBlockThing * getBlock() const=0;
42  virtual int getMaterialNumber() const=0;
44  virtual int getModelNumber() const=0;
46  virtual int getNumGauss() const = 0;
48  virtual SymTensor getGaussStress(int i) const=0;
50  virtual DVect getGaussPos(int i) const=0;
52  virtual int getGaussState(int i) const=0;
53 
54  };
55 
56 } // end namespace block
57 // EOF
virtual FInt getFortranOffset() const =0
Return finite element fortran offset.
virtual int getNumGauss() const =0
Return the number of gauss points.
virtual quint64 getBlockID() const =0
Returns id of associated block.
namespace Itasca
Definition: basememory.cpp:9
Int FInt
Interface to provide access to 3DEC modules, global data, list of 3DEC entities, etc.
Definition: iblockdef.h:19
Base class for items that will be stored in containers.
Definition: ithing.h:31
static const TType type_
type used in IThing typing system
Definition: ifelementthing.h:34
This is the interface for FElementThing, a C++ wrapper for finite elements. This will be stored in a ...
Definition: ifelementthing.h:25
This is the interface for BlockThing, a class that holds extra data not in the fortran arrays....
Definition: iblockthing.h:31
virtual SymTensor getGaussStress(int i) const =0
Returns stress of gauss point i.
unsigned int TType
class type indicator
Definition: basedef.h:41
A symmetric 2nd order tensor.
Definition: symtensor.h:19
virtual int getModelNumber() const =0
Returns the constitutive model number. Returns 0 if using host block model.
virtual DVect getGaussPos(int i) const =0
Returns position of gauss point i.
virtual const IBlockThing * getBlock() const =0
Returns pointer to associated block.
virtual int getGaussState(int i) const =0
Returns state of gauss point i.
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition: dim.h:145
virtual int getMaterialNumber() const =0
Returns the material number. Returns 0 if using host block material.
virtual const itasca::IThing * getIThing() const =0
Returns a const IThing pointer.