micromechanical (C++)
|
Map of state variables for all steps for micromechanical models. More...
#include <statevariables.hpp>
Public Types | |
typedef T(StateVariable< T >::* | ScalarMethodType) () const |
scalar state variable, I1/I2/I3/J2/J3/p/q/eta/epsv/epsa | |
typedef T(StateVariable< T >::* | IntegrationScalarMethodType) (int) const |
scalar state variable of an integration point, fn/fs/ft/fr/feta/un/us/ut/ur/upn/ups/upt/upr | |
Public Member Functions | |
StateVariables (std::vector< StateVariable< T > > svs={}) | |
Construct from a vector of state variables. | |
int | size () const |
Get the number of state variables. | |
StateVariable< T > & | operator[] (const int &idx) |
Access a state variable. | |
StateVariable< T > | operator[] (const int &idx) const |
Access a state variable. | |
StateVariable< T > | at (const int &idx) const |
Access a state variable. | |
Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > | get (const std::string &name, int idx=-1) const |
Get a state variable, | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | e () const |
void ratio | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | ec () const |
critical void ratio | |
Eigen::Matrix< T, Eigen::Dynamic, 6 > | sig () const |
stress vector | |
Eigen::Matrix< T, Eigen::Dynamic, 6 > | eps () const |
strain vector | |
Eigen::Matrix< T, Eigen::Dynamic, 6 > | epsp () const |
plastic strain vector | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | I1 () const |
Get the first invariant of the stress tensor. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | I2 () const |
Get the second invariant of the stress tensor. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | I3 () const |
Get the third invariant of the stress tensor. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | J2 () const |
Get the second invariant of the deviatoric stress tensor. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | J3 () const |
Get the third invariant of the deviatoric stress tensor. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | p () const |
Get the mean stress. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | q () const |
Get the deviatoric stress. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | eta () const |
Get the stress ratio. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | epsv () const |
Get the volumetric strain. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | epsa () const |
Get the axial strain. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | eeq () const |
Get the equivalent strain. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | epspv () const |
Get the plastic volumetric strain. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | epspa () const |
Get the plastic axial strain. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | peeq () const |
Get the equivalent plastic strain. | |
Eigen::Matrix< T, Eigen::Dynamic, 3 > | force (int idx) const |
force | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | fn (int idx) const |
Get the normal force. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | fs (int idx) const |
Get the shear force at the first direction. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | ft (int idx) const |
Get the shear force at the second direction. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | fr (int idx) const |
Get the shear force. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | feta (int idx) const |
Get the shear force ratio. | |
Eigen::Matrix< T, Eigen::Dynamic, 3 > | disp (int idx) const |
displacement | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | un (int idx) const |
Get the normal displacement. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | us (int idx) const |
Get the shear displacement at the first direction. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | ut (int idx) const |
Get the shear displacement at the second direction. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | ur (int idx) const |
Get the shear displacement. | |
Eigen::Matrix< T, Eigen::Dynamic, 3 > | dispp (int idx) const |
plastic displacement | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | upn (int idx) const |
Get the plastic normal displacement. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | ups (int idx) const |
Get the plastic shear displacement at the first direction. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | upt (int idx) const |
Get the plastic shear displacement at the second direction. | |
Eigen::Matrix< T, Eigen::Dynamic, 1 > | upr (int idx) const |
Get the plastic shear displacement. | |
Public Attributes | |
std::map< std::string, ScalarMethodType > | scalar_state_variables |
map of scalar state variables | |
std::map< std::string, IntegrationScalarMethodType > | integration_scalar_state_variables |
map of scalar state variables of an integration point | |
std::vector< StateVariable< T > > | svs = {} |
Map of state variables for all steps for micromechanical models.
typedef T(StateVariable< T >::* micromechanical::StateVariables< T >::IntegrationScalarMethodType) (int) const |
scalar state variable of an integration point, fn/fs/ft/fr/feta/un/us/ut/ur/upn/ups/upt/upr
typedef T(StateVariable< T >::* micromechanical::StateVariables< T >::ScalarMethodType) () const |
scalar state variable, I1/I2/I3/J2/J3/p/q/eta/epsv/epsa
|
inlineexplicit |
|
inline |
Access a state variable.
idx | Index of the state variable |
Referenced by get().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get the equivalent strain.
References get().
|
inline |
|
inline |
Get the axial strain.
References get().
|
inline |
|
inline |
Get the plastic axial strain.
References get().
|
inline |
Get the plastic volumetric strain.
References get().
|
inline |
Get the volumetric strain.
References get().
|
inline |
Get the stress ratio.
References get().
|
inline |
Get the shear force ratio.
idx | Index of the integration point |
References get().
|
inline |
Get the normal force.
idx | Index of the integration point |
References get().
|
inline |
|
inline |
Get the shear force.
idx | Index of the integration point |
References get().
|
inline |
Get the shear force at the first direction.
idx | Index of the integration point |
References get().
|
inline |
Get the shear force at the second direction.
idx | Index of the integration point |
References get().
|
inline |
Get a state variable,
n
, 1): e
/ec
/I1
/I2
/I3
/J2
/J3
/p
/q
/eta
/epsv
/epsa
/eeq
/epspv
/epspa
/ peeq
n
, 6): sig
/eps
/epsp
n
, 1): fn
/fs
/ft
/fr
/feta
/un
/us
/ut
/ur
/upn
/ups
/upt
/upr
, idx
must be providedn
, 3): force
/disp
/dispp
, idx
must be provided name | Name of the state variable |
idx | Index of the integration point |
References at(), integration_scalar_state_variables, scalar_state_variables, and size().
Referenced by disp(), dispp(), e(), ec(), eeq(), eps(), epsa(), epsp(), epspa(), epspv(), epsv(), eta(), feta(), fn(), force(), fr(), fs(), ft(), I1(), I2(), I3(), J2(), J3(), p(), peeq(), q(), sig(), un(), upn(), upr(), ups(), upt(), ur(), us(), and ut().
|
inline |
Get the first invariant of the stress tensor.
References get().
|
inline |
Get the second invariant of the stress tensor.
References get().
|
inline |
Get the third invariant of the stress tensor.
References get().
|
inline |
Get the second invariant of the deviatoric stress tensor.
References get().
|
inline |
Get the third invariant of the deviatoric stress tensor.
References get().
|
inline |
Access a state variable.
idx | Index of the state variable |
|
inline |
Access a state variable.
idx | Index of the state variable |
|
inline |
|
inline |
Get the equivalent plastic strain.
References get().
|
inline |
Get the deviatoric stress.
References get().
|
inline |
|
inline |
Get the number of state variables.
Referenced by get().
|
inline |
Get the normal displacement.
idx | Index of the integration point |
References get().
|
inline |
Get the plastic normal displacement.
idx | Index of the integration point |
References get().
|
inline |
Get the plastic shear displacement.
idx | Index of the integration point |
References get().
|
inline |
Get the plastic shear displacement at the first direction.
idx | Index of the integration point |
References get().
|
inline |
Get the plastic shear displacement at the second direction.
idx | Index of the integration point |
References get().
|
inline |
Get the shear displacement.
idx | Index of the integration point |
References get().
|
inline |
Get the shear displacement at the first direction.
idx | Index of the integration point |
References get().
|
inline |
Get the shear displacement at the second direction.
idx | Index of the integration point |
References get().
std::map<std::string, IntegrationScalarMethodType> micromechanical::StateVariables< T >::integration_scalar_state_variables |
map of scalar state variables of an integration point
Referenced by get().
std::map<std::string, ScalarMethodType> micromechanical::StateVariables< T >::scalar_state_variables |
map of scalar state variables
Referenced by get().
std::vector<StateVariable<T> > micromechanical::StateVariables< T >::svs = {} |
Referenced by StateVariables().