https://github.com/N-BodyShop/changa
Raw File
Tip revision: 85afe6f24c636916280e94690ffddbd0df8af0ee authored by Tom Quinn on 12 November 2017, 02:21:46 UTC
GPU code cleanup/documenatation.
Tip revision: 85afe6f
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