Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
state.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "jmodelbase.h"
4 
10 namespace jmodels
11 {
24  struct State
25  {
26  public:
27  static const UInt max_working_ = 10;
28  static const UInt max_iworking_ = 2;
29 
30  virtual Double getTimeStep() const=0;
31  virtual bool isThermal() const = 0;
32  virtual bool isCreep() const = 0;
33  virtual bool isFluid() const = 0;
34  virtual bool trackEnergy() const = 0;
35  virtual void * getTableIndexFromID(const String &s) const=0;
42  virtual Double getYFromX(void *index,const Double &x) const=0;
44  virtual Double getSlopeFromX(void *index,const Double &x) const=0;
45 
46  JMODEL_EXPORT State();
50  DVect3 shear_force_;
52  DVect3 shear_disp_;
54  DVect3 shear_disp_inc_;
57  Double dnop_;
60  Double working_[max_working_];
61  Int iworking_[max_iworking_];
62  };
63 } // namespace jmodels
64 
65 // EoF
virtual Double getSlopeFromX(void *index, const Double &x) const =0
The index pointer should be previously obtained from a getTableIndexFromID() call.
The Joint Constitutive Model interface library.
Definition: jointmodel.cpp:5
DVect3 shear_disp_
Shear displacement.
Definition: state.h:52
Double normal_disp_inc_
Normal displacement increment.
Definition: state.h:53
virtual void * getTableIndexFromID(const String &s) const =0
Double normal_force_inc_
Normal force increment (output only).
Definition: state.h:55
Double dnop_
Definition: state.h:59
int Int
signed 32 bit
Definition: basedef.h:30
unsigned int UInt
unsigned 32 bit
Definition: basedef.h:31
virtual Double getTimeStep() const =0
The current time step.
DVect3 shear_disp_inc_
Shear displacement increment.
Definition: state.h:54
DVect3 shear_force_inc_
Shear force increment (output only).
Definition: state.h:56
DVect3 shear_force_
Contact shear force.
Definition: state.h:50
virtual bool trackEnergy() const =0
true if energy tracking is on.
virtual bool isCreep() const =0
true if creep is configured.
double Double
64 bit floating point
Definition: basedef.h:40
UInt state_
Contact state mask.
Definition: state.h:47
virtual bool isThermal() const =0
true if thermal is configured.
Int iworking_[max_iworking_]
This is a working area for values that must be stored between run() calls.
Definition: state.h:61
virtual Double getYFromX(void *index, const Double &x) const =0
The index pointer should be previously obtained from a getTableIndexFromID() call.
virtual bool isFluid() const =0
true if fluid/flow is configured.
Double working_[max_working_]
This is a working area for values that must be stored between run() calls.
Definition: state.h:60
The structure used to pass information to the joint constitutive model.
Definition: state.h:24
Double normal_disp_
Normal displacement.
Definition: state.h:51
Double area_
Contact area.
Definition: state.h:48
Double normal_force_
Contact normal force.
Definition: state.h:49