1 #ifndef ODEINT_FACTORY0_H_INCLUDED
2 #define ODEINT_FACTORY0_H_INCLUDED
37 using State = OdeintTraits<>::State;
38 using System = OdeintTraits<State>::System;
39 using Solver = OdeintTraits<State>::Solver;
42 Solver Create(
const std::string& name)
44 return m_f0_map.
Get(name)();
55 std::list<std::string> List()
const
57 return m_f0_map.
List();
61 OdeintFactories0Map m_f0_map;
66 #endif // end_of_include_guard
Odeint traits header file.
Interface for OdeintFactories0Map.
Produces factory function for odeint integrator algorithm.
Namespace for the core simulator.
bool IsValid(const std::string &name) const
Check whether function name is present.
std::list< std::string > List() const
List the names.
bool ProvidesSolver(const std::string &name) const
Returns true iff this factory can provide the requested solver.
FunctionType Get(const std::string &name) const
Return function for given name.