MGIS
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::realgradients
 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::realthermodynamic_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::realinternal_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::realstored_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::realdissipated_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
for backward compatibililty, the user may allocate memory for the dissipated energies even if the behaviour don't compute the dissipated energy.

◆ 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
for backward compatibililty, the user may allocate memory for the stored energies even if the behaviour don't compute the stored energy.

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