abstract factory for inelastic Flows.
More...
#include </home/runner/work/tfel/tfel/mfront/include/MFront/BehaviourBrick/PorosityNucleationModelFactory.hxx>
|
|
| PorosityNucleationModelFactory (PorosityNucleationModelFactory &&)=delete |
|
| PorosityNucleationModelFactory (const PorosityNucleationModelFactory &)=delete |
|
PorosityNucleationModelFactory & | operator= (PorosityNucleationModelFactory &&)=delete |
|
PorosityNucleationModelFactory & | operator= (const PorosityNucleationModelFactory &)=delete |
| void | addGenerator (const std::string &, const Generator &) |
| | add a new generator
|
| std::vector< std::string > | getRegistredPorosityNucleationModels () const |
| std::shared_ptr< PorosityNucleationModel > | generate (const std::string &) const |
| | generate a new inelastic flow
|
|
| static PorosityNucleationModelFactory & | getFactory () |
abstract factory for inelastic Flows.
◆ addGenerator()
| void mfront::bbrick::PorosityNucleationModelFactory::addGenerator |
( |
const std::string & | , |
|
|
const Generator & | ) |
add a new generator
- Parameters
-
| [in] | n | name of the generator |
| [in] | g | generator |
◆ generate()
| std::shared_ptr< PorosityNucleationModel > mfront::bbrick::PorosityNucleationModelFactory::generate |
( |
const std::string & | | ) |
const |
|
nodiscard |
generate a new inelastic flow
- Parameters
-
| [in] | n | name of the inelastic flow |
◆ getFactory()
| PorosityNucleationModelFactory & mfront::bbrick::PorosityNucleationModelFactory::getFactory |
( |
| ) |
|
|
staticnodiscard |
- Returns
- the uniq instance of the class
◆ getRegistredPorosityNucleationModels()
| std::vector< std::string > mfront::bbrick::PorosityNucleationModelFactory::getRegistredPorosityNucleationModels |
( |
| ) |
const |
|
nodiscard |
- Returns
- the list of available inelastic flows
The documentation for this struct was generated from the following file: