|
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::MutableFieldHolder |
| a structure defining a mutable field holder More... | |
| struct | mgis::behaviour::MaterialStateManager::FieldHolder |
Namespaces | |
| namespace | mgis |
the namespace mgis encloses all the MGIS project. | |
Functions | |
| MGIS_EXPORT void | mgis::behaviour::setMaterialProperty (MaterialStateManager &, std::string_view, const real, const MaterialStateManager::UpdatePolicy=MaterialStateManager::UPDATE) |
| set the given material property | |
| MGIS_EXPORT void | mgis::behaviour::setMaterialProperty (MaterialStateManager &, std::string_view, 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::setMaterialProperty (Context &, MaterialStateManager &, std::string_view, const real, const MaterialStateManager::UpdatePolicy=MaterialStateManager::UPDATE) noexcept |
| set the given material property | |
| MGIS_EXPORT bool | mgis::behaviour::setMaterialProperty (Context &, MaterialStateManager &, std::string_view, std::span< mgis::real >, const MaterialStateManager::StorageMode=MaterialStateManager::LOCAL_STORAGE, const MaterialStateManager::UpdatePolicy=MaterialStateManager::UPDATE) noexcept |
| set the given material property from a modifiable memory region | |
| MGIS_EXPORT bool | mgis::behaviour::unsetMaterialProperty (Context &, MaterialStateManager &, std::string_view) noexcept |
| remove the field holder associated with the given material property, if defined | |
| MGIS_EXPORT bool | mgis::behaviour::isMaterialPropertyDefined (const MaterialStateManager &, std::string_view) |
| MGIS_EXPORT bool | mgis::behaviour::isMaterialPropertyUniform (const MaterialStateManager &, std::string_view) |
| chek if the given material property is uniform | |
| MGIS_EXPORT std::optional< bool > | mgis::behaviour::isMaterialPropertyUniform (Context &, const MaterialStateManager &, std::string_view) noexcept |
| chek if the given material property is uniform | |
| MGIS_EXPORT void | mgis::behaviour::setMassDensity (MaterialStateManager &, const real, const MaterialStateManager::UpdatePolicy=MaterialStateManager::UPDATE) noexcept |
| set the mass density | |
| MGIS_EXPORT void | mgis::behaviour::setMassDensity (MaterialStateManager &, 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 &) noexcept |
| MGIS_EXPORT bool | mgis::behaviour::isMassDensityUniform (const MaterialStateManager &) |
| MGIS_EXPORT std::optional< bool > | mgis::behaviour::isMassDensityUniform (Context &, const MaterialStateManager &) noexcept |
| MGIS_EXPORT void | mgis::behaviour::setExternalStateVariable (MaterialStateManager &, std::string_view, const real, const MaterialStateManager::UpdatePolicy=MaterialStateManager::UPDATE) |
| set the given external state variable | |
| MGIS_EXPORT void | mgis::behaviour::setExternalStateVariable (MaterialStateManager &, std::string_view, 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::setExternalStateVariable (Context &, MaterialStateManager &, std::string_view, const real, const MaterialStateManager::UpdatePolicy=MaterialStateManager::UPDATE) noexcept |
| set the given external state variable | |
| MGIS_EXPORT bool | mgis::behaviour::setExternalStateVariable (Context &, MaterialStateManager &, std::string_view, std::span< mgis::real >, const MaterialStateManager::StorageMode=MaterialStateManager::LOCAL_STORAGE, const MaterialStateManager::UpdatePolicy=MaterialStateManager::UPDATE) noexcept |
| set the given external state variable | |
| MGIS_EXPORT bool | mgis::behaviour::unsetExternalStateVariable (Context &, MaterialStateManager &, std::string_view) noexcept |
| remove the field holder associated with the given external state variable, if defined | |
| MGIS_EXPORT bool | mgis::behaviour::isExternalStateVariableDefined (const MaterialStateManager &, std::string_view) |
| MGIS_EXPORT bool | mgis::behaviour::isExternalStateVariableUniform (const MaterialStateManager &, std::string_view) |
| MGIS_EXPORT std::optional< bool > | mgis::behaviour::isExternalStateVariableUniform (Context &, const MaterialStateManager &, std::string_view) noexcept |
| MGIS_EXPORT void | mgis::behaviour::updateValues (MaterialStateManager &, const MaterialStateManager &) |
| update the values of a state from another state | |
| MGIS_EXPORT bool | mgis::behaviour::updateValues (Context &, MaterialStateManager &, const MaterialStateManager &) noexcept |
| 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 & | , |
| std::string_view | |||
| ) |
| [int] | m: material state manager | |
| [in] | n | name |
| MGIS_EXPORT bool mgis::behaviour::isExternalStateVariableUniform | ( | const MaterialStateManager & | , |
| std::string_view | |||
| ) |
| [int] | m: material state manager | |
| [in] | n | name |
|
noexcept |
| [in,out] | ctx | execution context |
| [int] | m: material state manager | |
| [in] | n | name |
|
noexcept |
| [out] | m | material state manager |
| MGIS_EXPORT bool mgis::behaviour::isMassDensityUniform | ( | const MaterialStateManager & | ) |
| [in] | m | material state manager |
|
noexcept |
| [in,out] | ctx | execution context |
| [in] | m | material state manager |
| MGIS_EXPORT bool mgis::behaviour::isMaterialPropertyDefined | ( | const MaterialStateManager & | , |
| std::string_view | |||
| ) |
| [in] | m | material state manager |
| [in] | n | name |
| MGIS_EXPORT bool mgis::behaviour::isMaterialPropertyUniform | ( | const MaterialStateManager & | , |
| std::string_view | |||
| ) |
chek if the given material property is uniform
| [in] | m | material state manager |
| [in] | n | name |
|
noexcept |
chek if the given material property is uniform
| [in,out] | ctx | execution context |
| [in] | m | material state manager |
| [in] | n | name |
|
noexcept |
set the given external state variable
| [in,out] | ctx | execution context |
| [out] | m | material state manager |
| [in] | n | name |
| [in] | v | value |
| [in] | p | update policy |
|
noexcept |
set the given external state variable
set the given external state variable from a non-modifiable memory region
| [in,out] | ctx | execution context |
| [out] | m | material state manager |
| [in] | n | name |
| [in] | v | values |
| [in] | s | storage mode |
| [in] | p | update policy |
| [in,out] | ctx | execution context |
| [out] | m | material state manager |
| [in] | n | name |
| [in] | v | values |
| [in] | s | storage mode |
| [in] | p | update policy |
UpdatePolicy can be set to UPDATE in case of local storage, i.e. the UpdatePolicy must be set to NOUPDATE in case of external storage | MGIS_EXPORT void mgis::behaviour::setExternalStateVariable | ( | MaterialStateManager & | , |
| std::string_view | , | ||
| const real | , | ||
| const MaterialStateManager::UpdatePolicy | = MaterialStateManager::UPDATE |
||
| ) |
set the given external state variable
| [out] | m | material state manager |
| [in] | n | name |
| [in] | v | value |
| [in] | p | update policy |
| MGIS_EXPORT void mgis::behaviour::setExternalStateVariable | ( | MaterialStateManager & | , |
| std::string_view | , | ||
| std::span< mgis::real > | , | ||
| const MaterialStateManager::StorageMode | = MaterialStateManager::LOCAL_STORAGE, |
||
| const MaterialStateManager::UpdatePolicy | = MaterialStateManager::UPDATE |
||
| ) |
set the given external state variable
| [out] | m | material state manager |
| [in] | n | name |
| [in] | v | values |
| [in] | s | storage mode |
| [in] | p | update policy |
|
noexcept |
set the mass density
| [out] | m | material state manager |
| [in] | v | value |
| [in] | p | update policy |
| MGIS_EXPORT void mgis::behaviour::setMassDensity | ( | MaterialStateManager & | , |
| std::span< mgis::real > | , | ||
| const MaterialStateManager::StorageMode | = MaterialStateManager::LOCAL_STORAGE, |
||
| const MaterialStateManager::UpdatePolicy | = MaterialStateManager::UPDATE |
||
| ) |
set the mass density
| [in] | m | material state manager |
| [in] | v | values |
| [in] | s | storage mode |
| [in] | p | update policy |
|
noexcept |
set the given material property
| [in,out] | ctx | execution context |
| [out] | m | material state manager |
| [in] | n | name |
| [in] | v | value |
| [in] | p | update policy |
|
noexcept |
set the given material property from a modifiable memory region
set the given material property from an immutable memory region
| [in,out] | ctx | execution context |
| [out] | m | material state manager |
| [in] | n | name |
| [in] | v | values |
| [in] | s | storage mode |
| [in] | p | update policy |
| [in,out] | ctx | execution context |
| [out] | m | material state manager |
| [in] | n | name |
| [in] | v | values |
| [in] | s | storage mode |
| [in] | p | update policy |
UpdatePolicy can be set to UPDATE in case of local storage, i.e. the UpdatePolicy must be set to NOUPDATE in case of external storage | MGIS_EXPORT void mgis::behaviour::setMaterialProperty | ( | MaterialStateManager & | , |
| std::string_view | , | ||
| const real | , | ||
| const MaterialStateManager::UpdatePolicy | = MaterialStateManager::UPDATE |
||
| ) |
set the given material property
| [out] | m | material state manager |
| [in] | n | name |
| [in] | v | value |
| [in] | p | update policy |
| MGIS_EXPORT void mgis::behaviour::setMaterialProperty | ( | MaterialStateManager & | , |
| std::string_view | , | ||
| std::span< mgis::real > | , | ||
| const MaterialStateManager::StorageMode | = MaterialStateManager::LOCAL_STORAGE, |
||
| const MaterialStateManager::UpdatePolicy | = MaterialStateManager::UPDATE |
||
| ) |
set the given material property
| [out] | m | material state manager |
| [in] | n | name |
| [in] | v | values |
| [in] | s | storage mode |
| [in] | p | update policy |
|
noexcept |
remove the field holder associated with the given external state variable, if defined
| [in,out] | ctx | execution context |
| [out] | m | material state manager |
| [in] | n | name |
|
noexcept |
remove the field holder associated with the given material property, if defined
| [in,out] | ctx | execution context |
| [out] | m | material state manager |
| [in] | n | name |
|
noexcept |
update the values of a state from another state
| [out] | o | output state |
| [out] | i | input state |
| 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 |