1 #ifndef ODEINT_FACTORY2_H_INCLUDED 
    2 #define ODEINT_FACTORY2_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, 
double eps_abs, 
double eps_rel)
 
   44                 return m_f2_map.
Get(name)(eps_abs, eps_rel);
 
   55         std::list<std::string> List()
 const 
   57                 return m_f2_map.
List();
 
   61         OdeintFactories2Map  m_f2_map;
 
   66 #endif // end_of_include_guard 
Produces factory function for odeint integrator algorithm. 
 
Odeint traits header file. 
 
Namespace for the core simulator. 
 
bool IsValid(const std::string &name) const 
Check whether function name is present. 
 
Interface for OdeintFactories2Map. 
 
std::list< std::string > List() const 
List the names. 
 
FunctionType Get(const std::string &name) const 
Return function for given name. 
 
bool ProvidesSolver(const std::string &name) const 
Returns true iff this factory can provide the requested solver.