ODEBND
mc::ODESLV_GSL< T >::Options Struct Reference

Integrator options.

#include <odeslv_gsl.hpp>

Inheritance diagram for mc::ODESLV_GSL< T >::Options:
Collaboration diagram for mc::ODESLV_GSL< T >::Options:

List of all members.

Public Types

enum  INTERPOLATION_METHOD { LINEAR = 0, CSPLINE, AKIMA }
 Enumeration of interpolation algorithms. More...
enum  INTEGRATION_METHOD { RKF45 = 0, RK8PD, MSADAMS, MSBDF }
 Enumeration of numerical integration algorithms. More...

Public Member Functions

 Options ()
 Constructor.
template<typename U >
Optionsoperator= (U &options)
 Assignment operator.

Public Attributes

INTERPOLATION_METHOD INTERPMETH
 Numerical integration method.
bool MESHPREALLOC
 Preallocated mesh size (default: 0)
int DISPLAY
 Display level.
bool RESRECORD
 Whether or not to record results (default: false)
INTEGRATION_METHOD INTMETH
 Numerical integration method.
double H0
 Initial step-size (Default: 1e-2)
double HMIN
 Minimum step-size (Default: 0e0)
double HMAX
 Maximum step-size (Default: 0e0)
unsigned int NMAX
 Maximum number of steps in a time stage (Default: 0)
double RTOL
 Relative integration tolerance (Default: 1e-6)
double ATOL
 Absolute integration tolerance (Default: 1e-6)

template<typename T>
struct mc::ODESLV_GSL< T >::Options


Member Enumeration Documentation

Enumerator:
RKF45 

Explicit embedded Runge-Kutta-Fehlberg (4,5) method (non-stiff systems) [Default].

RK8PD 

Explicit embedded Runge-Kutta Prince-Dormand (8,9) method (non-stiff systems)

MSADAMS 

Variable-coefficient linear multistep Adams method in Nordsieck form (non-stiff systems)

MSBDF 

Variable-coefficient linear multistep backward differentiation formula (BDF) method in Nordsieck form (stiff systems)

Enumerator:
LINEAR 

Linear interpolation. [Default].

CSPLINE 

Cubic spline with natural boundary conditions.

AKIMA 

Non-rounded Akima spline with natural boundary conditions.


The documentation for this struct was generated from the following file: