PLUTO
maxrate.c File Reference
#include "pluto.h"
Include dependency graph for maxrate.c:

Go to the source code of this file.

Functions

double GetMaxRate (double *v0, double *k1, double T0)
 

Function Documentation

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 4 of file maxrate.c.

17 {
18  return (1.e-12);
19 }