51 unsigned const num_equations);
53 void setTolerance(
double const*
const abstol,
const double reltol);
54 void setTolerance(
const double abstol,
const double reltol);
56 void setFunction(std::unique_ptr<detail::FunctionHandles>&& f);
58 void setIC(
const double t0,
double const*
const y0);
61 bool solve(
const double t_end);
66 double const*
const y,
67 double*
const y_dot)
const;
73 std::unique_ptr<CVodeSolverImpl>
impl_;
std::unique_ptr< CVodeSolverImpl > impl_
pimpl idiom.
void setFunction(std::unique_ptr< detail::FunctionHandles > &&f)
bool solve(const double t_end)
void setTolerance(double const *const abstol, const double reltol)
void setIC(const double t0, double const *const y0)
void getYDot(const double t, double const *const y, double *const y_dot) const
double const * getSolution() const
CVodeSolver(BaseLib::ConfigTree const &config, unsigned const num_equations)