cloudy  trunk
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures | Functions | Variables
radius.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  t_radius
 

Functions

int radius_next (void)
 
void radius_first (void)
 
void radius_increment (void)
 

Variables

EXTERN struct t_radius radius
 

Function Documentation

void radius_first ( void  )

radius_first derive thickness of first zone

Definition at line 27 of file radius_first.cpp.

References t_wind::AccelGravity, t_wind::AccelTot, ASSERT, t_dense::chDenseLaw, t_punch::chHashString, t_StopCalc::colnut, t_StopCalc::colpls, t_thermal::ctot, DEBUG_ENTRY, dense, dense_tabden(), t_radius::depth, t_radius::Depth2Go, t_geometry::DirectionalCosin, t_radius::drad, t_radius::drad_x_fillfac, t_radius::drChange, t_radius::drMinimum, dynamics, t_geometry::FillFac, t_dense::flong, t_rfield::flux, fp_equal(), t_dense::gas_phase, geometry, h2, t_hmi::H2_total, t_hmi::H2Opacity, t_StopCalc::HColStop, t_hmi::HeatH2Dexc_BigH2, hmi, ioQQQ, t_punch::ipDRout, ipH_LIKE, ipHYDROGEN, ipoint(), iso, iteration, t_hmi::lgBigH2_evaluated, t_pressure::lgContRadPresOn, t_radius::lgDR2Big, t_punch::lgDRHash, t_radius::lgDrMnOn, t_punch::lgDROn, t_h2::lgH2ON, t_radius::lgSMinON, t_dynamics::lgStatic, t_trace::lgTrace, MAX2, MIN2, MIN3, MIN4, t_rfield::nflux, nzone, opac, t_opac::opacity_abs, t_dense::pden, POW2, pressure, t_pressure::PresTotlCurr, punch, t_rfield::qbal, t_rfield::qhtot, t_radius::Radius, radius, t_iso::RadRec_caseB, rfield, t_radius::rinner, t_radius::router, SDIV(), t_radius::sdrmax, t_radius::sdrmin, ShowMe(), SMALLFLOAT, StopCalc, t_StopCalc::tauend, t_StopCalc::taunu, thermal, t_radius::thickness_stromgren, TotalInsanity(), trace, t_rfield::uh, wind, t_wind::windv, t_dense::wmole, t_dense::xIonDense, t_dense::xMassDensity, and Z.

Referenced by cloudy(), and ConvInitSolution().

Here is the call graph for this function:

void radius_increment ( void  )

radius_increment do work associated with geometry increments of this zone

Definition at line 44 of file radius_increment.cpp.

References t_wind::AccelAver, t_wind::AccelCont, t_wind::AccelGravity, t_struc::AccelGravity, t_wind::AccelLine, t_wind::AccelMax, t_struc::AccelTot, t_wind::AccelTot, t_wind::acldr, t_timesc::AgeCOMoleDest, t_colden::ajmmin, t_phycon::alogte, t_rfield::anu, ASSERT, GrainBin::asym, t_dense::AtomicWeight, GrainBin::avdft, GrainBin::avDGRatio, GrainBin::avdpot, GrainBin::avdust, aver(), t_conv::AverEdenError, t_conv::AverHeatCoolError, t_conv::AverPressError, t_timesc::BigCOMoleForm, t_conv::BigEdenError, t_hmi::BiggestH2, t_conv::BigHeatCoolError, t_conv::BigPressError, t_gv::bin, BOLTZMANN, t_colden::C1Colden, t_colden::C1Pops, t_colden::C2Colden, t_colden::C2Pops, t_colden::C3Colden, t_colden::C3Pops, cdEXIT, t_rfield::chContLabel, t_rfield::chLineLabel, t_iso::chTypeAtomUsed, cmshft(), t_struc::CO_molec, t_colden::colden, colden, t_colden::coldenH2_ov_vel, COmole, t_rfield::ConEmitLocal, t_rfield::ConEmitOut, t_rfield::ConEmitReflec, t_rfield::ConInterOut, t_rfield::ConRefIncid, conv, t_rfield::convoc, t_struc::coolstr, t_hextra::CrsSecNeutron, t_thermal::ctot, DEBUG_ENTRY, t_struc::DenMass, t_struc::DenParticles, dense, t_radius::depth, t_struc::depth, t_geometry::DirectionalCosin, t_colden::dlnenCp, t_colden::dlnenHep, t_colden::dlnenHepp, t_colden::dlnenp, t_DoppVel::doppler, DoppVel, t_radius::drad, t_struc::drad, t_struc::drad_x_fillfac, t_radius::drad_x_fillfac, t_radius::dRadSign, t_radius::drNext, GrainBin::dstab1, GrainBin::dstAbund, GrainBin::dstpot, GrainBin::DustDftVel, GrainBin::dustp, t_radius::dVeff, t_radius::dVolOutwrd, dynamics, e2(), t_opac::E2TauAbsFace, t_opac::E2TauAbsOut, t_dense::eden, t_conv::EdenErrorAllowed, t_dense::EdenTrue, t_struc::ednstr, EN1RYD, ERR_CHK, EVRYD, t_opac::ExpmTau, t_opac::ExpZone, t_rfield::extin_mag_B_extended, t_rfield::extin_mag_B_point, t_rfield::extin_mag_V_extended, t_rfield::extin_mag_V_point, t_geometry::FillFac, findspecies(), t_rfield::fine_opac_zone, t_rfield::fine_opt_depth, t_rfield::flux, t_rfield::flux_beam_const, t_rfield::flux_beam_time, t_rfield::flux_isotropic, t_rfield::flux_total_incident, t_wind::fmul, fnzone, t_dense::gas_phase, t_struc::gas_phase, t_struc::GasPressure, geometry, gv, t_colden::H0_21cm_lower, t_colden::H0_21cm_upper, t_colden::H0_ov_Tspin, h2, H21cm_electron(), H21cm_H_atom(), t_struc::H2_molec, t_hmi::H2_total, t_struc::hden, t_colden::He123S, t_struc::heatstr, molecule::hevmol, hextra, HFLines, t_transition::Hi, t_struc::hiistr, t_struc::histr, hmi, t_hmi::Hmolec, t_thermal::htot, hydro, hyperfine, molecule::index, ioQQQ, t_rfield::ipB_filter, ipCARBON, ipCOL_elec, ipCOL_H0, ipCOL_H2g, ipCOL_H2p, ipCOL_H2s, ipCOL_H3p, ipCOL_HeHp, ipCOL_HMIN, ipCOL_Hp, ipCOL_HTOT, ipH1s, ipH2p, ipH_LIKE, ipHe2s3S, ipHE_LIKE, ipHELIUM, ipHYDROGEN, t_iso::ipIsoLevNIonCon, ipMH2g, ipMH2p, ipMH2s, ipMH3p, ipMHeHp, ipMHm, t_rfield::ipnt_coarse_2_fine, ipOXYGEN, t_rfield::ipPlasma, t_rfield::ipV_filter, iso, iteration, lgAbort, t_dynamics::lgAdvection, t_trace::lgConBug, t_dense::lgElmtOn, t_hextra::lgNeutrnHeatOn, t_rfield::lgOpacityFine, t_opac::lgOpacNeg, t_opac::lgScatON, t_conv::lgSearch, t_geometry::lgSphere, t_trace::lgTrace, t_thermal::lgUnstable, t_rfield::lgUSphON, LIMELM, t_transition::Lo, MAX2, MeanInc(), MIN2, molcol(), mole, N_H_MOLEC, t_gv::nBin, molecule::nelem_hevmol, t_rfield::nfine, t_rfield::nflux, NISO, t_hydro::nLyaHot, t_mole::num_comole_calc, t_thermal::nUnstable, t_dense::nzEdenBad, t_struc::nzlim, t_struc::nzone, nzone, t_hydro::nZTLaMax, t_colden::O1Colden, t_colden::O1Pops, t_struc::o3str, t_rfield::OccNumbContEmitOut, t_rfield::OccNumbDiffCont, t_rfield::OccNumbIncidCont, t_colden::OH_ov_Tspin, opac, t_rfield::opac_mag_B_extended, t_rfield::opac_mag_B_point, t_rfield::opac_mag_V_extended, t_rfield::opac_mag_V_point, t_opac::opacity_abs, t_opac::opacity_sct, OPTDEP2EXTIN, t_h2::ortho_colden, t_h2::ortho_density, t_rfield::otscon, t_rfield::otslin, t_rfield::outlin, t_rfield::outlin_noplot, t_h2::para_colden, t_h2::para_density, t_dense::pden, phycon, PI, t_pressure::pinzon, pnegopc(), t_quantumState::Pop, t_iso::pop_ion_ov_neut, POW2, t_struc::pres_radiation_lines_curr, t_pressure::pres_radiation_lines_curr, t_pressure::PresGasCurr, t_pressure::PresInteg, t_struc::pressure, pressure, t_pressure::PresTotlCorrect, t_pressure::PresTotlCurr, GrainBin::pure_sc1, t_radius::r1r0sq, t_radius::Radius, radius, t_rfield::reflin, rfield, t_radius::rinner, t_colden::rjnmin, t_radius::router, t_rfield::rstrom, SDIV(), sexp(), ShowMe(), t_colden::Si2Colden, t_colden::Si2Pops, SMALLFLOAT, t_timesc::sound, t_timesc::sound_speed_adiabatic, t_timesc::sound_speed_isothermal, SPEEDLIGHT, StatesElem, struc, t_rfield::SummedCon, t_rfield::SummedDif, t_opac::TauAbsFace, t_opac::TauAbsGeo, t_opac::TauAbsTotal, t_opac::TauScatFace, t_opac::TauScatGeo, t_opac::TauTotalGeo, t_phycon::te, GrainBin::tedust, t_hydro::TeLyaMax, t_struc::testr, TexcLine(), t_hydro::TexcLya, thermal, 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::time_therm_long, t_timesc::TimeH21cm, timesc, t_hydro::TLyaMax, t_colden::tmas, t_opac::tmn, TotalInsanity(), t_colden::TotMassColl, t_hextra::totneu, trace, t_rfield::trans_coef_total, t_rfield::trans_coef_zone, Transitions, t_hyperfine::Tspin21cm, t_struc::volstr, wind, t_wind::windv, t_struc::windv, t_colden::wmas, t_dense::wmole, t_struc::xIonDense, t_dense::xIonDense, t_iso::xIonSimple, t_struc::xLyman_depth, t_dense::xMassDensity, t_dense::xMassTotal, and molecule::xMoleFracMax.

