cloudy trunk
Loading...
Searching...
No Matches
radius_next.cpp File Reference
#include "cddefines.h"
#include "lines_service.h"
#include "iso.h"
#include "geometry.h"
#include "h2.h"
#include "mole.h"
#include "hyperfine.h"
#include "opacity.h"
#include "dense.h"
#include "heavy.h"
#include "grainvar.h"
#include "elementnames.h"
#include "rfield.h"
#include "dynamics.h"
#include "thermal.h"
#include "hmi.h"
#include "coolheavy.h"
#include "timesc.h"
#include "doppvel.h"
#include "stopcalc.h"
#include "colden.h"
#include "phycon.h"
#include "rt.h"
#include "trace.h"
#include "wind.h"
#include "save.h"
#include "taulines.h"
#include "pressure.h"
#include "iterations.h"
#include "struc.h"
#include "radius.h"
#include "dark_matter.h"
Include dependency graph for radius_next.cpp:

Go to the source code of this file.

Functions

STATIC void ContRate (double *freqm, double *opacm)
STATIC void GrainRateDr (double *grfreqm, double *gropacm)
int radius_next (void)

Function Documentation

◆ ContRate()

STATIC void ContRate ( double * freqm,
double * opacm )
Todo
2 - this routine is very important since it sets the pace for the calculation, and directly affects the convergence of the code. Most of the logic is very old and messy.
1) make sure all test cases have save dr 2) cat all these reasons together into one file and sort on the reason 3) discover what logic is the main pacesetter for the code 4) which are never triggered and so can be removed

Definition at line 1097 of file radius_next.cpp.

References ASSERT, CoolHeavy, DEBUG_ENTRY, dense, gv, Heavy, ioQQQ, ipCARBON, ipH1s, ipH2s, ipH_LIKE, ipHYDROGEN, iso_sp, MAX2, MIN2, opac, rfield, SDIV(), SMALLFLOAT, STATIC, and thermal.

Referenced by radius_next().

Here is the call graph for this function:

◆ GrainRateDr()

STATIC void GrainRateDr ( double * grfreqm,
double * gropacm )

Definition at line 1314 of file radius_next.cpp.

References CoolHeavy, DEBUG_ENTRY, dense, Heavy, ipCARBON, ipH2s, ipH_LIKE, ipHELIUM, ipHYDROGEN, iso_sp, MAX2, opac, rfield, STATIC, and thermal.

Referenced by radius_next().

◆ radius_next()