Public Member Functions | |
| ODERelax (Properties props) throws RelaxationException | |
| Constructs the ODE solver. | |
| ODERelax (Properties props, int maxi) throws RelaxationException | |
| Constructs the ODE solver. | |
| ODERelax (ODE ode, double[] data, int order) throws RelaxationException | |
| Constructs the ODE solver. | |
| ODE | getODE () |
| Gets the ODE. | |
| int | getMaxI () |
| Gets the grid size. | |
| String | getDataFormat () |
| Gets the output data format. | |
| double | getRelativeError () |
| Gets the relative error of the solution after the final iteration. | |
| int | getNumIterations () |
| Gets the number of iterations. | |
| void | setNumIterations (int n) |
| Sets the number of iterations. | |
| double[] | solve () throws RelaxationException |
| Solves the system of equation. | |
| double | nextIteration () throws RelaxationException |
| Performs the next iteration. | |
| double[] | getFieldValues () |
| Gets the current vector of field values. | |
Classes | |
| class | Method |
| Abstract class of relaxation method matrix initializers. | |
| class | RelaxationException |
| Relaxation error. | |
| gridripper::odesolver::relax::ODERelax::ODERelax | ( | Properties | props | ) | throws RelaxationException [inline] |
| gridripper::odesolver::relax::ODERelax::ODERelax | ( | Properties | props, | |
| int | maxi | |||
| ) | throws RelaxationException [inline] |
| gridripper::odesolver::relax::ODERelax::ODERelax | ( | ODE | ode, | |
| double[] | data, | |||
| int | order | |||
| ) | throws RelaxationException [inline] |
| int gridripper::odesolver::relax::ODERelax::getMaxI | ( | ) | [inline] |
Gets the grid size.
| String gridripper::odesolver::relax::ODERelax::getDataFormat | ( | ) | [inline] |
Gets the output data format.
| double gridripper::odesolver::relax::ODERelax::getRelativeError | ( | ) | [inline] |
Gets the relative error of the solution after the final iteration.
| int gridripper::odesolver::relax::ODERelax::getNumIterations | ( | ) | [inline] |
Gets the number of iterations.
| void gridripper::odesolver::relax::ODERelax::setNumIterations | ( | int | n | ) | [inline] |
Sets the number of iterations.
| n | number of iterations or -1 to stop only when the relative error cannot be decreased further |
| double [] gridripper::odesolver::relax::ODERelax::solve | ( | ) | throws RelaxationException [inline] |
Solves the system of equation.
| double gridripper::odesolver::relax::ODERelax::nextIteration | ( | ) | throws RelaxationException [inline] |
Performs the next iteration.
Called by solve.
| double [] gridripper::odesolver::relax::ODERelax::getFieldValues | ( | ) | [inline] |
Gets the current vector of field values.
1.5.6