#include <ParameterParser.h>
Public Member Functions | |
ParameterParser (const GrrProperties &props) | |
Creates a parameter parser using a property map. | |
void | parse () throw (IllegalArgumentException&) |
Parses parameters. | |
Public Attributes | |
ODE * | ode |
The ordinary differential equation. | |
ODEIntegrator * | odeIntegrator |
ODE integration method. | |
double | dx |
Grid spacing. | |
bool | dxSet |
Whether the dx parameter was set explicitly. | |
int | subSteps |
The finest AMR grid spacing is subdivided with specified number. | |
bool | subStepsSet |
Whether the subSteps parameter was set explicitly. | |
string | dataFormat |
Output is printed in the specified format. | |
Protected Member Functions | |
string * | getParameter (string key) const |
Gets a parameter. |
gridripper::odesolver::shoot::ParameterParser::ParameterParser | ( | const GrrProperties & | props | ) |
Creates a parameter parser using a property map.
props | the property map |
string* gridripper::odesolver::shoot::ParameterParser::getParameter | ( | string | key | ) | const [protected] |
Gets a parameter.
key | the parameter name |
ODE* gridripper::odesolver::shoot::ParameterParser::ode |
The ordinary differential equation.
ODEIntegrator* gridripper::odesolver::shoot::ParameterParser::odeIntegrator |
ODE integration method.
double gridripper::odesolver::shoot::ParameterParser::dx |
Grid spacing.
bool gridripper::odesolver::shoot::ParameterParser::dxSet |
Whether the dx parameter was set explicitly.
int gridripper::odesolver::shoot::ParameterParser::subSteps |
The finest AMR grid spacing is subdivided with specified number.
Use it instead of the dx parameter if possible.
bool gridripper::odesolver::shoot::ParameterParser::subStepsSet |
Whether the subSteps parameter was set explicitly.