26 #ifndef CASADI_COLLOCATION_HPP
27 #define CASADI_COLLOCATION_HPP
29 #include "casadi/core/integrator_impl.hpp"
30 #include "casadi/core/integration_tools.hpp"
31 #include <casadi/solvers/casadi_integrator_collocation_export.h>
62 double t0,
const std::vector<double>& tout);
66 double t0,
const std::vector<double>& tout) {
74 const char*
plugin_name()
const override {
return "collocation";}
77 std::string
class_name()
const override {
return "Collocation";}
86 void init(
const Dict& opts)
override;
89 void setup_step()
override;
97 MX algebraic_state_init(
const MX& x0,
const MX& z0)
const override;
98 MX algebraic_state_output(
const MX& Z)
const override;
'collocation' plugin for Integrator
std::string class_name() const override
Readable name of the internal class.
const char * plugin_name() const override
static double zeroIfSmall(double x)
const Options & get_options() const override
Options.
static ProtoFunction * deserialize(DeserializingStream &s)
Deserialize into MX.
static Integrator * creator(const std::string &name, const Function &dae, double t0, const std::vector< double > &tout)
Create a new integrator.
std::string collocation_scheme_
static const std::string meta_doc
A documentation string.
static const Options options_
Options.
Helper class for Serialization.
Internal storage for integrator related data.
Base class for FunctionInternal and LinsolInternal.
Helper class for Serialization.
GenericType::Dict Dict
C++ equivalent of Python's dict or MATLAB's struct.
Options metadata for a class.