|
MGIS
|
#include <map>#include <span>#include <string>#include <vector>#include <variant>#include <optional>#include <string_view>#include "MGIS/Config.hxx"#include "MGIS/StorageMode.hxx"Classes | |
| struct | mgis::behaviour::MaterialStateManagerInitializer |
| 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... | |
| struct | mgis::behaviour::MaterialStateManager |
| structure in charge of handling the state of a material in an optimized way. Here, the "material" is defined by a behaviour and a number of integration points. More... | |
| struct | mgis::behaviour::MaterialStateManager::FieldHolder |
| a simple alias More... | |
Namespaces | |
| namespace | mgis |
the namespace mgis encloses all the MGIS project. | |
Functions | |
| MGIS_EXPORT void | mgis::behaviour::setMaterialProperty (MaterialStateManager &, const std::string_view &, const real, const MaterialStateManager::UpdatePolicy=MaterialStateManager::UPDATE) |
| set the given material property | |
| MGIS_EXPORT void | mgis::behaviour::setMaterialProperty (MaterialStateManager &, const std::string_view &, const std::span< mgis::real > &, const MaterialStateManager::StorageMode=MaterialStateManager::LOCAL_STORAGE, const MaterialStateManager::UpdatePolicy=MaterialStateManager::UPDATE) |
| set the given material property | |
| MGIS_EXPORT bool | mgis::behaviour::isMaterialPropertyDefined (const MaterialStateManager &, const std::string_view &) |
| MGIS_EXPORT bool | mgis::behaviour::isMaterialPropertyUniform (const MaterialStateManager &, const std::string_view &) |
| chek if the given material property is uniform | |
| MGIS_EXPORT void | mgis::behaviour::setMassDensity (MaterialStateManager &, const real, const MaterialStateManager::UpdatePolicy=MaterialStateManager::UPDATE) |
| set the mass density | |
| MGIS_EXPORT void | mgis::behaviour::setMassDensity (MaterialStateManager &, const std::span< mgis::real > &, const MaterialStateManager::StorageMode=MaterialStateManager::LOCAL_STORAGE, const MaterialStateManager::UpdatePolicy=MaterialStateManager::UPDATE) |
| set the mass density | |
| MGIS_EXPORT bool | mgis::behaviour::isMassDensityDefined (const MaterialStateManager &) |
| MGIS_EXPORT bool | mgis::behaviour::isMassDensityUniform (const MaterialStateManager &) |
| MGIS_EXPORT void | mgis::behaviour::setExternalStateVariable (MaterialStateManager &, const std::string_view &, const real, const MaterialStateManager::UpdatePolicy=MaterialStateManager::UPDATE) |
| set the given external state variable | |
| MGIS_EXPORT void | mgis::behaviour::setExternalStateVariable (MaterialStateManager &, const std::string_view &, const std::span< mgis::real > &, const MaterialStateManager::StorageMode=MaterialStateManager::LOCAL_STORAGE, const MaterialStateManager::UpdatePolicy=MaterialStateManager::UPDATE) |
| set the given external state variable | |
| MGIS_EXPORT bool | mgis::behaviour::isExternalStateVariableDefined (const MaterialStateManager &, const std::string_view &) |
| MGIS_EXPORT bool | mgis::behaviour::isExternalStateVariableUniform (const MaterialStateManager &, const std::string_view &) |
| MGIS_EXPORT void | mgis::behaviour::updateValues (MaterialStateManager &, const MaterialStateManager &) |
| update the values of a state from another state | |
| MGIS_EXPORT void | mgis::behaviour::extractInternalStateVariable (std::span< mgis::real >, const mgis::behaviour::MaterialStateManager &, const std::string_view) |
| extract an internal state variable | |
| MGIS_EXPORT void mgis::behaviour::extractInternalStateVariable | ( | std::span< mgis::real > | , |
| const mgis::behaviour::MaterialStateManager & | , | ||
| const std::string_view | |||
| ) |
extract an internal state variable
| [out] | o | buffer in which the values of the given internal state variable is stored |
| [in] | s | material state manager |
| [in] | n | name of the internal state variables |
| MGIS_EXPORT bool mgis::behaviour::isExternalStateVariableDefined | ( | const MaterialStateManager & | , |
| const std::string_view & | |||
| ) |
| [out] | m | material data manager |
| [in] | n | name |
| [in] | v | values |
| [in] | s | storage mode |
| MGIS_EXPORT bool mgis::behaviour::isExternalStateVariableUniform | ( | const MaterialStateManager & | , |
| const std::string_view & | |||
| ) |
| [out] | m | material data manager |
| [in] | n | name |
| MGIS_EXPORT bool mgis::behaviour::isMassDensityDefined | ( | const MaterialStateManager & | ) |
| [out] | m | material data manager |
| MGIS_EXPORT bool mgis::behaviour::isMassDensityUniform | ( | const MaterialStateManager & | ) |
| [out] | m | material data manager |
| MGIS_EXPORT bool mgis::behaviour::isMaterialPropertyDefined | ( | const MaterialStateManager & | , |
| const std::string_view & | |||
| ) |
| [out] | m | material data manager |
| [in] | n | name |
| [in] | v | values |
| [in] | s | storage mode |
| MGIS_EXPORT bool mgis::behaviour::isMaterialPropertyUniform | ( | const MaterialStateManager & | , |
| const std::string_view & | |||
| ) |
chek if the given material property is uniform
| [out] | m | material data manager |
| [in] | n | name |
| MGIS_EXPORT void mgis::behaviour::setExternalStateVariable | ( | MaterialStateManager & | , |
| const std::string_view & | , | ||
| const real | , | ||
| const MaterialStateManager::UpdatePolicy | = MaterialStateManager::UPDATE |
||
| ) |
set the given external state variable
| [out] | m | material data manager |
| [in] | n | name |
| [in] | v | value |
| [in] | p | update policy |
| MGIS_EXPORT void mgis::behaviour::setExternalStateVariable | ( | MaterialStateManager & | , |
| const std::string_view & | , | ||
| const std::span< mgis::real > & | , | ||
| const MaterialStateManager::StorageMode | = MaterialStateManager::LOCAL_STORAGE, |
||
| const MaterialStateManager::UpdatePolicy | = MaterialStateManager::UPDATE |
||
| ) |
set the given external state variable
| [out] | m | material data manager |
| [in] | n | name |
| [in] | v | values |
| [in] | s | storage mode |
| [in] | p | update policy |
| MGIS_EXPORT void mgis::behaviour::setMassDensity | ( | MaterialStateManager & | , |
| const real | , | ||
| const MaterialStateManager::UpdatePolicy | = MaterialStateManager::UPDATE |
||
| ) |
set the mass density
| [out] | m | material data manager |
| [in] | v | value |
| [in] | p | update policy |
| MGIS_EXPORT void mgis::behaviour::setMassDensity | ( | MaterialStateManager & | , |
| const std::span< mgis::real > & | , | ||
| const MaterialStateManager::StorageMode | = MaterialStateManager::LOCAL_STORAGE, |
||
| const MaterialStateManager::UpdatePolicy | = MaterialStateManager::UPDATE |
||
| ) |
set the mass density
| [out] | m | material data manager |
| [in] | v | values |
| [in] | s | storage mode |
| [in] | p | update policy |
| MGIS_EXPORT void mgis::behaviour::setMaterialProperty | ( | MaterialStateManager & | , |
| const std::string_view & | , | ||
| const real | , | ||
| const MaterialStateManager::UpdatePolicy | = MaterialStateManager::UPDATE |
||
| ) |
set the given material property
| [out] | m | material data manager |
| [in] | n | name |
| [in] | v | value |
| [in] | p | update policy |
| MGIS_EXPORT void mgis::behaviour::setMaterialProperty | ( | MaterialStateManager & | , |
| const std::string_view & | , | ||
| const std::span< mgis::real > & | , | ||
| const MaterialStateManager::StorageMode | = MaterialStateManager::LOCAL_STORAGE, |
||
| const MaterialStateManager::UpdatePolicy | = MaterialStateManager::UPDATE |
||
| ) |
set the given material property
| [out] | m | material data manager |
| [in] | n | name |
| [in] | v | values |
| [in] | s | storage mode |
| [in] | p | update policy |
| MGIS_EXPORT void mgis::behaviour::updateValues | ( | MaterialStateManager & | , |
| const MaterialStateManager & | |||
| ) |
update the values of a state from another state
| [out] | o | output state |
| [out] | i | input state |