CAPD DynSys Library  5.2.0
capd::threading::SolverPool< Solver > Struct Template Reference

#include <capd/threading/SolverPool.h>

Public Member Functions

 SolverPool (unsigned poolSize, const SolverFactory< Solver > &factory)
 
 ~SolverPool ()
 
void setOrder (int order)
 
void setTolerance (double absTolerance, double relTolerance)
 
SolvergetSolver (int id)
 

Public Attributes

std::vector< Solver * > _solver
 

Constructor & Destructor Documentation

◆ SolverPool()

template<class Solver >
capd::threading::SolverPool< Solver >::SolverPool ( unsigned  poolSize,
const SolverFactory< Solver > &  factory 
)
inline

◆ ~SolverPool()

template<class Solver >
capd::threading::SolverPool< Solver >::~SolverPool ( )
inline

Member Function Documentation

◆ getSolver()

template<class Solver >
Solver& capd::threading::SolverPool< Solver >::getSolver ( int  id)
inline

◆ setOrder()

template<class Solver >
void capd::threading::SolverPool< Solver >::setOrder ( int  order)
inline

◆ setTolerance()

template<class Solver >
void capd::threading::SolverPool< Solver >::setTolerance ( double  absTolerance,
double  relTolerance 
)
inline

Member Data Documentation

◆ _solver

template<class Solver >
std::vector<Solver*> capd::threading::SolverPool< Solver >::_solver