https://github.com/N-BodyShop/changa
Raw File
Tip revision: 64fc96fb00e135ade5a71c200790edddd18d3bf8 authored by Tom Quinn on 11 March 2015, 19:47:14 UTC
EntryTypeSmoothParticle::unpack(): add paranoid check because of
Tip revision: 64fc96f
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