cloudy trunk
Loading...
Searching...
No Matches
zero.cpp File Reference
#include "cddefines.h"
#include "physconst.h"
#include "iterations.h"
#include "hydrogenic.h"
#include "oxy.h"
#include "doppvel.h"
#include "dense.h"
#include "hextra.h"
#include "grains.h"
#include "magnetic.h"
#include "state.h"
#include "rt.h"
#include "he.h"
#include "struc.h"
#include "h2.h"
#include "co.h"
#include "coolheavy.h"
#include "lines.h"
#include "dynamics.h"
#include "carb.h"
#include "mean.h"
#include "atomfeii.h"
#include "iso.h"
#include "conv.h"
#include "geometry.h"
#include "timesc.h"
#include "peimbt.h"
#include "ionbal.h"
#include "continuum.h"
#include "atmdat.h"
#include "mole.h"
#include "ca.h"
#include "input.h"
#include "atoms.h"
#include "pressure.h"
#include "numderiv.h"
#include "colden.h"
#include "yield.h"
#include "hmi.h"
#include "rfield.h"
#include "abund.h"
#include "radius.h"
#include "opacity.h"
#include "secondaries.h"
#include "called.h"
#include "phycon.h"
#include "warnings.h"
#include "thermal.h"
#include "cooling.h"
#include "fe.h"
#include "hyperfine.h"
#include "init.h"
#include "dark_matter.h"

Go to the source code of this file.

Functions

void zero (void)

Function Documentation

◆ zero()

void zero ( void )

zero actively zero out or initialize variables needed for model calculation this is the old one and should be removed - its vars moved into those above

Todo
2 change this to CS_new
Todo
2 file opacities are disabled for now - reinstate this when arrays settle down

option to set proton elimination rates to zero

>refer CO chemistry Huntress, W. T., 1977, ApJS, 33, 495 By default, this is false - changed with set chemistry command

option to not include neutrals in the non-equilibrium scheme

refer Federman, S. R. & Zsargo, J. 2003, ApJ, 589, 319 By default, this is false - changed with set chemistry command

HeatH2Dexc_used is heating due to collisional deexcitation of vib-excited H2 actually used

these are derivative wrt temp for collisional processes within X

the Solomon process rate H2 dissociates into X continuum - actually used

set_NaN( hmi.H2_Solomon_dissoc_rate_used );

H2 + hnu => 2H from TH85

H2 + hnu => 2H actually used

Definition at line 73 of file zero.cpp.

References abund, AbundancesZero(), atmdat, atoms, ca, called, cdEXIT, co, colden, continuum, conv, CoolHeavy, CoolZero(), dark, DEBUG_ENTRY, dense, DEPTH_OFFSET, DoppVel, dynamics, DynaZero(), EXIT_FAILURE, FeIIZero(), fill(), fixit(), fnzone, geometry, GrainZero(), he, HeatZero(), hextra, hmi, hydro, hyperfine, input, Singleton< t_ADfA >::Inst(), Singleton< t_fe2ovr_la >::Inst(), Singleton< t_yield >::Inst(), ionbal, ioPrnErr, ioQQQ, ipCRD, ipCRDW, ipH2p, ipH_LIKE, ipHe2p1P, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipIRON, ipPRD, iso_ctrl, iteration, iterations, lgAbort, lgPrnErr, lgTestCodeCalled, lgTestCodeEnabled, LIMELM, LineSave, Magnetic_init(), MALLOC, mean, mole, mole_global, N_OI_LEVELS, NCOLD, t_atmdat::NCX, NISO, NSHELLS, NumDeriv, nzone, opac, oxy, peimbt, PHFIT96, phycon, pressure, radius, t_yield::reset_yield(), rfield, rt, secondaries, set_NaN(), t_ADfA::set_version(), ShowMe(), SMALLFLOAT, state, TempChange(), thermal, timesc, wcnint(), and t_fe2ovr_la::zero_opacity().

Referenced by cdInit(), hypho(), and optimize_func().

Here is the call graph for this function: