tfel
Loading...
Searching...
No Matches
mfront::bbrick::IsotropicHardeningRuleFactory Struct Reference

abstract factory for isotropic hardening rules. More...

#include </home/runner/work/tfel/tfel/mfront/include/MFront/BehaviourBrick/IsotropicHardeningRuleFactory.hxx>

Public Types

using Generator = std::function<std::shared_ptr<IsotropicHardeningRule>()>
 a simple alias

Public Member Functions

 IsotropicHardeningRuleFactory (IsotropicHardeningRuleFactory &&)=delete
 IsotropicHardeningRuleFactory (const IsotropicHardeningRuleFactory &)=delete
IsotropicHardeningRuleFactory & operator= (IsotropicHardeningRuleFactory &&)=delete
IsotropicHardeningRuleFactory & operator= (const IsotropicHardeningRuleFactory &)=delete
std::vector< std::string > getRegistredIsotropicHardeningRules () const
 return the list of available isotropic hardening rules
void addGenerator (const std::string &, const Generator &)
 add a new generator
std::shared_ptr< IsotropicHardeningRule > generate (const std::string &) const
 generate a new inelastic potential

Static Public Member Functions

static IsotropicHardeningRuleFactory & getFactory ()

Detailed Description

abstract factory for isotropic hardening rules.

Member Function Documentation

◆ addGenerator()

void mfront::bbrick::IsotropicHardeningRuleFactory::addGenerator ( const std::string & ,
const Generator &  )

add a new generator

Parameters
[in]nname of the generator
[in]ggenerator

◆ generate()

std::shared_ptr< IsotropicHardeningRule > mfront::bbrick::IsotropicHardeningRuleFactory::generate ( const std::string & ) const
nodiscard

generate a new inelastic potential

Parameters
[in]nname of the inelastic potential

◆ getFactory()

IsotropicHardeningRuleFactory & mfront::bbrick::IsotropicHardeningRuleFactory::getFactory ( )
staticnodiscard
Returns
the uniq instance of the class

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