tfel
Loading...
Searching...
No Matches
mfront::FiniteStrainSingleCrystalBrick Struct Reference
Inheritance diagram for mfront::FiniteStrainSingleCrystalBrick:
mfront::BehaviourBrickBase mfront::AbstractBehaviourBrick

Public Member Functions

 FiniteStrainSingleCrystalBrick (AbstractBehaviourDSL &, BehaviourDescription &)
 constructor
BehaviourBrickDescription getDescription () const override
std::vector< bbrick::OptionDescription > getOptions (const bool) const override
std::string getName () const override
 return the name of the brick
void initialize (const Parameters &, const DataMap &) override
 intialize the brick
std::vector< Hypothesis > getSupportedModellingHypotheses () const override
 This method returns the list of supported modelling hypotheses that are supported by the brick.
void completeVariableDeclaration () const override
 complete the variable description
void endTreatment () const override
 method called at the end of the input file processing
 ~FiniteStrainSingleCrystalBrick () override
 destructor
Public Member Functions inherited from mfront::BehaviourBrickBase
 BehaviourBrickBase (AbstractBehaviourDSL &, BehaviourDescription &)
std::pair< bool, tokens_iterator > treatKeyword (const std::string &, tokens_iterator &, const tokens_iterator) override
 treat a keyword
 ~BehaviourBrickBase () override
 destructor
Public Member Functions inherited from mfront::AbstractBehaviourBrick
virtual ~AbstractBehaviourBrick ()
 descructor

Static Public Attributes

static const char *const shiftedDeformationGradientOption
static const char *const shiftedDeformationGradientAttribute
static const char *const normalisationCorrectionsOption
static const char *const normalisationCorrectionsAttribute

Additional Inherited Members

Public Types inherited from mfront::AbstractBehaviourBrick
using ModellingHypothesis = tfel::material::ModellingHypothesis
 a simple alias
using Hypothesis = ModellingHypothesis::Hypothesis
 a simple alias
using CxxTokenizer = tfel::utilities::CxxTokenizer
 a simple alias
using tokens_iterator = CxxTokenizer::const_iterator
 a simple alias
using Parameters = std::map<std::string, std::string>
using Parameter = Parameters::value_type
 a simple alias
using Data = tfel::utilities::Data
 a simple alias
using DataMap = tfel::utilities::DataMap
 a simple alias
Protected Types inherited from mfront::BehaviourBrickBase
using GlossaryEntry = tfel::glossary::GlossaryEntry
 a simple alias
Protected Member Functions inherited from mfront::BehaviourBrickBase
virtual void checkOptionsNames (const DataMap &)
 check that the options names are in a given set of keys.
virtual void checkThatParameterHasNoValue (const Parameter &) const
 throw an exception if the given parameter has a value
virtual void addMaterialPropertyIfNotDefined (const std::string &, const std::string &, const GlossaryEntry &, const unsigned short=1u) const
 add a new material property
virtual void addMaterialPropertyIfNotDefined (const std::string &, const std::string &, const std::string &, const unsigned short=1u) const
 add a new material property
virtual void addExternalStateVariable (const std::string &, const std::string &, const unsigned short=1u) const
 add a new external state variable
virtual void addExternalStateVariable (const std::string &, const std::string &, const GlossaryEntry &, const unsigned short=1u) const
 add a new external state variable
virtual void addExternalStateVariable (const std::string &, const std::string &, const std::string &, const unsigned short=1u) const
 add a new external state variable
virtual void addLocalVariable (const std::string &, const std::string &, const unsigned short=1u) const
 add a new local variable
virtual void addParameter (const std::string &, const GlossaryEntry &e, const double) const
 add a new material property
virtual void addParameter (const std::string &, const GlossaryEntry &, const unsigned short, const double) const
 add a new material property
virtual void addParameter (const std::string &, const GlossaryEntry &, const unsigned short, const std::vector< double > &) const
 add a new material property
virtual void addParameter (const std::string &, const std::string &, const double) const
 add a new material property
virtual void addParameter (const std::string &, const std::string &, const unsigned short, const double) const
 add a new material property
virtual void addParameter (const std::string &, const std::string &, const unsigned short, const std::vector< double > &) const
 add a new material property
Protected Attributes inherited from mfront::BehaviourBrickBase
AbstractBehaviourDSL & dsl
 calling domain specific language
BehaviourDescription & bd
 mechanical behaviour description of which the BehaviourBrick acts

Constructor & Destructor Documentation

◆ FiniteStrainSingleCrystalBrick()

mfront::FiniteStrainSingleCrystalBrick::FiniteStrainSingleCrystalBrick ( AbstractBehaviourDSL & ,
BehaviourDescription &  )

constructor

Parameters
[in]dsl_: calling domain specific language
[in]bd_: mechanical behaviour description

Member Function Documentation

◆ completeVariableDeclaration()

void mfront::FiniteStrainSingleCrystalBrick::completeVariableDeclaration ( ) const
overridevirtual

complete the variable description

Implements mfront::AbstractBehaviourBrick.

◆ endTreatment()

void mfront::FiniteStrainSingleCrystalBrick::endTreatment ( ) const
overridevirtual

method called at the end of the input file processing

Implements mfront::AbstractBehaviourBrick.

◆ getDescription()

BehaviourBrickDescription mfront::FiniteStrainSingleCrystalBrick::getDescription ( ) const
nodiscardoverridevirtual
Returns
a description of the brick

Implements mfront::AbstractBehaviourBrick.

◆ getName()

std::string mfront::FiniteStrainSingleCrystalBrick::getName ( ) const
nodiscardoverridevirtual

return the name of the brick

Implements mfront::AbstractBehaviourBrick.

◆ getOptions()

std::vector< bbrick::OptionDescription > mfront::FiniteStrainSingleCrystalBrick::getOptions ( const bool ) const
nodiscardoverridevirtual
Parameters
[in]bif true, all options are returned. Otherwise, only the most adapted options for the behaviour are returned.
Returns
the description of the brick options

Implements mfront::AbstractBehaviourBrick.

◆ getSupportedModellingHypotheses()

std::vector< Hypothesis > mfront::FiniteStrainSingleCrystalBrick::getSupportedModellingHypotheses ( ) const
nodiscardoverridevirtual

This method returns the list of supported modelling hypotheses that are supported by the brick.

This method is called after the input file processing. Two cases may arise:

  • if the user has specified a list of supported modelling hypotheses, this list is used to check if the user's request can be fulfilled. If the brick returns an empty list, it means that the brick does not have any restriction.
  • if the user has not specified the list of supported modelling hypotheses, this method is used to select a list of supported modelling hypotheses. If the brick returns an empty list, it means that the brick does not participate to the modelling hypotheses selection. If all the bricks returns an empty list, a set of default modelling hypotheses is selected.

Implements mfront::AbstractBehaviourBrick.

◆ initialize()

void mfront::FiniteStrainSingleCrystalBrick::initialize ( const Parameters & ,
const DataMap &  )
overridevirtual

intialize the brick

Parameters
[in]pparameters
[in]ddata

Implements mfront::AbstractBehaviourBrick.


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