https://github.com/N-BodyShop/changa
Raw File
Tip revision: 1c68171de2cd3a6d22134a38c8d078d54c266b30 authored by Thomas R Quinn on 09 January 2023, 04:02:57 UTC
xdr: also create link in structures directory
Tip revision: 1c68171
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