tfel
Loading...
Searching...
No Matches
dianafea::DianaFEAInterfaceExceptions Class Reference

Exceptions class for DianaFEA interfaces. More...

#include </home/runner/work/tfel/tfel/mfront/include/MFront/DianaFEA/DianaFEAInterfaceExceptions.hxx>

Inheritance diagram for dianafea::DianaFEAInterfaceExceptions:
dianafea::DianaFEAInterface< H, Behaviour >

Static Public Member Functions

static void throwUnMatchedNumberOfMaterialProperties (const std::string &, const unsigned short n1, const DianaFEAInt n2)
 throw an DianaFEAException. This method shall be called when the number of materials properties declared by the beahviour and the number of materials properties declared by the interface does not match.
static void throwUnMatchedNumberOfStateVariables (const std::string &, const unsigned short n1, const DianaFEAInt n2)
 throw an DianaFEAException. This method shall be called when the number of state variables declared by the beahviour and the number of state variables declared by the interface does not match.
static void treatDianaFEAException (const std::string &, const DianaFEAException &)
 display the error message out of an DianaFEAException 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 DianaFEAException if the time step is negative
static void throwBehaviourInitializationFailedException (const std::string &)
 throw an DianaFEAException if the initialization of the behaviour failed
static void throwBehaviourIntegrationFailedException (const std::string &)
 throw an DianaFEAException if the behaviour integration failed
static void throwPredictionComputationFailedException (const std::string &)
 throw an DianaFEAException if the prediction computation failed
static void throwConsistentTangentOperatorIsNotAvalaible (const std::string &)
 throw an DianaFEAException 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 DianaFEAException 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

Exceptions class for DianaFEA interfaces.

Author
Thomas Helfer
Date
12/12/2011

Member Function Documentation

◆ throwBehaviourInitializationFailedException()

void dianafea::DianaFEAInterfaceExceptions::throwBehaviourInitializationFailedException ( const std::string & )
static

throw an DianaFEAException if the initialization of the behaviour failed

Parameters
[in]b: behaviour name

◆ throwBehaviourIntegrationFailedException()

void dianafea::DianaFEAInterfaceExceptions::throwBehaviourIntegrationFailedException ( const std::string & )
static

throw an DianaFEAException if the behaviour integration failed

Parameters
[in]b: behaviour name

◆ throwConsistentTangentOperatorIsNotAvalaible()

void dianafea::DianaFEAInterfaceExceptions::throwConsistentTangentOperatorIsNotAvalaible ( const std::string & )
static

throw an DianaFEAException if the a consistent tangent operator has to been requested and that the behaviour does not provide one.

Parameters
[in]b: behaviour name

◆ throwNegativeTimeStepException()

void dianafea::DianaFEAInterfaceExceptions::throwNegativeTimeStepException ( const std::string & )
static

throw an DianaFEAException if the time step is negative

Parameters
[in]b: behaviour name

◆ throwPredictionComputationFailedException()

void dianafea::DianaFEAInterfaceExceptions::throwPredictionComputationFailedException ( const std::string & )
static

throw an DianaFEAException if the prediction computation failed

Parameters
[in]b: behaviour name

◆ throwPredictionOperatorIsNotAvalaible()

void dianafea::DianaFEAInterfaceExceptions::throwPredictionOperatorIsNotAvalaible ( const std::string & )
static

throw an DianaFEAException if the a prediction operator has to been requested and that the behaviour does not provide one.

Parameters
[in]b: behaviour name

◆ throwUnMatchedNumberOfMaterialProperties()

void dianafea::DianaFEAInterfaceExceptions::throwUnMatchedNumberOfMaterialProperties ( const std::string & ,
const unsigned short n1,
const DianaFEAInt n2 )
static

throw an DianaFEAException. This method shall be called when the number of materials properties declared by the beahviour and the number of materials properties declared by the interface does not match.

Parameters
[in]b: behaviour name
[in]n1: number of material properties declared by the behaviour
[in]n2: number of material properties declared by the interface

◆ throwUnMatchedNumberOfStateVariables()

void dianafea::DianaFEAInterfaceExceptions::throwUnMatchedNumberOfStateVariables ( const std::string & ,
const unsigned short n1,
const DianaFEAInt n2 )
static

throw an DianaFEAException. This method shall be called when the number of state variables declared by the beahviour and the number of state variables declared by the interface does not match.

Parameters
[in]b: behaviour name
[in]n1: number of state variables declared by the behaviour
[in]n2: number of state variables declared by the interface

◆ throwUnsupportedStressFreeExpansionException()

void dianafea::DianaFEAInterfaceExceptions::throwUnsupportedStressFreeExpansionException ( const std::string & )
static

display an error message if the behaviour shall handle stress free expansion and that the umat interface can't

Parameters
[in]b: behaviour name

◆ treatDianaFEAException()

void dianafea::DianaFEAInterfaceExceptions::treatDianaFEAException ( const std::string & ,
const DianaFEAException &  )
static

display the error message out of an DianaFEAException to the standard output.

Parameters
[in]b: behaviour name
[in]e: the DianaFEAException to be treated

◆ treatMaterialException()

void dianafea::DianaFEAInterfaceExceptions::treatMaterialException ( const std::string & ,
const tfel::material::MaterialException &  )
static

display the error message out of a material exception to the standard output.

Parameters
[in]b: behaviour name
[in]e: the material exception to be treated

◆ treatStandardException()

void dianafea::DianaFEAInterfaceExceptions::treatStandardException ( const std::string & ,
const std::exception &  )
static

display the error message out of a generic standard exception to the standard output.

Parameters
[in]b: behaviour name
[in]e: the exception to be treated

◆ treatTFELException()

void dianafea::DianaFEAInterfaceExceptions::treatTFELException ( const std::string & ,
const tfel::exception::TFELException &  )
static

display the error message out of a generic tfel exception to the standard output.

Parameters
[in]b: behaviour name
[in]e: the exception to be treated

◆ treatUnknownException()

void dianafea::DianaFEAInterfaceExceptions::treatUnknownException ( const std::string & )
static

display the error message when an unknown exception is caught

Parameters
[in]b: behaviour name

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