|
MGIS
|
a simple wrapper around the MaterialDataManager class More...
#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/Behaviour/MaterialFunctionManager.hxx>
Public Member Functions | |
| MaterialFunctionManager (const std::shared_ptr< const SpaceType > &, const Behaviour &) | |
| constructor | |
| template<bool doPreconditionsCheck> | |
| MaterialFunctionManager (const PreconditionsCheck< doPreconditionsCheck > &, const std::shared_ptr< const SpaceType > &, const Behaviour &) | |
| constructor | |
| MaterialFunctionManager (const std::shared_ptr< const SpaceType > &, const std::shared_ptr< const Behaviour > &) | |
| constructor | |
| template<bool doPreconditionsCheck> | |
| MaterialFunctionManager (const PreconditionsCheck< doPreconditionsCheck > &, const std::shared_ptr< const SpaceType > &, const std::shared_ptr< const Behaviour > &) | |
| constructor | |
| const SpaceType & | getSpace () const noexcept |
| return the quadrature space | |
| std::shared_ptr< const SpaceType > | getSpacePointer () const noexcept |
| return the pointer to the quadrature space | |
| mgis::function::SharedSpace< SpaceType > | getSharedSpace () const noexcept |
| return the pointer to the quadrature space | |
Public Member Functions inherited from mgis::behaviour::MaterialDataManager | |
| MaterialDataManager (const Behaviour &, const size_type) | |
| main constructor | |
| MaterialDataManager (const Behaviour &, const size_type, const MaterialDataManagerInitializer &) | |
| main constructor | |
| void | setThreadSafe (const bool) |
set if the MaterialDataManager must take care of thread-safety. This flag is mostly used in members functions allocating memory. | |
| void | allocateArrayOfTangentOperatorBlocks () |
| allocate the memory associated with the tangent operator blocks if required. | |
| void | useExternalArrayOfTangentOperatorBlocks (std::span< real >) |
| use an externally allocated memory to store the tangent operator blocks. | |
| void | releaseArrayOfTangentOperatorBlocks () |
| release the memory associated with the tangent operator blocks. | |
| void | allocateArrayOfSpeedOfSounds () |
| allocate the memory associated with the speed of sound if required. | |
| void | useExternalArrayOfSpeedOfSounds (std::span< real >) |
| use an externally allocated memory to store the tangent operator blocks. | |
| void | releaseArrayOfSpeedOfSounds () |
| release the memory associated with the tangent operator blocks. | |
| BehaviourIntegrationWorkSpace & | getBehaviourIntegrationWorkSpace () |
| return a workspace associated with the given behaviour. | |
| void | releaseBehaviourIntegrationWorkspaces () |
| clear behaviour integration workspaces. | |
| ~MaterialDataManager () | |
| destructor | |
Static Public Member Functions | |
| static bool | checkPreconditions (AbstractErrorHandler &, const std::shared_ptr< const SpaceType > &, const Behaviour &) |
| check that the preconditions to build the view are met | |
| static bool | checkPreconditions (AbstractErrorHandler &, const std::shared_ptr< const SpaceType > &, const std::shared_ptr< const Behaviour > &) |
| check that the preconditions to build the view are met | |
Additional Inherited Members | |
Public Attributes inherited from mgis::behaviour::MaterialDataManager | |
| MaterialStateManager | s0 |
| state at the beginning of the time step | |
| MaterialStateManager | s1 |
| state at the end of the time step | |
| std::span< real > | K |
| view of the stiffness matrices, if required. | |
| real | rdt = 1 |
| proposed time step increment increase factor | |
| std::span< real > | speed_of_sound |
| view on the speed of sound. | |
| const size_type | n |
| number of integration points | |
| const size_type | K_stride |
| the size of the stiffness matrix for one integration point (the size of K is K_stride times the number of integration points) | |
| const Behaviour & | b |
| underlying behaviour | |
a simple wrapper around the MaterialDataManager class
| mgis::behaviour::MaterialFunctionManager< SpaceType >::MaterialFunctionManager | ( | const std::shared_ptr< const SpaceType > & | s, |
| const Behaviour & | behaviour | ||
| ) |
constructor
| [in] | s | quadrature space. |
| [in] | behaviour | behaviour. |
| mgis::behaviour::MaterialFunctionManager< SpaceType >::MaterialFunctionManager | ( | const PreconditionsCheck< doPreconditionsCheck > & | pcheck, |
| const std::shared_ptr< const SpaceType > & | s, | ||
| const Behaviour & | behaviour | ||
| ) |
constructor
| [in] | pcheck | do preconditions checks |
| [in] | s | quadrature space. |
| [in] | behaviour | behaviour. |
| mgis::behaviour::MaterialFunctionManager< SpaceType >::MaterialFunctionManager | ( | const std::shared_ptr< const SpaceType > & | s, |
| const std::shared_ptr< const Behaviour > & | behaviour | ||
| ) |
constructor
| [in] | s | quadrature space. |
| [in] | behaviour | behaviour. |
| mgis::behaviour::MaterialFunctionManager< SpaceType >::MaterialFunctionManager | ( | const PreconditionsCheck< doPreconditionsCheck > & | pcheck, |
| const std::shared_ptr< const SpaceType > & | s, | ||
| const std::shared_ptr< const Behaviour > & | behaviour | ||
| ) |
constructor
| [in] | pcheck | do preconditions checks |
| [in] | s | quadrature space. |
| [in] | behaviour | behaviour. |
|
static |
check that the preconditions to build the view are met
| [in] | eh | error handler. |
| [in] | s | quadrature space |
| [in] | behaviour | behaviour. |
|
static |
check that the preconditions to build the view are met
| [in] | eh | error handler. |
| [in] | s | quadrature space |
| [in] | behaviour | behaviour. |