|
tfel
|
data structure containing the state of a mechanical structure. More...
#include </home/runner/work/tfel/tfel/mtest/include/MTest/StructureCurrentState.hxx>
Public Types | |
| using | Hypothesis = tfel::material::ModellingHypothesis::Hypothesis |
| a simple alias | |
| using | Model = Behaviour |
| a simple alias | |
Public Member Functions | |
| StructureCurrentState () | |
| default constructor | |
| StructureCurrentState (StructureCurrentState &&) noexcept | |
| move constructor | |
| StructureCurrentState (const StructureCurrentState &) | |
| copy constructor | |
| StructureCurrentState & | operator= (StructureCurrentState &&) noexcept |
| move assignment operator | |
| StructureCurrentState & | operator= (const StructureCurrentState &) |
| assignment operator | |
| StructureCurrentState | makeDeepCopy () const |
| make a deep copy of the object Contrary to standard copy which shares pointers to the current states of each models with the original object, those states are duplicated in a deep copy. | |
| void | setBehaviour (const std::shared_ptr< Behaviour > &) |
| void | setModellingHypothesis (const Hypothesis) |
| BehaviourWorkSpace & | getBehaviourWorkSpace () const |
| const Behaviour & | getBehaviour () const |
| CurrentState & | getModelCurrentState (const Model &) |
| const CurrentState & | getModelCurrentState (const Model &) const |
| BehaviourWorkSpace & | getModelWorkSpace (const Model &) |
| void | update () |
| update the state at each integration points and the state of auxiliary models | |
| void | revert () |
| rever the state at each integration points and the state of auxiliary models. | |
| ~StructureCurrentState () | |
| destructor | |
Public Attributes | |
| tfel::math::vector< CurrentState > | istates |
| current state of each integration points | |
data structure containing the state of a mechanical structure.
| mtest::StructureCurrentState::StructureCurrentState | ( | ) |
default constructor
| [in] | p | behaviour |
| [in] | h | modelling hypotesis |
| const Behaviour & mtest::StructureCurrentState::getBehaviour | ( | ) | const |
| BehaviourWorkSpace & mtest::StructureCurrentState::getBehaviourWorkSpace | ( | ) | const |
| CurrentState & mtest::StructureCurrentState::getModelCurrentState | ( | const Model & | ) |
| [in] | m | model |
| const CurrentState & mtest::StructureCurrentState::getModelCurrentState | ( | const Model & | ) | const |
| [in] | m | model |
| BehaviourWorkSpace & mtest::StructureCurrentState::getModelWorkSpace | ( | const Model & | ) |
| [in] | m | model |
\set the behaviour associated to the structure
| [in] | p | : pointer to the behaviour |
| void mtest::StructureCurrentState::setModellingHypothesis | ( | const Hypothesis | ) |
\set the behaviour associated to the structure
| [in] | mh | : modelling hypothesis |