NONE. More...
Prototypes | |
static int | derivativeGSLWrapper (REAL8 t, const REAL8 y[], REAL8 dydx[], void *params) |
rk4GSLIntegrator * | XLALRungeKutta4Init (INT4 n, rk4In *input) |
void | LALRungeKutta4 (LALStatus *status, REAL8Vector *yout, rk4GSLIntegrator *integrator, void *params) |
int | XLALRungeKutta4 (REAL8Vector *yout, rk4GSLIntegrator *integrator, void *params) |
void | XLALRungeKutta4Free (rk4GSLIntegrator *integrator) |
static int | derivativeGSLWrapper (REAL8 UNUSED t, const REAL8 y[], REAL8 dydx[], void *params) |
NONE.
n:
The number of coupled equations being integrated. yout:
The output values for the system after the time-step. input:
The input for the system integrator
Required for the GSL integratior. Created using XLALRungeKutta4Init(). params
Parameters to be passed to the derivative function The code LALRungeKutta4.c solves a system of n coupled first–order differential equations. Internally, it uses the gsl routines for performing adaptive step evolution of the system, but to the outside user, it returns results for a fixed step size.
Prior to evolving a system using LALRungeKutta4(), it is necessary to create the GSL integrator using XLALRungeKutta4Init(). Once the evolution of the system has finished, this integrator should then be freed using XLALRungeKutta4Free().
None.
Definition in file LALRungeKutta4.c.
Go to the source code of this file.
Data Structures | |
struct | RungeGSLParams |
rk4GSLIntegrator * XLALRungeKutta4Init | ( | INT4 | n, |
rk4In * | input | ||
) |
Definition at line 81 of file LALRungeKutta4.c.
void LALRungeKutta4 | ( | LALStatus * | status, |
REAL8Vector * | yout, | ||
rk4GSLIntegrator * | integrator, | ||
void * | params | ||
) |
Definition at line 127 of file LALRungeKutta4.c.
int XLALRungeKutta4 | ( | REAL8Vector * | yout, |
rk4GSLIntegrator * | integrator, | ||
void * | params | ||
) |
Definition at line 147 of file LALRungeKutta4.c.
void XLALRungeKutta4Free | ( | rk4GSLIntegrator * | integrator | ) |
Definition at line 228 of file LALRungeKutta4.c.
|
static |
Definition at line 246 of file LALRungeKutta4.c.