https://github.com/N-BodyShop/changa
Raw File
Tip revision: 373a34cfba10e6dbaa05a79119ef73888a42e824 authored by Lukasz Wesolowski on 03 September 2014, 21:51:36 UTC
Set cudatype to double when running in hexadecapole mode on the GPU
Tip revision: 373a34c
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