tfel
Loading...
Searching...
No Matches
aster::AsterInterface< Behaviour > Class Template Reference

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

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

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

Static Public Member Functions

static TFEL_ASTER_INLINE2 int exe (char *const emsg, const AsterInt *const NTENS, const AsterReal *const DTIME, const AsterReal *const DROT, AsterReal *const DDSOE, const AsterReal *const STRAN, const AsterReal *const DSTRAN, const AsterReal *const TEMP, const AsterReal *const DTEMP, const AsterReal *const PROPS, const AsterInt *const NPROPS, const AsterReal *const PREDEF, const AsterReal *const DPRED, AsterReal *const STATEV, const AsterInt *const NSTATV, AsterReal *const STRESS, const AsterInt *const NUMMOD, const tfel::material::OutOfBoundsPolicy op, const StressFreeExpansionHandler &sfeh)

Additional Inherited Members

Static Protected Member Functions inherited from aster::AsterInterfaceExceptions
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

template<template< tfel::material::ModellingHypothesis::Hypothesis, typename, bool > class Behaviour>
class aster::AsterInterface< Behaviour >

This class create an interface between a behaviour class and the aster 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).
Author
Thomas Helfer
Date
28/07/2006

Member Function Documentation

◆ exe()

template<template< tfel::material::ModellingHypothesis::Hypothesis, typename, bool > class Behaviour>
TFEL_ASTER_INLINE2 int aster::AsterInterface< Behaviour >::exe ( char *const emsg,
const AsterInt *const NTENS,
const AsterReal *const DTIME,
const AsterReal *const DROT,
AsterReal *const DDSOE,
const AsterReal *const STRAN,
const AsterReal *const DSTRAN,
const AsterReal *const TEMP,
const AsterReal *const DTEMP,
const AsterReal *const PROPS,
const AsterInt *const NPROPS,
const AsterReal *const PREDEF,
const AsterReal *const DPRED,
AsterReal *const STATEV,
const AsterInt *const NSTATV,
AsterReal *const STRESS,
const AsterInt *const NUMMOD,
const tfel::material::OutOfBoundsPolicy op,
const StressFreeExpansionHandler & sfeh )
inlinestatic

L'hypothèse de déformations planes généralisées n'est pas supportée dans Aster (version 12.x) Cette hypothèse doit être appelée quand les contraintes planes sont traitées par l'algorithme de De Borst.


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