|
tfel
|
#include <cstdlib>#include <cstring>#include <algorithm>#include "TFEL/Raise.hxx"#include "TFEL/Math/General/IEEE754.hxx"#include "TFEL/Math/t2tot2.hxx"#include "TFEL/Math/t2tost2.hxx"#include "TFEL/Math/st2tost2.hxx"#include "TFEL/Material/OutOfBoundsPolicy.hxx"#include "TFEL/Material/MechanicalBehaviourTraits.hxx"#include "TFEL/Material/FiniteStrainBehaviourTangentOperator.hxx"#include "MFront/GenericBehaviour/Types.hxx"#include "MFront/GenericBehaviour/BehaviourData.h"Classes | |
| struct | mfront::gb::InternalEnergyComputer |
| structure in charge of calling the computeInternalEnergy method More... | |
| struct | mfront::gb::DissipatedEnergyComputer |
| structure in charge of calling the computeDissipatedEnergy method More... | |
| struct | mfront::gb::DoNothingEnergyComputer |
| place holder for tag dispatching More... | |
Namespaces | |
| namespace | mfront |
| This namespace contains material used to build the MFront code generator. | |
Typedefs | |
| using | mfront::gb::FiniteStrainTangentOperator |
| a simple alias | |
Enumerations | |
| enum struct | mfront::gb::StressMeasure { PK1 , PK2 , CAUCHY , INVALID_STRESS_MEASURE } |
| enumeration of the stress measure supported by the generic behaviour interface for finite strain behaviours More... | |
Functions | |
| StressMeasure | mfront::gb::getStressMeasure (const real *const K) |
| FiniteStrainTangentOperator | mfront::gb::getTangentOperator (const real *const K) |
| template<typename StressType> | |
| void | mfront::gb::exportTangentOperator (tfel::math::base_type< StressType > *const v, const StressType K) |
| export the tangent operator used by some generic behaviours. | |
| template<typename StressType, unsigned short N> | |
| void | mfront::gb::exportTangentOperator (tfel::math::base_type< StressType > *const v, const tfel::math::tvector< N, StressType > &K) |
| export the tangent operator used by some generic behaviours. | |
| template<typename StressType, unsigned short N> | |
| void | mfront::gb::exportTangentOperator (tfel::math::base_type< StressType > *const v, const tfel::math::tmatrix< N, N, StressType > &K) |
| export the tangent operator used by cohesive zone models. | |
| template<typename StressType, unsigned short N> | |
| void | mfront::gb::exportTangentOperator (tfel::math::base_type< StressType > *const v, const tfel::math::t2tost2< N, StressType > &K) |
| export the tangent operator used by some generic behaviours. | |
| template<typename StressType, unsigned short N> | |
| void | mfront::gb::exportTangentOperator (tfel::math::base_type< StressType > *const v, const tfel::math::t2tot2< N, StressType > &K) |
| export the tangent operator used by some generic behaviours. | |
| template<typename StressType, unsigned short N> | |
| void | mfront::gb::exportTangentOperator (tfel::math::base_type< StressType > *const v, const tfel::math::st2tost2< N, StressType > &K) |
| export the tangent operator used by standard small strain behaviours. | |
| template<typename StressType, unsigned short N> | |
| void | mfront::gb::exportTangentOperator (tfel::math::base_type< StressType > *const v, const tfel::material::FiniteStrainBehaviourTangentOperator< N, StressType > &K) |
| export the tangent operator used by finite strain strain behaviours. | |
| template<typename Behaviour> | |
| int | mfront::gb::computePredictionOperator (Behaviour &b, mfront_gb_BehaviourData &d, const typename Behaviour::SMFlag f) |
| compute the prediction operator | |
| void | mfront::gb::reportError (mfront_gb_BehaviourData &d, const char *const e) |
| a simple function to report errors | |
| void | mfront::gb::reportFailureByException (mfront_gb_BehaviourData &d) |
| a simple function to report integration failure when an exception is thrown. | |
| template<typename Behaviour> | |
| int | mfront::gb::integrate (mfront_gb_BehaviourData &d, const typename Behaviour::SMFlag f, const tfel::material::OutOfBoundsPolicy p) |
| integrate the behaviour over a time step | |
| template<typename Behaviour, void(Behaviour::*)(const real *const) m> | |
| int | mfront::gb::executeInitializeFunction (mfront_gb_BehaviourData &d, const real *const initialize_variables, const tfel::material::OutOfBoundsPolicy p) |
| execute the given post-processing | |
| template<typename Behaviour, void(Behaviour::*)(real *const, const typename Behaviour::BehaviourData &) m, const bool use_initial_state> | |
| int | mfront::gb::executePostProcessing (real *const post_processing_variables, mfront_gb_BehaviourData &d, const tfel::material::OutOfBoundsPolicy p) |
| execute the given post-processing | |
a simple alias
|
strong |
| int mfront::gb::computePredictionOperator | ( | Behaviour & | b, |
| mfront_gb_BehaviourData & | d, | ||
| const typename Behaviour::SMFlag | f ) |
compute the prediction operator
| Behaviour | class implementing the behaviour |
| [in,out] | b | behaviour |
| [in,out] | d | behaviour data |
| [in,out] | smflag | consistent tangent operator expected |
| int mfront::gb::executeInitializeFunction | ( | mfront_gb_BehaviourData & | d, |
| const real *const | initialize_variables, | ||
| const tfel::material::OutOfBoundsPolicy | p ) |
execute the given post-processing
| Behaviour | class describing the post-processing. |
| m | method implementing the post-processing. |
| [out] | post_processing_variables | pointer to the values of the post-processing variables. |
| [in] | d | behaviour data. |
| [in] | p | out of bounds policy. |
| int mfront::gb::executePostProcessing | ( | real *const | post_processing_variables, |
| mfront_gb_BehaviourData & | d, | ||
| const tfel::material::OutOfBoundsPolicy | p ) |
execute the given post-processing
| Behaviour | class describing the post-processing. |
| m | method implementing the post-processing. |
| use_initial_state | boolean stating if the postprocessing uses the initial state of the material. |
| [out] | post_processing_variables | pointer to the values of the post-processing variables. |
| [in] | d | behaviour data. |
| [in] | p | out of bounds policy. |
| void mfront::gb::exportTangentOperator | ( | tfel::math::base_type< StressType > *const | v, |
| const StressType | K ) |
export the tangent operator used by some generic behaviours.
| StressType | numeric type used |
| [out] | v | exported values |
| [in] | K | computed tangent operator |
| void mfront::gb::exportTangentOperator | ( | tfel::math::base_type< StressType > *const | v, |
| const tfel::material::FiniteStrainBehaviourTangentOperator< N, StressType > & | K ) |
export the tangent operator used by finite strain strain behaviours.
| StressType | numeric type used |
| N | space dimension |
| [out] | v | exported values |
| [in] | K | computed tangent operator |
| void mfront::gb::exportTangentOperator | ( | tfel::math::base_type< StressType > *const | v, |
| const tfel::math::st2tost2< N, StressType > & | K ) |
export the tangent operator used by standard small strain behaviours.
| StressType | numeric type used |
| N | space dimension |
| [out] | v | exported values |
| [in] | K | computed tangent operator |
| void mfront::gb::exportTangentOperator | ( | tfel::math::base_type< StressType > *const | v, |
| const tfel::math::t2tost2< N, StressType > & | K ) |
export the tangent operator used by some generic behaviours.
| StressType | numeric type used |
| N | space dimension |
| [out] | v | exported values |
| [in] | K | computed tangent operator |
| void mfront::gb::exportTangentOperator | ( | tfel::math::base_type< StressType > *const | v, |
| const tfel::math::t2tot2< N, StressType > & | K ) |
export the tangent operator used by some generic behaviours.
| StressType | numeric type used |
| N | space dimension |
| [out] | v | exported values |
| [in] | K | computed tangent operator |
| void mfront::gb::exportTangentOperator | ( | tfel::math::base_type< StressType > *const | v, |
| const tfel::math::tmatrix< N, N, StressType > & | K ) |
export the tangent operator used by cohesive zone models.
| StressType | numeric type used |
| N | space dimension |
| [out] | v | exported values |
| [in] | K | computed tangent operator |
| void mfront::gb::exportTangentOperator | ( | tfel::math::base_type< StressType > *const | v, |
| const tfel::math::tvector< N, StressType > & | K ) |
export the tangent operator used by some generic behaviours.
| StressType | numeric type used |
| N | size of the array containing the tangent operator |
| [out] | v | exported values |
| [in] | K | computed tangent operator |
|
inline |
| [in] | K | initial values of the consistent tangent operator. |
|
inline |
| [in] | K | initial values of the consistent tangent operator. |
| int mfront::gb::integrate | ( | mfront_gb_BehaviourData & | d, |
| const typename Behaviour::SMFlag | f, | ||
| const tfel::material::OutOfBoundsPolicy | p ) |
integrate the behaviour over a time step
| Behaviour | class implementing the behaviour |
| [in,out] | d | behaviour data |
| [in] | f | choice of consistent tangent operator |
| [in] | p | out of bounds policy |
|
inline |
a simple function to report errors
| [in] | d | behaviour data |
| [in] | e | error message |
|
inline |
a simple function to report integration failure when an exception is thrown.
| [in] | d | behaviour data |