PolyFEM
|
#include <ProblemFactory.hpp>
Public Member Functions | |
std::shared_ptr< assembler::Problem > | get_problem (const std::string &problem) const |
const std::vector< std::string > & | get_problem_names () const |
Static Public Member Functions | |
static const ProblemFactory & | factory () |
Private Member Functions | |
ProblemFactory () | |
Private Attributes | |
std::map< std::string, std::function< std::shared_ptr< assembler::Problem >()> > | problems_ |
std::vector< std::string > | problem_names_ |
Definition at line 13 of file ProblemFactory.hpp.
|
private |
Definition at line 29 of file ProblemFactory.cpp.
References problem_names_, and problems_.
|
static |
Definition at line 22 of file ProblemFactory.cpp.
Referenced by polyfem::State::init(), and polyfem::State::State().
std::shared_ptr< Problem > polyfem::problem::ProblemFactory::get_problem | ( | const std::string & | problem | ) | const |
Definition at line 84 of file ProblemFactory.cpp.
References polyfem::logger(), and problems_.
Referenced by polyfem::State::init(), and polyfem::State::State().
|
inline |
Definition at line 19 of file ProblemFactory.hpp.
References problem_names_.
|
private |
Definition at line 24 of file ProblemFactory.hpp.
Referenced by get_problem_names(), and ProblemFactory().
|
private |
Definition at line 23 of file ProblemFactory.hpp.
Referenced by get_problem(), and ProblemFactory().