https://github.com/N-BodyShop/changa
Raw File
Tip revision: 0b8423b70c733f7ef7a8f1da9027ca905a55ca5a authored by Tom Quinn on 11 October 2019, 23:34:27 UTC
Initialize stellar Lyman-Werner for first tree build.
Tip revision: 0b8423b
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