https://github.com/N-BodyShop/changa
Raw File
Tip revision: de7d8488b70a688de73c6a6cd771d38cb5f20ae1 authored by Tim Haines on 31 January 2018, 18:37:01 UTC
Pass CkCallback by const& during CUDA instrumentation
Tip revision: de7d848
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