NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include <odesolver.hpp>
Public Member Functions | |
Odesolver () | |
Odesolver (mu::Parser *_parser, MemoryManager *_data, FunctionDefinitionManager *_functions, Settings *_option) | |
~Odesolver () | |
void | setObjects (mu::Parser *_parser, MemoryManager *_data, FunctionDefinitionManager *_functions, Settings *_option) |
bool | solve (const std::string &sCmd) |
Static Public Attributes | |
static mu::Parser * | _odeParser = 0 |
static int | nDimensions = 0 |
static mu::varmap_type | mVars |
Static Private Member Functions | |
static int | odeFunction (double x, const double y[], double dydx[], void *params) |
static int | jacobian (double x, const double y[], double dydx[], double dfdt[], void *params) |
Private Attributes | |
MemoryManager * | _odeData |
FunctionDefinitionManager * | _odeFunctions |
Settings * | _odeSettings |
const gsl_odeiv_step_type * | odeStepType |
gsl_odeiv_step * | odeStep |
gsl_odeiv_control * | odeControl |
gsl_odeiv_evolve * | odeEvolve |
Definition at line 37 of file odesolver.hpp.
Odesolver::Odesolver | ( | ) |
Definition at line 30 of file odesolver.cpp.
References _odeData, _odeFunctions, _odeParser, _odeSettings, nDimensions, odeControl, odeEvolve, odeStep, and odeStepType.
Odesolver::Odesolver | ( | mu::Parser * | _parser, |
MemoryManager * | _data, | ||
FunctionDefinitionManager * | _functions, | ||
Settings * | _option | ||
) |
Definition at line 45 of file odesolver.cpp.
References _odeData, _odeFunctions, _odeParser, and _odeSettings.
Odesolver::~Odesolver | ( | ) |
Definition at line 53 of file odesolver.cpp.
References _odeData, _odeFunctions, _odeParser, _odeSettings, odeControl, odeEvolve, and odeStep.
|
inlinestaticprivate |
Definition at line 49 of file odesolver.hpp.
Referenced by solve().
|
staticprivate |
Definition at line 73 of file odesolver.cpp.
References _defVars, _odeParser, mu::ParserBase::Eval(), mVars, nDimensions, toString(), and DefaultVariables::vValue.
Referenced by solve().
|
inline |
Definition at line 61 of file odesolver.hpp.
References _odeData, _odeFunctions, _odeParser, and _odeSettings.
bool Odesolver::solve | ( | const std::string & | sCmd | ) |
Definition at line 94 of file odesolver.cpp.
References _defVars, _lang, _odeData, _odeFunctions, _odeParser, _odeSettings, MemoryManager::addTable(), FunctionDefinitionManager::call(), Indices::col, MemoryManager::containsTablesOrClusters(), MemoryManager::deleteBulk(), mu::ParserBase::Eval(), findCommand(), findParameter(), VectorIndex::front(), SyntaxError::FUNCTION_ERROR, Language::get(), getArgAtPos(), NumeReKernel::GetAsyncCancelState(), getDataElements(), getIndices(), NumeReKernel::getInstance(), MemoryManager::getLines(), mu::ParserBase::GetVar(), intCast(), VectorIndex::INVALID, SyntaxError::invalid_position, mu::isinf(), mu::isnan(), VectorIndex::isOpenEnd(), MemoryManager::isTable(), isValidIndexSet(), jacobian(), mVars, nDimensions, SyntaxError::NO_EXPRESSION_FOR_ODE, SyntaxError::NO_INTERVAL_FOR_ODE, SyntaxError::NO_OPTIONS_FOR_ODE, odeControl, odeEvolve, odeFunction(), odeStep, odeStepType, NumeReKernel::printPreFmt(), SyntaxError::PROCESS_ABORTED_BY_USER, readAndParseIntervals(), mu::real(), Indices::row, mu::ParserBase::SetExpr(), MemoryManager::setHeadLineElement(), VectorIndex::setRange(), VectorIndex::size(), SyntaxError::STRINGS_MAY_NOT_BE_EVALUATED_WITH_CMD, StripSpaces(), Settings::systemPrints(), toString(), toSystemCodePage(), DefaultVariables::vValue, and MemoryManager::writeToTable().
Referenced by cmd_odesolve().
|
private |
Definition at line 40 of file odesolver.hpp.
Referenced by Odesolver(), setObjects(), solve(), and ~Odesolver().
|
private |
Definition at line 41 of file odesolver.hpp.
Referenced by Odesolver(), setObjects(), solve(), and ~Odesolver().
|
static |
Definition at line 53 of file odesolver.hpp.
Referenced by odeFunction(), Odesolver(), setObjects(), solve(), and ~Odesolver().
|
private |
Definition at line 42 of file odesolver.hpp.
Referenced by Odesolver(), setObjects(), solve(), and ~Odesolver().
|
static |
Definition at line 55 of file odesolver.hpp.
Referenced by odeFunction(), and solve().
|
static |
Definition at line 54 of file odesolver.hpp.
Referenced by odeFunction(), Odesolver(), and solve().
|
private |
Definition at line 45 of file odesolver.hpp.
Referenced by Odesolver(), solve(), and ~Odesolver().
|
private |
Definition at line 46 of file odesolver.hpp.
Referenced by Odesolver(), solve(), and ~Odesolver().
|
private |
Definition at line 44 of file odesolver.hpp.
Referenced by Odesolver(), solve(), and ~Odesolver().
|
private |
Definition at line 43 of file odesolver.hpp.
Referenced by Odesolver(), and solve().