MGIS 3.1.0
Loading...
Searching...
No Matches
mgis::behaviour::MaterialStateManagerInitializer Struct Reference

a structure in charge of holding information on how a material state manager shall be initialized. It may contain pointers to externally allocated data, that won't be handled by the final state manager. If a pointer is not initialized, the material state manager will allocate and handle memory internally. More...

#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/Behaviour/MaterialStateManager.hxx>

Public Attributes

std::span< mgis::real > gradients
 view to an externally allocated memory used to store the gradients. If empty, the material state manager will initialize the required memory internally.
std::span< mgis::real > thermodynamic_forces
 view to an externally allocated memory used to store the thermodynamic forces. If empty, the material state manager will initialize the required memory internally.
std::span< mgis::real > internal_state_variables
 view to an externally allocated memory used to store the internal state variables. If empty, the material state manager will initialize the required memory internally.
std::span< mgis::real > stored_energies
 view to an externally allocated memory used to store the stored energies. If empty, the material state manager will initialize the required memory internally, if the behaviour computes the stored energy.
std::span< mgis::real > dissipated_energies
 view to an externally allocated memory used to store the dissipated energies. If empty, the material state manager will initialize the required memory internally, if the behaviour computes the dissipated energy.

Detailed Description

a structure in charge of holding information on how a material state manager shall be initialized. It may contain pointers to externally allocated data, that won't be handled by the final state manager. If a pointer is not initialized, the material state manager will allocate and handle memory internally.

Member Data Documentation

◆ dissipated_energies

std::span<mgis::real> mgis::behaviour::MaterialStateManagerInitializer::dissipated_energies

view to an externally allocated memory used to store the dissipated energies. If empty, the material state manager will initialize the required memory internally, if the behaviour computes the dissipated energy.

Note
the memory must not be provided if the behaviour does not compute the dissipated energy: the constructor of the material state manager reports an error.

◆ stored_energies

std::span<mgis::real> mgis::behaviour::MaterialStateManagerInitializer::stored_energies

view to an externally allocated memory used to store the stored energies. If empty, the material state manager will initialize the required memory internally, if the behaviour computes the stored energy.

Note
the memory must not be provided if the behaviour does not compute the stored energy: the constructor of the material state manager reports an error.

The documentation for this struct was generated from the following file: