/home66/gary/public_html/cloudy/c08_branch/source/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 "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 "broke.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 dependency graph for zero.cpp:

Go to the source code of this file.

Functions

void zero (void)
void rfield_opac_zero (long lo, long ihi)


Function Documentation

void rfield_opac_zero ( long  lo,
long  ihi 
)

zero out rfield arrays between certain limits, code in zero.c

Definition at line 1548 of file zero.cpp.

References t_opac::albedo, t_rfield::ConEmitOut, t_rfield::ConEmitReflec, t_rfield::ConInterOut, t_rfield::ConOTS_local_OTS_rate, t_rfield::ConOTS_local_photons, t_rfield::ConRefIncid, t_rfield::ContBoltz, t_rfield::convoc, t_opac::E2TauAbsFace, t_opac::E2TauAbsOut, t_opac::E2TauAbsTotal, t_opac::ExpmTau, t_opac::ExpZone, t_rfield::fine_opac_zone, t_rfield::fine_opt_depth, t_rfield::flux, t_rfield::flux_accum, t_rfield::flux_beam_const_save, t_rfield::flux_isotropic_save, t_rfield::flux_time_beam_save, t_opac::FreeFreeOpacity, lgRfieldMalloced, t_rfield::nfine_malloc, t_rfield::OccNumbBremsCont, t_rfield::OccNumbContEmitOut, t_rfield::OccNumbDiffCont, t_opac::OldOpacSave, opac, t_opac::opacity_abs, t_opac::opacity_sct, t_opac::OpacStatic, t_rfield::otscon, t_rfield::otsconNew, t_rfield::otslin, t_rfield::otslinNew, t_rfield::outlin, t_rfield::outlin_noplot, t_rfield::reflin, rfield, t_rfield::SummedCon, t_rfield::SummedDif, t_rfield::SummedOcc, t_opac::TauAbsGeo, t_opac::TauAbsTotal, t_opac::taumin, t_opac::TauScatGeo, t_opac::TauTotalGeo, and t_opac::tmn.

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 should iso.ipLyaRedist[ipHE_LIKE] use ipLY_A as does H-like?

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 61 of file zero.cpp.

References AbundancesZero(), t_geometry::AngleIllumRadian, t_conv::autocv, t_conv::AverEdenError, t_conv::AverHeatCoolError, t_conv::AverPressError, t_timesc::BigCOMoleForm, t_conv::BigEdenError, t_conv::BigHeatCoolError, t_conv::BigPressError, t_CoolHeavy::brems_cool_h, t_CoolHeavy::brems_cool_net, carb, t_LineSave::chNormLab, t_conv::chSolverEden, t_conv::chSolverTemp, t_iso::chTypeAtomSet, t_iso::chTypeAtomUsed, t_hydro::cintot, t_timesc::CloudAgeSet, co, t_co::COCoolBigFrac, t_co::codfrc, t_co::CODissHeat, t_co::codtot, t_CoolHeavy::colmet, continuum, conv, CoolHeavy, t_geometry::covgeo, t_geometry::covrt, DEBUG_ENTRY, t_geometry::DirectionalCosin, t_conv::EdenErrorAllowed, t_continuum::EnergyKshell, FeIIZero(), t_geometry::FillFac, t_geometry::filpow, t_geometry::fiscal, geometry, H2_Init(), t_hydro::HCollIonMax, t_conv::HeatCoolRelErrorAllowed, hmole_init(), hydro, hyperfine, t_geometry::iEmissPower, Singleton< T >::Inst(), ionbal, ipH_LIKE, ipHYDROGEN, t_LineSave::ipNormWavL, iso, t_iterations::iter_malloc, iteration, iterations, t_iterations::itermx, t_iterations::IterPrnt, lgAbort, t_conv::lgAutoIt, t_co::lgCOCoolCaped, t_continuum::lgCon0, t_conv::lgConvEden, t_iterations::lgConverge_set, t_conv::lgConvPres, t_conv::lgConvTemp, t_continuum::lgCoStarInterpolationCaution, t_geometry::lgEndDflt, lgFirstCall, t_CoolHeavy::lgFreeOn, t_state::lgGet_state, t_hydro::lgHiPop2, t_conv::lgLevel2_Cool_Imp, t_conv::lgLevel2_OTS_Imp, t_LineSave::lgLineEmergent, t_hyperfine::lgLya_pump_21cm, t_conv::lgMap, t_co::lgNoCOMole, t_LineSave::lgNormSet, t_NumDeriv::lgNumDeriv, t_state::lgPut_state, t_hydro::lgReevalRecom, t_geometry::lgSphere, t_state::lgState_print, t_geometry::lgStatic, t_geometry::lgStaticNoIt, t_ionbal::lgTrimhiOn, t_geometry::lgZoneSet, t_geometry::lgZoneTrp, LIMELM, t_conv::LimFail, LineSave, Magnetic_init(), MALLOC, t_geometry::nend, t_geometry::nEndDflt, NISO, t_conv::nPres2Ioniz, t_geometry::nprint, t_LineSave::nsum, t_conv::nTotalIoniz, NumDeriv, oxy, t_oxy::p1401, t_oxy::p1666, t_carb::p1909, t_carb::p2326, peimbt, PHFIT96, t_hydro::pop2mx, radius, t_continuum::ResolutionScaleFactor, t_radius::router, t_LineSave::ScaleNormLine, t_LineSave::sig_figs, t_timesc::sound_speed_isothermal, state, t_timesc::time_H2_Dest_here, t_timesc::time_H2_Dest_longest, t_timesc::time_H2_Form_here, t_timesc::time_H2_Form_longest, t_timesc::TimeH21cm, timesc, t_ionbal::trimhi, t_ionbal::trimlo, t_peimbt::tsqden, t_LineSave::WavLNorm, and wcnint().

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

Here is the call graph for this function:


Generated on Mon Feb 16 12:14:10 2009 for cloudy by  doxygen 1.4.7