Itasca C++ Interface
Loading...
Searching...
No Matches
ifelementthing.h
Go to the documentation of this file.
1#pragma once
2// ifelementthing.h
3
4#include "fortconv/fortdefc.h"
5
11namespace itasca
12{
13 class IThing;
14}
15
16namespace block
17{
18 class IBlockThing;
19
26 {
27 public:
28
30 virtual const itasca::IThing * getIThing() const=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
A symmetric 2nd order tensor.
Definition symtensor.h:22
This is the interface for BlockThing, a class that holds extra data not in the fortran arrays....
Definition iblockthing.h:32
This is the interface for FElementThing, a C++ wrapper for finite elements. This will be stored in a ...
Definition ifelementthing.h:26
virtual SymTensor getGaussStress(int i) const =0
Returns stress of gauss point i.
virtual int getGaussState(int i) const =0
Returns state of gauss point i.
virtual DVect getGaussPos(int i) const =0
Returns position of gauss point i.
virtual itasca::IThing * getIThing()=0
Returns a IThing pointer.
virtual quint64 getBlockID() const =0
Returns id of associated block.
virtual const itasca::IThing * getIThing() const =0
Returns a const IThing pointer.
virtual const IBlockThing * getBlock() const =0
Returns pointer to associated block.
virtual int getNumGauss() const =0
Return the number of gauss points.
static const TType type_
type used in IThing typing system
Definition ifelementthing.h:34
virtual int getMaterialNumber() const =0
Returns the material number. Returns 0 if using host block material.
virtual FInt getFortranOffset() const =0
Return finite element fortran offset.
virtual int getModelNumber() const =0
Returns the constitutive model number. Returns 0 if using host block model.
Base class for items that will be stored in containers.
Definition ithing.h:30
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
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:154
namespace Itasca
Definition basememory.cpp:10