#include "pluto.h"
#include "cooling_defs.h"
Go to the source code of this file.
|
double | GetMaxRate (double *v0, double *k1, double T0) |
|
double GetMaxRate |
( |
double * |
v0, |
|
|
double * |
k1, |
|
|
double |
T0 |
|
) |
| |
Return an estimate of the maximum rate (dimension 1/time) in the chemical network. This will serve as a "stiffness" detector in the main ode integrator.
For integration to be carried explicitly all the time, return a small value (1.e-12).
Definition at line 5 of file maxrate.c.
33 if (v0[
NFLX + nv] < 1.e-6)
continue;
#define UNIT_VELOCITY
Unit velocity in cm/sec.
#define UNIT_LENGTH
Unit Length in cm.
#define ARRAY_2D(nx, ny, type)