https://github.com/N-BodyShop/changa
Raw File
Tip revision: b6232fe60d274a72821291356cd3f1f129c8a7cc authored by Tom Quinn on 27 July 2017, 18:29:41 UTC
Catch SIGTERM and schedule checkpoint and finish.
Tip revision: b6232fe
runge.h
/*
 * Runge-Kutta integrator originally written for PKDGRAV by Thomas
 * Quinn
 */
void
RungeKutta(void *CTX, 
	   void (*deriv)(void *, double, double *, double*),
	   int nDep,		/* number of dependent variables */
	   double tin,		/* independent variable */
	   double *xin,		/* array of input */
	   double tout,
	   double *xout,		/* array of output */
	   int nSteps);
back to top