tfel
Loading...
Searching...
No Matches
cyrano::CyranoInterface< Behaviour > Class Template Reference

This class create an interface between Behaviour and Cyrano. More...

#include </home/runner/work/tfel/tfel/mfront/include/MFront/Cyrano/CyranoInterface.hxx>

Inheritance diagram for cyrano::CyranoInterface< Behaviour >:
cyrano::CyranoInterfaceExceptions

Static Public Member Functions

static TFEL_CYRANO_INLINE2 void exe (const CyranoInt *const NTENS, const CyranoReal *const DTIME, const CyranoReal *const DROT, CyranoReal *const DDSOE, const CyranoReal *const STRAN, const CyranoReal *const DSTRAN, const CyranoReal *const TEMP, const CyranoReal *const DTEMP, const CyranoReal *const PROPS, const CyranoInt *const NPROPS, const CyranoReal *const PREDEF, const CyranoReal *const DPRED, CyranoReal *const STATEV, const CyranoInt *const NSTATV, CyranoReal *const STRESS, const CyranoInt *const NDI, CyranoInt *const KINC, const StressFreeExpansionHandler sfeh, const tfel::material::OutOfBoundsPolicy op)
template<tfel::material::ModellingHypothesis::Hypothesis H>
static TFEL_CYRANO_INLINE2 void callBehaviour (const CyranoInt *const NTENS, const CyranoReal *const DTIME, const CyranoReal *const DROT, CyranoReal *const DDSOE, const CyranoReal *const STRAN, const CyranoReal *const DSTRAN, const CyranoReal *const TEMP, const CyranoReal *const DTEMP, const CyranoReal *const PROPS, const CyranoInt *const NPROPS, const CyranoReal *const PREDEF, const CyranoReal *const DPRED, CyranoReal *const STATEV, const CyranoInt *const NSTATV, CyranoReal *const STRESS, CyranoInt *const KINC, const StressFreeExpansionHandler sfeh, const tfel::material::OutOfBoundsPolicy op)

Additional Inherited Members

Static Protected Member Functions inherited from cyrano::CyranoInterfaceExceptions
static void throwUnMatchedNumberOfMaterialProperties (const std::string_view, const unsigned short n1, const CyranoInt n2)
 throw a CyranoException. 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 CyranoInt n2)
 throw a CyranoException. 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 treatCyranoException (const std::string_view, const CyranoException &)
 display the error message out of a CyranoException 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 a CyranoException if the time step is negative
static void throwBehaviourIntegrationFailedException (const std::string_view)
 throw a CyranoException if the behaviour integration failed
static void throwMaximumNumberOfSubSteppingReachedException (const std::string_view)
 throw a CyranoException if the maximum number of sub stepping has been reached
static void throwPlaneStressMaximumNumberOfIterationsReachedException (const std::string_view)
 throw a CyranoException if the maximum number of sub stepping has been reached
static void throwInvalidDDSOEException (const std::string_view, const CyranoReal)
 throw a CyranoException if the DDSOE parameter is invalid
static void throwBehaviourInitializationFailedException (const std::string_view)
 throw a CyranoException if the behaviour initialization failed
static void throwPredictionComputationFailedException (const std::string_view)
 throw a CyranoException if the prediction computation failed
static void throwConsistentTangentOperatorIsNotAvalaible (const std::string_view)
 throw a CyranoException 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 a CyranoException 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 cyrano interface can't
static void throwThermalExpansionCoefficientShallBeNull (const std::string_view)
 display an error message if the thermal expansion is not null
static void checkNTENSValue (const CyranoInt, const unsigned short)
 throw an error message if the value of the NTENS parameter is not valid
static void throwInvalidBehaviourTypeAndModellingHypothesis (const std::string_view)
 throw an error message if the behaviour type is not supported for the given hypothesis
static void displayInvalidModellingHypothesisErrorMessage ()
 display an error message if the value of the NDI parameter is not valid

Detailed Description

template<template< tfel::material::ModellingHypothesis::Hypothesis, typename, bool > class Behaviour>
class cyrano::CyranoInterface< Behaviour >

This class create an interface between Behaviour and Cyrano.

Author
Thomas Helfer
Date
28/07/2006

Member Function Documentation

◆ exe()

template<template< tfel::material::ModellingHypothesis::Hypothesis, typename, bool > class Behaviour>
TFEL_CYRANO_INLINE2 void cyrano::CyranoInterface< Behaviour >::exe ( const CyranoInt *const NTENS,
const CyranoReal *const DTIME,
const CyranoReal *const DROT,
CyranoReal *const DDSOE,
const CyranoReal *const STRAN,
const CyranoReal *const DSTRAN,
const CyranoReal *const TEMP,
const CyranoReal *const DTEMP,
const CyranoReal *const PROPS,
const CyranoInt *const NPROPS,
const CyranoReal *const PREDEF,
const CyranoReal *const DPRED,
CyranoReal *const STATEV,
const CyranoInt *const NSTATV,
CyranoReal *const STRESS,
const CyranoInt *const NDI,
CyranoInt *const KINC,
const StressFreeExpansionHandler sfeh,
const tfel::material::OutOfBoundsPolicy op )
inlinestatic

Main entry point This barely make a dispatch based on the spatial dimension and the modelling hypothesis.


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