26 #ifndef CASADI_ERK_HPP
27 #define CASADI_ERK_HPP
29 #include "casadi/core/runtime_integrator.hpp"
30 #include <casadi/solvers/casadi_integrator_erk_export.h>
71 Erk(
const std::string& name,
const Function& dae,
double t0,
72 const std::vector<double>& tout);
76 double t0,
const std::vector<double>& tout) {
77 return new Erk(name, dae, t0, tout);
96 void init(
const Dict& opts)
override;
99 void set_work(
void* mem,
const double**& arg,
double**& res,
100 casadi_int*& iw,
double*& w)
const override;
133 void set_coefficients();
Helper class for C code generation.
Helper class for Serialization.
'erk' plugin for Integrator
const char * plugin_name() const override
bool needs_jacobian() const override
Does the method linearize (tasks EVAL_JAC, EVAL_JAC_ADJ)?
static Integrator * creator(const std::string &name, const Function &dae, double t0, const std::vector< double > &tout)
Create a new integrator.
static ProtoFunction * deserialize(DeserializingStream &s)
Deserialize into MX.
const Options & get_options() const override
Options.
void free_mem(void *mem) const override
Free memory block.
static const std::string meta_doc
A documentation string.
std::string class_name() const override
Readable name of the internal class.
void * alloc_mem() const override
Create memory block.
static const Options options_
Options.
Internal storage for integrator related data.
Base class for FunctionInternal and LinsolInternal.
Base class of one-step integrators driven by a reverse communication kernel.
Helper class for Serialization.
GenericType::Dict Dict
C++ equivalent of Python's dict or MATLAB's struct.
casadi_erk_data< double > e
Options metadata for a class.