tfel
Loading...
Searching...
No Matches
lsdyna::LSDYNAInterface< H, Behaviour > Class Template Reference

This class create an interface between a behaviour class and the lsdyna finite element code. More...

#include </home/runner/work/tfel/tfel/mfront/include/MFront/LSDYNA/LSDYNAInterface.hxx>

Inheritance diagram for lsdyna::LSDYNAInterface< H, Behaviour >:
lsdyna::LSDYNAInterfaceExceptions

Static Public Member Functions

static TFEL_LSDYNA_INLINE2 int exe (const LSDYNAData &d)

Additional Inherited Members

Static Protected Member Functions inherited from lsdyna::LSDYNAInterfaceExceptions
static void throwInvalidTensorSize (const std::string &, const unsigned short n1, const LSDYNAInt n2)
 throw an LSDYNAException. This method shall be called when the number of components of symmetric tensors for the current hypothesis does not match the the number of components of symmetric tensors given by LSDYNA/Standard
static void throwUnMatchedNumberOfMaterialProperties (const std::string &, const unsigned short n1, const LSDYNAInt n2)
 throw an LSDYNAException. This method shall be called when the number of materials properties declared by the behaviour and the number of materials properties declared by the interface does not match.
static void throwUnMatchedNumberOfStateVariables (const std::string &, const unsigned short n1, const LSDYNAInt n2)
 throw an LSDYNAException. This method shall be called when the number of state variables declared by the behaviour and the number of state variables declared by the interface does not match.
static void treatLSDYNAException (const std::string &, const LSDYNAException &)
 display the error message out of an LSDYNAException to the standard output.
static void treatMaterialException (const std::string &, const tfel::material::MaterialException &)
 display the error message out of a material exception to the standard output.
static void treatTFELException (const std::string &, const tfel::exception::TFELException &)
 display the error message out of a generic tfel exception to the standard output.
static void treatStandardException (const std::string &, const std::exception &)
 display the error message out of a generic standard exception to the standard output.
static void treatUnknownException (const std::string &)
 display the error message when an unknown exception is caught
static void throwNegativeTimeStepException (const std::string &)
 throw an LSDYNAException if the time step is negative
static void throwPredictionComputationFailedException (const std::string &)
 throw an LSDYNAException if the prediction computation failed
static void throwConsistentTangentOperatorIsNotAvalaible (const std::string &)
 throw an LSDYNAException if the a consistent tangent operator has to been requested and that the behaviour does not provide one.
static void throwPredictionOperatorIsNotAvalaible (const std::string &)
 throw an LSDYNAException if the a prediction operator has to been requested and that the behaviour does not provide one.
static void throwUnsupportedStressFreeExpansionException (const std::string &)
 display an error message if the behaviour shall handle stress free expansion and that the umat interface can't
static void displayUnsupportedHypothesisMessage ()
 display an error message if the value of the NTENS parameter is not valid

Detailed Description

template<tfel::material::ModellingHypothesis::Hypothesis H, template< tfel::material::ModellingHypothesis::Hypothesis, typename, bool > class Behaviour>
class lsdyna::LSDYNAInterface< H, Behaviour >

This class create an interface between a behaviour class and the lsdyna finite element code.

Note
: most of branching is done at compile-time. to the very exeception of the stress-free expansion which are handled through two functions pointers which take into account the specificities of finite strain strategy used. The choice of introducing those runtime-functions comes from the fact that we did not want a code duplication between two different finite strain strategies (to reduce both compile-time and library size).

The documentation for this class was generated from the following file: