|
MGIS
|
#include <map>#include <span>#include <iosfwd>#include <vector>#include <optional>#include "MGIS/Config.hxx"#include "MGIS/Behaviour/Hypothesis.hxx"#include "MGIS/Behaviour/Variable.hxx"#include "MGIS/Behaviour/RotationMatrix.hxx"#include "MGIS/Behaviour/FiniteStrainBehaviourOptions.hxx"#include "MGIS/Behaviour/BehaviourFctPtr.hxx"#include "MGIS/Behaviour/BehaviourDescription.hxx"Classes | |
| struct | mgis::behaviour::BehaviourInitializeFunction |
| structure describing an initialize function of a behaviour More... | |
| struct | mgis::behaviour::BehaviourPostProcessing |
| structure describing a post-processing of a behaviour More... | |
| struct | mgis::behaviour::Behaviour |
| structure describing a behaviour More... | |
| struct | mgis::behaviour::LoadFromDatabaseOptions |
options passed to the loadFromDatabase function More... | |
Namespaces | |
| namespace | mgis |
the namespace mgis encloses all the MGIS project. | |
Functions | |
| MGIS_EXPORT std::optional< Behaviour > | mgis::behaviour::load (Context &, const std::string &, const std::string &, const Hypothesis) noexcept |
| load the description of a behaviour from a library | |
| MGIS_EXPORT std::optional< Behaviour > | mgis::behaviour::load (Context &, const FiniteStrainBehaviourOptions &, const std::string &, const std::string &, const Hypothesis) noexcept |
| load the description of a finite strain behaviour from a library | |
| MGIS_EXPORT Behaviour | mgis::behaviour::load (const std::string &, const std::string &, const Hypothesis) |
| load the description of a behaviour from a library | |
| MGIS_EXPORT Behaviour | mgis::behaviour::load (const FiniteStrainBehaviourOptions &, const std::string &, const std::string &, const Hypothesis) |
| load the description of a finite strain behaviour from a library | |
| MGIS_EXPORT std::optional< Behaviour > | mgis::behaviour::loadFromDatabase (Context &, const LoadFromDatabaseOptions &) noexcept |
| load a behaviour from the database | |
| MGIS_EXPORT std::optional< Behaviour > | mgis::behaviour::loadFromDatabase (Context &, const FiniteStrainBehaviourOptions &, const LoadFromDatabaseOptions &) noexcept |
| load a finite strain behaviour from the database | |
| MGIS_EXPORT Behaviour | mgis::behaviour::loadFromDatabase (const LoadFromDatabaseOptions &) |
| load the description of a behaviour from the database | |
| MGIS_EXPORT Behaviour | mgis::behaviour::loadFromDatabase (const FiniteStrainBehaviourOptions &, const LoadFromDatabaseOptions &) |
| load the description of a finite strain behaviour from the database | |
| MGIS_EXPORT void | mgis::behaviour::rotateGradients (std::span< real >, const Behaviour &, const std::span< const real > &) |
| rotate an array of gradients from the global frame to the material frame. | |
| MGIS_EXPORT void | mgis::behaviour::rotateGradients (std::span< real >, const Behaviour &, const std::span< const real > &, const std::span< const real > &) |
| rotate an array of gradients from the global frame to the material frame. | |
| MGIS_EXPORT void | mgis::behaviour::rotateGradients (std::span< real >, const Behaviour &, const RotationMatrix2D &) |
| rotate an array of gradients from the global frame to the material frame. | |
| MGIS_EXPORT void | mgis::behaviour::rotateGradients (std::span< real >, const Behaviour &, const std::span< const real > &, const RotationMatrix2D &) |
| rotate an array of gradients from the global frame to the material frame. | |
| MGIS_EXPORT void | mgis::behaviour::rotateGradients (std::span< real >, const Behaviour &, const RotationMatrix3D &) |
| rotate an array of gradients from the global frame to the material frame. | |
| MGIS_EXPORT void | mgis::behaviour::rotateGradients (std::span< real >, const Behaviour &, const std::span< const real > &, const RotationMatrix3D &) |
| rotate an array of gradients from the global frame to the material frame. | |
| MGIS_EXPORT void | mgis::behaviour::rotateThermodynamicForces (std::span< real >, const Behaviour &, const std::span< const real > &) |
| rotate an array of thermodynamics forces from the material frame to the global frame. | |
| MGIS_EXPORT void | mgis::behaviour::rotateThermodynamicForces (std::span< real >, const Behaviour &, const RotationMatrix2D &) |
| rotate an array of thermodynamics forces from the material frame to the global frame. | |
| MGIS_EXPORT void | mgis::behaviour::rotateThermodynamicForces (std::span< real >, const Behaviour &, const RotationMatrix3D &) |
| rotate an array of thermodynamics forces from the material frame to the global frame. | |
| MGIS_EXPORT void | mgis::behaviour::rotateThermodynamicForces (std::span< real >, const Behaviour &, const std::span< const real > &, const std::span< const real > &) |
| rotate an array of thermodynamics forces from the material frame to the global frame. | |
| MGIS_EXPORT void | mgis::behaviour::rotateThermodynamicForces (std::span< real >, const Behaviour &, const std::span< const real > &, const RotationMatrix2D &) |
| rotate an array of thermodynamics forces from the material frame to the global frame. | |
| MGIS_EXPORT void | mgis::behaviour::rotateThermodynamicForces (std::span< real >, const Behaviour &, const std::span< const real > &, const RotationMatrix3D &) |
| rotate an array of thermodynamics forces from the material frame to the global frame. | |
| MGIS_EXPORT void | mgis::behaviour::rotateTangentOperatorBlocks (std::span< real >, const Behaviour &, const std::span< const real > &) |
| rotate an array of tangent operator blocks from the material frame to the global frame. | |
| MGIS_EXPORT void | mgis::behaviour::rotateTangentOperatorBlocks (std::span< real >, const Behaviour &, const RotationMatrix2D &) |
| rotate an array of tangent operator blocks from the material frame to the global frame. | |
| MGIS_EXPORT void | mgis::behaviour::rotateTangentOperatorBlocks (std::span< real >, const Behaviour &, const RotationMatrix3D &) |
| rotate an array of tangent operator blocks from the material frame to the global frame. | |
| MGIS_EXPORT void | mgis::behaviour::rotateTangentOperatorBlocks (std::span< real >, const Behaviour &, const std::span< const real > &, const std::span< const real > &) |
| rotate an array of tangent operator blocks from the material frame to the global frame. | |
| MGIS_EXPORT void | mgis::behaviour::rotateTangentOperatorBlocks (std::span< real >, const Behaviour &, const std::span< const real > &, const RotationMatrix2D &) |
| rotate an array of tangent operator blocks from the material frame to the global frame. | |
| MGIS_EXPORT void | mgis::behaviour::rotateTangentOperatorBlocks (std::span< real >, const Behaviour &, const std::span< const real > &, const RotationMatrix3D &) |
| rotate an array of tangent operator blocks from the material frame to the global frame. | |
| MGIS_EXPORT void | mgis::behaviour::setParameter (const Behaviour &, const std::string &, const double) |
| set the value of a parameter | |
| MGIS_EXPORT void | mgis::behaviour::setParameter (const Behaviour &, const std::string &, const int) |
| set the value of a parameter | |
| MGIS_EXPORT void | mgis::behaviour::setParameter (const Behaviour &, const std::string &, const unsigned short) |
| set the value of a parameter | |
| MGIS_EXPORT size_type | mgis::behaviour::getInitializeFunctionVariablesArraySize (const Behaviour &, const std::string_view) |
| MGIS_EXPORT std::vector< mgis::real > | mgis::behaviour::allocateInitializeFunctionVariables (const Behaviour &, const std::string_view) |
| MGIS_EXPORT size_type | mgis::behaviour::getPostProcessingVariablesArraySize (const Behaviour &, const std::string_view) |
| MGIS_EXPORT std::vector< mgis::real > | mgis::behaviour::allocatePostProcessingVariables (const Behaviour &, const std::string_view) |
| MGIS_EXPORT std::vector< mgis::real > mgis::behaviour::allocateInitializeFunctionVariables | ( | const Behaviour & | , |
| const std::string_view | |||
| ) |
| [in] | b | behaviour |
| [in] | n | name of the initialize function |
| MGIS_EXPORT std::vector< mgis::real > mgis::behaviour::allocatePostProcessingVariables | ( | const Behaviour & | , |
| const std::string_view | |||
| ) |
| [in] | b | behaviour |
| [in] | n | name of the post-processing |
| MGIS_EXPORT size_type mgis::behaviour::getInitializeFunctionVariablesArraySize | ( | const Behaviour & | , |
| const std::string_view | |||
| ) |
| [in] | b | behaviour |
| [in] | n | name of the post-processing |
| MGIS_EXPORT size_type mgis::behaviour::getPostProcessingVariablesArraySize | ( | const Behaviour & | , |
| const std::string_view | |||
| ) |
| [in] | b | behaviour |
| [in] | n | name of the post-processing |
| MGIS_EXPORT Behaviour mgis::behaviour::load | ( | const FiniteStrainBehaviourOptions & | , |
| const std::string & | , | ||
| const std::string & | , | ||
| const Hypothesis | |||
| ) |
load the description of a finite strain behaviour from a library
| [in] | o | options |
| [in] | l | library name |
| [in] | b | behaviour name |
| [in] | h | modelling hypothesis |
std::string rather than mgis::string_view is meaningful here | MGIS_EXPORT Behaviour mgis::behaviour::load | ( | const std::string & | , |
| const std::string & | , | ||
| const Hypothesis | |||
| ) |
load the description of a behaviour from a library
| [in] | l | library name |
| [in] | b | behaviour name |
| [in] | h | modelling hypothesis |
|
noexcept |
load the description of a finite strain behaviour from a library
| [in] | ctx | execution context |
| [in] | o | options |
| [in] | l | library name |
| [in] | b | behaviour name |
| [in] | h | modelling hypothesis |
std::string rather than mgis::string_view is meaningful here
|
noexcept |
load the description of a behaviour from a library
| [in] | ctx | execution context |
| [in] | l | library name |
| [in] | b | behaviour name |
| [in] | h | modelling hypothesis |
| MGIS_EXPORT Behaviour mgis::behaviour::loadFromDatabase | ( | const FiniteStrainBehaviourOptions & | , |
| const LoadFromDatabaseOptions & | |||
| ) |
load the description of a finite strain behaviour from the database
| [in] | o | options |
| [in] | opts | options to select the behaviour |
| MGIS_EXPORT Behaviour mgis::behaviour::loadFromDatabase | ( | const LoadFromDatabaseOptions & | ) |
load the description of a behaviour from the database
| [in] | opts | options to select the behaviour |
|
noexcept |
load a finite strain behaviour from the database
| [in] | ctx | execution context |
| [in] | o | finite strain options |
| [in] | opts | options to select the behaviour |
|
noexcept |
load a behaviour from the database
| [in] | ctx | execution context |
| [in] | opts | options to select the behaviour |
| MGIS_EXPORT void mgis::behaviour::rotateGradients | ( | std::span< real > | , |
| const Behaviour & | , | ||
| const RotationMatrix2D & | |||
| ) |
rotate an array of gradients from the global frame to the material frame.
| [in,out] | g | gradients |
| [in] | b | behaviour description |
| [in] | r | rotation matrix from the global frame to the material frame. |
| MGIS_EXPORT void mgis::behaviour::rotateGradients | ( | std::span< real > | , |
| const Behaviour & | , | ||
| const RotationMatrix3D & | |||
| ) |
rotate an array of gradients from the global frame to the material frame.
| [in,out] | g | gradients |
| [in] | b | behaviour description |
| [in] | r | rotation matrix from the global frame to the material frame. |
| MGIS_EXPORT void mgis::behaviour::rotateGradients | ( | std::span< real > | , |
| const Behaviour & | , | ||
| const std::span< const real > & | |||
| ) |
rotate an array of gradients from the global frame to the material frame.
| [in,out] | g | gradients |
| [in] | b | behaviour description |
| [in] | r | rotation matrix from the global frame to the material frame. |
| MGIS_EXPORT void mgis::behaviour::rotateGradients | ( | std::span< real > | , |
| const Behaviour & | , | ||
| const std::span< const real > & | , | ||
| const RotationMatrix2D & | |||
| ) |
rotate an array of gradients from the global frame to the material frame.
| [out] | mg | array of gradients in the material frame |
| [in] | b | behaviour description |
| [out] | gg | array of gradients in the global frame |
| [in] | r | rotation matrix from the global frame to the material frame. |
| MGIS_EXPORT void mgis::behaviour::rotateGradients | ( | std::span< real > | , |
| const Behaviour & | , | ||
| const std::span< const real > & | , | ||
| const RotationMatrix3D & | |||
| ) |
rotate an array of gradients from the global frame to the material frame.
| [out] | mg | array of gradients in the material frame |
| [in] | b | behaviour description |
| [out] | gg | array of gradients in the global frame |
| [in] | r | rotation matrix from the global frame to the material frame. |
| MGIS_EXPORT void mgis::behaviour::rotateGradients | ( | std::span< real > | , |
| const Behaviour & | , | ||
| const std::span< const real > & | , | ||
| const std::span< const real > & | |||
| ) |
rotate an array of gradients from the global frame to the material frame.
| [out] | mg | array of gradients in the material frame |
| [in] | b | behaviour description |
| [out] | gg | array of gradients in the global frame |
| [in] | r | rotation matrix from the global frame to the material frame. |
| MGIS_EXPORT void mgis::behaviour::rotateTangentOperatorBlocks | ( | std::span< real > | , |
| const Behaviour & | , | ||
| const RotationMatrix2D & | |||
| ) |
rotate an array of tangent operator blocks from the material frame to the global frame.
| [in,out] | K | tangent operator blocks |
| [in] | b | behaviour description |
| [in] | r | rotation matrix from the global frame to the material frame. |
| MGIS_EXPORT void mgis::behaviour::rotateTangentOperatorBlocks | ( | std::span< real > | , |
| const Behaviour & | , | ||
| const RotationMatrix3D & | |||
| ) |
rotate an array of tangent operator blocks from the material frame to the global frame.
| [in,out] | K | tangent operator blocks |
| [in] | b | behaviour description |
| [in] | r | rotation matrix from the global frame to the material frame. |
| MGIS_EXPORT void mgis::behaviour::rotateTangentOperatorBlocks | ( | std::span< real > | , |
| const Behaviour & | , | ||
| const std::span< const real > & | |||
| ) |
rotate an array of tangent operator blocks from the material frame to the global frame.
| [in,out] | K | tangent operator blocks |
| [in] | b | behaviour description |
| [in] | r | rotation matrix from the global frame to the material frame. |
| MGIS_EXPORT void mgis::behaviour::rotateTangentOperatorBlocks | ( | std::span< real > | , |
| const Behaviour & | , | ||
| const std::span< const real > & | , | ||
| const RotationMatrix2D & | |||
| ) |
rotate an array of tangent operator blocks from the material frame to the global frame.
| [out] | gK | tangent operator blocks in the global frame |
| [in] | b | behaviour description |
| [in] | mK | tangent operator blocks in the material frame |
| [in] | r | rotation matrix from the global frame to the material frame. |
| MGIS_EXPORT void mgis::behaviour::rotateTangentOperatorBlocks | ( | std::span< real > | , |
| const Behaviour & | , | ||
| const std::span< const real > & | , | ||
| const RotationMatrix3D & | |||
| ) |
rotate an array of tangent operator blocks from the material frame to the global frame.
| [out] | gK | tangent operator blocks in the global frame |
| [in] | b | behaviour description |
| [in] | mK | tangent operator blocks in the material frame |
| [in] | r | rotation matrix from the global frame to the material frame. |
| MGIS_EXPORT void mgis::behaviour::rotateTangentOperatorBlocks | ( | std::span< real > | , |
| const Behaviour & | , | ||
| const std::span< const real > & | , | ||
| const std::span< const real > & | |||
| ) |
rotate an array of tangent operator blocks from the material frame to the global frame.
| [out] | gK | tangent operator blocks in the global frame |
| [in] | b | behaviour description |
| [in] | mK | tangent operator blocks in the material frame |
| [in] | r | rotation matrix from the global frame to the material frame. |
| MGIS_EXPORT void mgis::behaviour::rotateThermodynamicForces | ( | std::span< real > | , |
| const Behaviour & | , | ||
| const RotationMatrix2D & | |||
| ) |
rotate an array of thermodynamics forces from the material frame to the global frame.
| [in,out] | tf | thermodynamics forces |
| [in] | b | behaviour description |
| [in] | r | rotation matrix from the global frame to the material frame. |
| MGIS_EXPORT void mgis::behaviour::rotateThermodynamicForces | ( | std::span< real > | , |
| const Behaviour & | , | ||
| const RotationMatrix3D & | |||
| ) |
rotate an array of thermodynamics forces from the material frame to the global frame.
| [in,out] | tf | thermodynamics forces |
| [in] | b | behaviour description |
| [in] | r | rotation matrix from the global frame to the material frame. |
| MGIS_EXPORT void mgis::behaviour::rotateThermodynamicForces | ( | std::span< real > | , |
| const Behaviour & | , | ||
| const std::span< const real > & | |||
| ) |
rotate an array of thermodynamics forces from the material frame to the global frame.
| [in,out] | tf | thermodynamics forces |
| [in] | b | behaviour description |
| [in] | r | rotation matrix from the global frame to the material frame. |
| MGIS_EXPORT void mgis::behaviour::rotateThermodynamicForces | ( | std::span< real > | , |
| const Behaviour & | , | ||
| const std::span< const real > & | , | ||
| const RotationMatrix2D & | |||
| ) |
rotate an array of thermodynamics forces from the material frame to the global frame.
| [out] | gtf | thermodynamics forces in the global frame |
| [in] | b | behaviour description |
| [in] | mtf | thermodynamics forces in the material frame |
| [in] | r | rotation matrix from the global frame to the material frame. |
| MGIS_EXPORT void mgis::behaviour::rotateThermodynamicForces | ( | std::span< real > | , |
| const Behaviour & | , | ||
| const std::span< const real > & | , | ||
| const RotationMatrix3D & | |||
| ) |
rotate an array of thermodynamics forces from the material frame to the global frame.
| [out] | gtf | thermodynamics forces in the global frame |
| [in] | b | behaviour description |
| [in] | mtf | thermodynamics forces in the material frame |
| [in] | r | rotation matrix from the global frame to the material frame. |
| MGIS_EXPORT void mgis::behaviour::rotateThermodynamicForces | ( | std::span< real > | , |
| const Behaviour & | , | ||
| const std::span< const real > & | , | ||
| const std::span< const real > & | |||
| ) |
rotate an array of thermodynamics forces from the material frame to the global frame.
| [out] | gtf | thermodynamics forces in the global frame |
| [in] | b | behaviour description |
| [in] | mtf | thermodynamics forces in the material frame |
| [in] | r | rotation matrix from the global frame to the material frame. |
| MGIS_EXPORT void mgis::behaviour::setParameter | ( | const Behaviour & | , |
| const std::string & | , | ||
| const double | |||
| ) |
set the value of a parameter
| [in] | b | behaviour description |
| [in] | n | parameter name |
| [in] | v | parameter value |
| MGIS_EXPORT void mgis::behaviour::setParameter | ( | const Behaviour & | , |
| const std::string & | , | ||
| const int | |||
| ) |
set the value of a parameter
| [in] | b | behaviour description |
| [in] | n | parameter name |
| [in] | v | parameter value |
| MGIS_EXPORT void mgis::behaviour::setParameter | ( | const Behaviour & | , |
| const std::string & | , | ||
| const unsigned short | |||
| ) |
set the value of a parameter
| [in] | b | behaviour description |
| [in] | n | parameter name |
| [in] | v | parameter value |