https://github.com/N-BodyShop/changa
Raw File
Tip revision: 6aa9a2bf57812c043de45b1e8d7535f4175dc450 authored by Tom Quinn on 03 May 2016, 19:20:34 UTC
Version uptick to v3.2.
Tip revision: 6aa9a2b
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