https://github.com/N-BodyShop/changa
Raw File
Tip revision: 9d052bfe545c38d8e1fbfdbf612835f59e6d0010 authored by Phil Miller on 11 December 2014, 21:36:10 UTC
Don't assume a particular message type for responses to CkIO callbacks
Tip revision: 9d052bf
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