https://github.com/N-BodyShop/changa
Raw File
Tip revision: bfcc22c304ba457e686a358e6f5995b9720b2f21 authored by Phil Miller on 21 January 2015, 05:21:05 UTC
Adapt load balancers to modern style inheriting from CBase classes
Tip revision: bfcc22c
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