LAL  7.5.0.1-ec27e42
LALAdaptiveRungeKuttaIntegrator.c File Reference

Prototypes

LALAdaptiveRungeKuttaIntegratorXLALAdaptiveRungeKutta4Init (int dim, int(*dydt)(double t, const double y[], double dydt[], void *params), int(*stop)(double t, const double y[], double dydt[], void *params), double eps_abs, double eps_rel)
 
LALAdaptiveRungeKuttaIntegratorXLALAdaptiveRungeKutta4InitEighthOrderInstead (int dim, int(*dydt)(double t, const double y[], double dydt[], void *params), int(*stop)(double t, const double y[], double dydt[], void *params), double eps_abs, double eps_rel)
 Eighth-order Runge-Kutta ODE integrator using Runge-Kutta-Fehlberg steps with adaptive step size control. More...
 
void XLALAdaptiveRungeKuttaFree (LALAdaptiveRungeKuttaIntegrator *integrator)
 
static int storeStateInOutput (REAL8Array **output, REAL8 t, REAL8 *y, size_t dim, int *outputlen, int count)
 
static int shrinkOutput (REAL8Array **output, int *outputlen, int count, size_t dim)
 
int XLALAdaptiveRungeKutta4Hermite (LALAdaptiveRungeKuttaIntegrator *integrator, void *params, REAL8 *yinit, REAL8 tinit, REAL8 tend_in, REAL8 deltat, REAL8Array **yout)
 Fourth-order Runge-Kutta ODE integrator using Runge-Kutta-Fehlberg (RKF45) steps with adaptive step size control. More...
 
int XLALAdaptiveRungeKutta4HermiteOnlyFinal (LALAdaptiveRungeKuttaIntegrator *integrator, void *params, REAL8 *yinit, REAL8 tinit, REAL8 tend_in, REAL8 y1_final, REAL8 deltat)
 Fourth-order Runge-Kutta ODE integrator using Runge-Kutta-Fehlberg (RKF45) steps with adaptive step size control. More...
 
int XLALAdaptiveRungeKutta4NoInterpolate (LALAdaptiveRungeKuttaIntegrator *integrator, void *params, REAL8 *yinit, REAL8 tinit, REAL8 tend, REAL8 deltat_or_h0, REAL8 min_deltat_or_h0, REAL8Array **t_and_y_out, INT4 EOBversion)
 Fourth-order Runge-Kutta ODE integrator using Runge-Kutta-Fehlberg steps with adaptive step size control. More...
 
int XLALAdaptiveRungeKuttaDenseandSparseOutput (LALAdaptiveRungeKuttaIntegrator *integrator, void *params, REAL8 *yinit, REAL8 tinit, REAL8 tend, REAL8 deltat, REAL8Array **sparse_output, REAL8Array **dense_output)
 
int XLALAdaptiveRungeKutta4 (LALAdaptiveRungeKuttaIntegrator *integrator, void *params, REAL8 *yinit, REAL8 tinit, REAL8 tend, REAL8 deltat, REAL8Array **yout)
 
int XLALAdaptiveRungeKutta4IrregularIntervals (LALAdaptiveRungeKuttaIntegrator *integrator, void *params, REAL8 *yinit, REAL8 tinit, REAL8 tend_in, REAL8Array **yout)
 Fourth-order Runge-Kutta ODE integrator using Runge-Kutta-Fehlberg (RKF45) steps with adaptive step size control. More...
 

Go to the source code of this file.

Data Structures

struct  rkf45_state_t
 

Macros

#define XLAL_BEGINGSL
 
#define XLAL_ENDGSL
 

Macro Definition Documentation

◆ XLAL_BEGINGSL

#define XLAL_BEGINGSL
Value:
{ \
gsl_error_handler_t *saveGSLErrorHandler_; \
saveGSLErrorHandler_ = gsl_set_error_handler_off();

Definition at line 22 of file LALAdaptiveRungeKuttaIntegrator.c.

◆ XLAL_ENDGSL

#define XLAL_ENDGSL
Value:
gsl_set_error_handler( saveGSLErrorHandler_ ); \
}

Definition at line 27 of file LALAdaptiveRungeKuttaIntegrator.c.

Function Documentation

◆ storeStateInOutput()

static int storeStateInOutput ( REAL8Array **  output,
REAL8  t,
REAL8 y,
size_t  dim,
int *  outputlen,
int  count 
)
static

Definition at line 127 of file LALAdaptiveRungeKuttaIntegrator.c.

◆ shrinkOutput()

static int shrinkOutput ( REAL8Array **  output,
int *  outputlen,
int  count,
size_t  dim 
)
static

Definition at line 162 of file LALAdaptiveRungeKuttaIntegrator.c.