Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
state.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "jmodelbase.h"
4
9
10
namespace
jmodels
11
{
24
struct
State
25
{
26
public
:
27
static
const
uint32 max_working_ = 10;
28
static
const
uint32 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;
40
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();
47
uint32
state_
;
48
double
area_
;
49
double
normal_force_
;
50
DVect3
shear_force_
;
51
double
normal_disp_
;
52
DVect3
shear_disp_
;
53
double
normal_disp_inc_
;
54
DVect3
shear_disp_inc_
;
55
double
normal_force_inc_
;
56
DVect3
shear_force_inc_
;
59
double
dnop_
;
60
double
working_
[max_working_];
61
int32
iworking_
[max_iworking_];
62
};
63
}
// namespace jmodels
64
65
// EoF
jmodels
The Joint Constitutive Model interface library.
Definition
jointmodel.cpp:6
jmodels::State::shear_force_inc_
DVect3 shear_force_inc_
Shear force increment (output only).
Definition
state.h:56
jmodels::State::getTimeStep
virtual double getTimeStep() const =0
The current time step.
jmodels::State::iworking_
int32 iworking_[max_iworking_]
This is a working area for values that must be stored between run() calls.
Definition
state.h:61
jmodels::State::normal_disp_
double normal_disp_
Normal displacement.
Definition
state.h:51
jmodels::State::isCreep
virtual bool isCreep() const =0
true if creep is configured.
jmodels::State::getSlopeFromX
virtual double getSlopeFromX(void *index, const double &x) const =0
The index pointer should be previously obtained from a getTableIndexFromID() call.
jmodels::State::getYFromX
virtual double getYFromX(void *index, const double &x) const =0
The index pointer should be previously obtained from a getTableIndexFromID() call.
jmodels::State::isThermal
virtual bool isThermal() const =0
true if thermal is configured.
jmodels::State::isFluid
virtual bool isFluid() const =0
true if fluid/flow is configured.
jmodels::State::state_
uint32 state_
Contact state mask.
Definition
state.h:47
jmodels::State::dnop_
double dnop_
Definition
state.h:59
jmodels::State::shear_disp_inc_
DVect3 shear_disp_inc_
Shear displacement increment.
Definition
state.h:54
jmodels::State::working_
double working_[max_working_]
This is a working area for values that must be stored between run() calls.
Definition
state.h:60
jmodels::State::trackEnergy
virtual bool trackEnergy() const =0
true if energy tracking is on.
jmodels::State::shear_force_
DVect3 shear_force_
Contact shear force.
Definition
state.h:50
jmodels::State::normal_force_
double normal_force_
Contact normal force.
Definition
state.h:49
jmodels::State::shear_disp_
DVect3 shear_disp_
Shear displacement.
Definition
state.h:52
jmodels::State::normal_disp_inc_
double normal_disp_inc_
Normal displacement increment.
Definition
state.h:53
jmodels::State::normal_force_inc_
double normal_force_inc_
Normal force increment (output only).
Definition
state.h:55
jmodels::State::getTableIndexFromID
virtual void * getTableIndexFromID(const string &s) const =0
jmodels::State::area_
double area_
Contact area.
Definition
state.h:48
common
jmodels
src
state.h
Generated by
1.18.0