tfel
Loading...
Searching...
No Matches
mfront::NonLinearSystemSolverFactory Struct Reference

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

Public Types

typedef std::shared_ptr< AbstractNonLinearSystemSolver >(* constructor) ()
 a simple alias

Public Member Functions

 NonLinearSystemSolverFactory (const NonLinearSystemSolverFactory &)=delete
NonLinearSystemSolverFactory & operator= (const NonLinearSystemSolverFactory &)=delete
std::shared_ptr< AbstractNonLinearSystemSolver > getSolver (const std::string &) const
void registerSolver (const std::string &, const constructor)
std::vector< std::string > getRegistredSolvers () const

Static Public Member Functions

static NonLinearSystemSolverFactory & getNonLinearSystemSolverFactory ()

Detailed Description

register the non linear solvers used by the implicit parser

Member Function Documentation

◆ getNonLinearSystemSolverFactory()

NonLinearSystemSolverFactory & mfront::NonLinearSystemSolverFactory::getNonLinearSystemSolverFactory ( )
staticnodiscard
Returns
the uniq instance of the solver factory

◆ getSolver()

std::shared_ptr< AbstractNonLinearSystemSolver > mfront::NonLinearSystemSolverFactory::getSolver ( const std::string & ) const
nodiscard
Returns
the requested solver
Parameters
[in]a: solver name

◆ registerSolver()

void mfront::NonLinearSystemSolverFactory::registerSolver ( const std::string & ,
const constructor  )
Parameters
[in]a: solver name
[in]c: solver constructor

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