https://github.com/N-BodyShop/changa
Raw File
Tip revision: 21c6a626b3b08e29ca95ad126b036100f488d038 authored by Collin J. Sutton on 10 March 2014, 03:12:53 UTC
removed Makefile.dep from version control; build it in build directory
Tip revision: 21c6a62
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