25#include <gsl/gsl_matrix.h>
26#include <gsl/gsl_errno.h>
27#include <gsl/gsl_odeiv.h>
29#include "../ParserLib/muParser.h"
30#include "../utils/tools.hpp"
31#include "../datamanagement/memorymanager.hpp"
34#include "../settings.hpp"
35#include "../ui/error.hpp"
48 static int odeFunction(
double x,
const double y[],
double dydx[],
void* params);
49 inline static int jacobian(
double x,
const double y[],
double dydx[],
double dfdt[],
void* params)
69 bool solve(
const std::string& sCmd);
This class implements the function definition managing instance.
This class represents the central memory managing instance. It will handle all tables and clusters,...
static mu::Parser * _odeParser
static int odeFunction(double x, const double y[], double dydx[], void *params)
bool solve(const std::string &sCmd)
FunctionDefinitionManager * _odeFunctions
const gsl_odeiv_step_type * odeStepType
gsl_odeiv_control * odeControl
static mu::varmap_type mVars
gsl_odeiv_evolve * odeEvolve
void setObjects(mu::Parser *_parser, MemoryManager *_data, FunctionDefinitionManager *_functions, Settings *_option)
static int jacobian(double x, const double y[], double dydx[], double dfdt[], void *params)
This class manages the setting values of the internal (kernel) settings of this application.
Mathematical expressions parser.
std::map< string_type, value_type * > varmap_type
Type used for storing variables.
int(Odesolver::* odeFunction)(double, const double *, double *, void *)