tfel
Loading...
Searching...
No Matches
aster::AsterInterfaceExceptions Class Reference

Exceptions class for Aster interfaces. More...

#include </home/runner/work/tfel/tfel/mfront/include/MFront/Aster/AsterInterfaceExceptions.hxx>

Inheritance diagram for aster::AsterInterfaceExceptions:
aster::AsterInterface< Behaviour >

Static Public Member Functions

static void throwUnMatchedNumberOfMaterialProperties (const std::string_view, const unsigned short n1, const AsterInt n2)
 throw an AsterException. 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_view, const unsigned short n1, const AsterInt n2)
 throw an AsterException. 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 treatAsterException (const std::string_view, const AsterException &)
 display the error message out of an AsterException to the standard output.
static void treatMaterialException (const std::string_view, const tfel::material::MaterialException &)
 display the error message out of a material exception to the standard output.
static void treatTFELException (const std::string_view, const tfel::exception::TFELException &)
 display the error message out of a generic tfel exception to the standard output.
static void treatStandardException (const std::string_view, const std::exception &)
 display the error message out of a generic standard exception to the standard output.
static void treatUnknownException (const std::string_view)
 display the error message when an unknown exception is caught
static void throwNegativeTimeStepException (const std::string_view)
 throw an AsterException if the time step is negative
static void throwInvalidDDSOEException (const std::string_view, const AsterReal)
 throw an AsterException if the DDSOE parameter is invalid
static void throwBehaviourInitializationFailedException (const std::string_view)
 throw an AsterException if the behaviour integration failed
static void throwPredictionComputationFailedException (const std::string_view)
 throw an AsterException if the prediction computation failed
static void throwBehaviourIntegrationFailedException (const std::string_view)
 throw an AsterException if the behaviour integration failed
static void throwConsistentTangentOperatorIsNotAvalaible (const std::string_view)
 throw an AsterException if the a consistent tangent operator has to been requested and that the behaviour does not provide one.
static void throwPredictionOperatorIsNotAvalaible (const std::string_view)
 throw an AsterException if the a prediction operator has to been requested and that the behaviour does not provide one.
static void throwUnsupportedStressFreeExpansionException (const std::string_view)
 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 Aster interfaces.

Author
Thomas Helfer
Date
12/12/2011

Member Function Documentation

◆ throwBehaviourInitializationFailedException()

void aster::AsterInterfaceExceptions::throwBehaviourInitializationFailedException ( const std::string_view )
static

throw an AsterException if the behaviour integration failed

Parameters
[in]b: behaviour name

◆ throwBehaviourIntegrationFailedException()

void aster::AsterInterfaceExceptions::throwBehaviourIntegrationFailedException ( const std::string_view )
static

throw an AsterException if the behaviour integration failed

Parameters
[in]b: behaviour name

◆ throwConsistentTangentOperatorIsNotAvalaible()

void aster::AsterInterfaceExceptions::throwConsistentTangentOperatorIsNotAvalaible ( const std::string_view )
static

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

Parameters
[in]b: behaviour name

◆ throwInvalidDDSOEException()

void aster::AsterInterfaceExceptions::throwInvalidDDSOEException ( const std::string_view ,
const AsterReal  )
static

throw an AsterException if the DDSOE parameter is invalid

Parameters
[in]b: behaviour name
[in]v: DDSOE value

◆ throwNegativeTimeStepException()

void aster::AsterInterfaceExceptions::throwNegativeTimeStepException ( const std::string_view )
static

throw an AsterException if the time step is negative

Parameters
[in]b: behaviour name

◆ throwPredictionComputationFailedException()

void aster::AsterInterfaceExceptions::throwPredictionComputationFailedException ( const std::string_view )
static

throw an AsterException if the prediction computation failed

Parameters
[in]b: behaviour name

◆ throwPredictionOperatorIsNotAvalaible()

void aster::AsterInterfaceExceptions::throwPredictionOperatorIsNotAvalaible ( const std::string_view )
static

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

Parameters
[in]b: behaviour name

◆ throwUnMatchedNumberOfMaterialProperties()

void aster::AsterInterfaceExceptions::throwUnMatchedNumberOfMaterialProperties ( const std::string_view ,
const unsigned short n1,
const AsterInt n2 )
static

throw an AsterException. 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 aster::AsterInterfaceExceptions::throwUnMatchedNumberOfStateVariables ( const std::string_view ,
const unsigned short n1,
const AsterInt n2 )
static

throw an AsterException. 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 aster::AsterInterfaceExceptions::throwUnsupportedStressFreeExpansionException ( const std::string_view )
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

◆ treatAsterException()

void aster::AsterInterfaceExceptions::treatAsterException ( const std::string_view ,
const AsterException &  )
static

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

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

◆ treatMaterialException()

void aster::AsterInterfaceExceptions::treatMaterialException ( const std::string_view ,
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 aster::AsterInterfaceExceptions::treatStandardException ( const std::string_view ,
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 aster::AsterInterfaceExceptions::treatTFELException ( const std::string_view ,
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 aster::AsterInterfaceExceptions::treatUnknownException ( const std::string_view )
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: