#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. | |
int | order |
The order of the numerical method (2 or 4). | |
int | maxi |
Number of grid points minus 1. | |
bool | maxiSet |
Whether the maxi parameter was set explicitly. | |
int | numIterations |
Maximum number of iterations. | |
string | dataFormat |
Output is printed in the specified format. | |
Protected Member Functions | |
string * | getParameter (string key) const |
Gets a parameter. |
gridripper::odesolver::relax::ParameterParser::ParameterParser | ( | const GrrProperties & | props | ) |
Creates a parameter parser using a property map.
props | the property map |
string* gridripper::odesolver::relax::ParameterParser::getParameter | ( | string | key | ) | const [protected] |
Gets a parameter.
key | the parameter name |
The ordinary differential equation.
The order of the numerical method (2 or 4).
Number of grid points minus 1.
Whether the maxi parameter was set explicitly.
Maximum number of iterations.