|
MGIS 3.1.0
|
main interface between MGIS and FEniCS. This design has been inspired by the one of the fenics-solid-mechanics project. More...
#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/bindings/fenics/include/MGIS/FEniCS/NonLinearMaterial.hxx>
Public Member Functions | |
| NonLinearMaterial (std::shared_ptr< const dolfin::Function >, std::shared_ptr< const dolfin::FiniteElement >, std::shared_ptr< const dolfin::FiniteElement >, const mgis::behaviour::Behaviour &) | |
| void | setTimeIncrement (const double) |
| set time increment | |
| void | update (const dolfin::Cell &, const double *) |
| std::shared_ptr< NonLinearMaterialThermodynamicForcesFunction > | getThermodynamicForcesFunction () |
| std::shared_ptr< NonLinearMaterialTangentOperatorFunction > | getTangentOperatorFunction () |
| ~NonLinearMaterial () | |
| destructor | |
| 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 | |
| MaterialDataManager (MaterialDataManager &&)=delete | |
| MaterialDataManager (const MaterialDataManager &)=delete | |
| MaterialDataManager & | operator= (MaterialDataManager &&)=delete |
| MaterialDataManager & | operator= (const MaterialDataManager &)=delete |
| 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 | |
Public Attributes | |
| std::shared_ptr< const dolfin::Function > | unknowns |
| displacements unknowns | |
| 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 = 10 |
| maximal time step increase factor that the behaviour may propose | |
| 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 | |
main interface between MGIS and FEniCS. This design has been inspired by the one of the fenics-solid-mechanics project.
| mgis::fenics::NonLinearMaterial::NonLinearMaterial | ( | std::shared_ptr< const dolfin::Function > | , |
| std::shared_ptr< const dolfin::FiniteElement > | , | ||
| std::shared_ptr< const dolfin::FiniteElement > | , | ||
| const mgis::behaviour::Behaviour & | ) |
| [in] | u | unknowns space |
| [in] | t | tangent operator finite elements |
| [in] | e | stress finite elements |
| [in] | bv | behaviour |
| std::shared_ptr< NonLinearMaterialTangentOperatorFunction > mgis::fenics::NonLinearMaterial::getTangentOperatorFunction | ( | ) |
| std::shared_ptr< NonLinearMaterialThermodynamicForcesFunction > mgis::fenics::NonLinearMaterial::getThermodynamicForcesFunction | ( | ) |