Referenced by cloudy().

Here is the call graph for this function:

int radius_next ( void  )

radius_next use adaptive logic to find next zone thickness return 0 if ok, 1 for abort

Todo:
1 rm logic detecting temp and pres failure - these normally occur near troubled parts of cooling curve

Definition at line 71 of file radius_next.cpp.

References abund, t_wind::AccelTot, ASSERT, t_StopCalc::AV_extended, t_StopCalc::AV_point, C12O16Rotate, C13O16Rotate, cdEXIT, CHANGE_ION_HEAV, CHANGE_ION_HHE, t_dense::chDenseLaw, t_elementnames::chElementName, chLineLbl(), co, t_struc::CO_molec, t_StopCalc::col_H0_ov_Tspin, t_StopCalc::col_h2, t_StopCalc::col_h2_nut, t_StopCalc::col_monoxco, t_colden::colden, colden, t_StopCalc::colnut, t_StopCalc::colpls, COmole, ContRate(), conv, DEBUG_ENTRY, dense, dense_fabden(), dense_tabden(), t_radius::depth, t_radius::Depth2Go, t_struc::depth_last, t_geometry::DirectionalCosin, DNGLOB, t_DoppVel::doppler, DoppVel, t_struc::dr_ionfrac_limit, t_radius::drad, t_dynamics::dRad, t_struc::drad_last, t_radius::drChange, t_radius::drMinimum, t_radius::drNext, t_rt::dTauMase, dynamics, t_dense::eden, t_dense::eden_from_metals, t_conv::EdenErrorAllowed, t_struc::ednstr, elementnames, t_transition::Emis, t_rfield::extin_mag_V_extended, t_rfield::extin_mag_V_point, t_geometry::FillFac, findspecies(), t_dense::flong, FndLineHt(), fp_equal(), t_dense::gas_phase, t_struc::gas_phase, geometry, t_radius::glbden, t_radius::glbdst, t_radius::glbpow, t_radius::glbrad, GrainRateDr(), t_colden::H0_ov_Tspin, H2_DR(), t_struc::H2_molec, t_hmi::H2_total, t_StopCalc::HColStop, t_conv::HeatCoolRelErrorAllowed, t_hmi::HeatH2Dexc_used, t_hmi::HeatH2Dish_used, t_thermal::heating, molecule::hevcol, molecule::hevmol, HFLines, t_transition::Hi, hmi, t_thermal::htot, hyperfine, ioQQQ, ipCARBON, ipCOL_H0, ipCOL_H2g, ipCOL_H2s, ipCOL_Hp, ipCOL_HTOT, t_punch::ipDRout, ipH_LIKE, ipHELIUM, ipHYDROGEN, ipIRON, ipMH2g, ipMH2s, ipNITROGEN, ipOXYGEN, t_StopCalc::iptnu, iso, iteration, iterations, molecule::label, lgAbort, t_dynamics::lgAdvection, t_pressure::lgContRadPresOn, t_conv::lgConvPres, t_conv::lgConvTemp, t_dense::lgDenFlucOn, t_trace::lgDrBug, t_radius::lgDrMinUsed, t_radius::lgDrNeg, t_punch::lgDROn, t_punch::lgDRPLst, t_dense::lgElmtOn, lgFirstCall, molecule::lgGas_Phase, t_iterations::lgLastIt, t_rt::lgMaserSetDR, t_dynamics::lgRecom, t_pressure::lgSonicPoint, t_dynamics::lgStatic, t_pressure::lgStrongDLimbo, t_thermal::lgTemperatureConstant, t_trace::lgTrace, t_co::lgUMISTrates, LIMELM, t_rt::mas_hi, t_rt::mas_ion, t_rt::mas_lo, t_rt::mas_species, MAX2, MAX4, MIN2, MIN3, MIN4, mole, t_dynamics::n_initial_relax, molecule::n_nuclei, t_quantumState::nelem, molecule::nelem_hevmol, t_mole::num_comole_calc, t_rfield::nupper, t_struc::nzlim, nzone, t_struc::nzone_last, opac, t_rfield::opac_mag_V_extended, t_rfield::opac_mag_V_point, t_emission::opacity, t_opac::opacity_abs, t_emission::Pesc, phycon, t_pressure::pinzon, t_emission::PopOpc, POW2, pressure, t_pressure::PresTotlCurr, t_emission::pump, punch, t_radius::Radius, radius, t_iso::RecomCollisFrac, rfield, t_radius::rinner, t_radius::router, rt, SDIV(), t_radius::sdrmax, t_radius::sdrmin, ShowMe(), SMALLFLOAT, t_timesc::sound_speed_isothermal, StopCalc, struc, t_opac::TauAbsGeo, t_StopCalc::tauend, t_emission::TauIn, TauLine2, TauLines, t_phycon::te, t_struc::testr, thermal, timesc, TotalInsanity(), trace, t_hyperfine::Tspin21cm, wind, WIND_CHNG_VELOCITY_RELATIVE, t_wind::windv, t_struc::xIonDense, t_dense::xIonDense, t_dense::xMassDensity, and Z.

Referenced by cloudy().

Here is the call graph for this function:

Variable Documentation

EXTERN struct t_radius radius

Generated for cloudy by doxygen 1.8.3.1