cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures | Functions | Variables
radius.h File Reference
#include "module.h"
Include dependency graph for radius.h:
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

t_radius radius
 

Function Documentation

void radius_first ( void  )

radius_first derive thickness of first zone

Definition at line 28 of file radius_first.cpp.

References Wind::AccelGravity, Wind::AccelTotalOutward, ASSERT, t_dense::chDenseLaw, t_save::chHashString, t_StopCalc::chSpeciesColumn, t_StopCalc::col_species, t_StopCalc::colnut, t_StopCalc::colpls, t_thermal::ctot, DEBUG_ENTRY, dense, t_radius::depth, t_radius::Depth2Go, t_geometry::DirectionalCosin, t_dense::DLW, t_radius::drad, t_radius::drad_mid_zone, t_radius::drad_x_fillfac, t_radius::drChange, t_radius::drMinimum, dynamics, exp10(), t_geometry::FillFac, findspecieslocal_validate(), t_dense::flong, fp_equal(), fprintf(), t_dense::gas_phase, geometry, h2, t_hmi::H2_total, t_hmi::H2Opacity, t_StopCalc::HColStop, diatomics::HeatDexc, hmi, ioQQQ, t_save::ipDRout, ipH_LIKE, ipHYDROGEN, ipoint(), iso_sp, iteration, iterations, Wind::lgBallistic(), t_pressure::lgContRadPresOn, t_radius::lgDR2Big, t_save::lgDRHash, t_radius::lgDrMnOn, t_save::lgDROn, diatomics::lgEnabled, diatomics::lgEvaluated, t_radius::lgSdrmaxRel, t_radius::lgSdrminRel, t_radius::lgSMinON, Wind::lgStatic(), t_dynamics::lgTimeDependentStatic, t_trace::lgTrace, MAX2, MIN2, MIN3, MIN4, t_rfield::nflux, nzone, opac, t_opac::opacity_abs, t_dense::pden, POW2, pressure, t_pressure::PresTotlCurr, t_rfield::qbal, t_rfield::qhtot, radius, t_radius::Radius, t_iso_sp::RadRec_caseB, rfield, t_radius::rinner, safe_div(), save, SDIV(), t_radius::sdrmax, t_radius::sdrmin, ShowMe(), SMALLFLOAT, StopCalc, t_iterations::StopThickness, DepthTable::tabval(), t_StopCalc::tauend, t_StopCalc::taunu, thermal, t_radius::thickness_stromgren, TotalInsanity(), trace, t_rfield::uh, wind, Wind::windv, t_dense::wmole, t_dense::xIonDense, and t_dense::xMassDensity.

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 35 of file radius_increment.cpp.

References Wind::AccelAver, Wind::AccelElectron, t_struc::AccelGravity, Wind::AccelGravity, Wind::AccelMax, t_struc::AccelTotalOutward, Wind::AccelTotalOutward, Wind::acldr, t_colden::ajmmin, t_phycon::alogte, ASSERT, t_dense::AtomicWeight, t_conv::AverEdenError, t_conv::AverHeatCoolError, t_conv::AverPressError, t_timesc::BigCOMoleForm, t_conv::BigEdenError, t_conv::BigHeatCoolError, t_conv::BigPressError, GrainVar::bin, colden, t_colden::colden, t_colden::coldenH2_ov_vel, conv, t_dynamics::Cool(), t_struc::coolstr, t_thermal::ctot, DEBUG_ENTRY, molezone::den, 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_radius::drad, t_struc::drad, t_struc::drad_x_fillfac, t_radius::drad_x_fillfac, t_radius::drNext, t_radius::dVeffAper, t_radius::dVeffVol, dynamics, t_dense::eden, t_dense::EdenMax, t_dense::EdenMin, t_dense::EdenTrue, t_struc::ednstr, 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_iso_sp::fb, t_geometry::FillFac, findspecies(), findspecieslocal(), fprintf(), t_struc::gas_phase, t_dense::gas_phase, t_struc::GasPressure, geometry, GetDopplerWidth(), GravitationalPressure(), 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_abund, t_hmi::H2_total, t_struc::hden, t_dynamics::Heat(), t_struc::heatstr, HFLines, t_struc::hiistr, t_struc::histr, hmi, t_thermal::htot, hydro, hyperfine, molecule::index, t_pressure::IntegRhoGravity, ioQQQ, t_rfield::ipB_filter, ipCARBON, ipCOL_elec, ipCOL_HTOT, ipH1s, ipH2p, ipH_LIKE, ipHELIUM, ipHYDROGEN, ipOXYGEN, t_rfield::ipV_filter, iso_sp, iteration, iterations, lgAbort, t_dense::lgElmtOn, t_trace::lgTrace, t_thermal::lgUnstable, t_rfield::lgUSphON, LIMELM, MAX2, mean, t_mean::MeanInc(), MIN2, molcol(), mole, mole_global, t_struc::molecules, NISO, t_hydro::nLyaHot, t_mole_global::num_calc, t_iso_sp::numLevels_max, t_thermal::nUnstable, t_dense::nzEdenBad, t_struc::nzlim, nzone, t_struc::nzonePreviousIteration, t_hydro::nZTLaMax, t_struc::o3str, 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, diatomics::ortho_colden, diatomics::ortho_density, diatomics::para_colden, diatomics::para_density, t_dense::pden, phycon, t_pressure::pinzon, t_pressure::pinzon_PresIntegElecThin, t_struc::pres_radiation_lines_curr, t_pressure::pres_radiation_lines_curr, t_pressure::PresGasCurr, t_pressure::PresInteg, t_pressure::PresIntegElecThin, pressure, t_struc::pressure, t_pressure::PresTotlCurr, t_pressure::PresTotlError, t_radius::r1r0sq, radius, t_radius::Radius, rfield, t_pressure::RhoGravity, t_radius::rinner, t_colden::rjnmin, t_rfield::rstrom, SDIV(), SMALLFLOAT, t_timesc::sound, t_timesc::sound_speed_adiabatic, t_timesc::sound_speed_isothermal, t_mole_local::species, t_struc::StatesElem, t_iterations::StopThickness, struc, t_opac::TauAbsFace, t_phycon::te, t_hydro::TeLyaMax, TempChange(), t_struc::TempChangeMax, 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_colden::TotMassColl, trace, t_hyperfine::Tspin21cm, t_struc::volstr, wind, Wind::windv, t_struc::windv, t_colden::wmas, t_dense::wmole, t_struc::xIonDense, t_dense::xIonDense, t_struc::xLyman_depth, t_dense::xMassDensity, and t_dense::xMassTotal.

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

Definition at line 104 of file radius_next.cpp.

References abund, Wind::AccelTotalOutward, ASSERT, TransitionProxy::associated(), t_StopCalc::AV_extended, t_StopCalc::AV_point, drList::begin(), cdEXIT, t_dense::chDenseLaw, t_elementnames::chElementName, chLineLbl(), t_StopCalc::chSpeciesColumn, drList::clear(), t_StopCalc::col_H0_ov_Tspin, t_StopCalc::col_h2, t_StopCalc::col_h2_nut, t_StopCalc::col_monoxco, t_StopCalc::col_species, colden, t_colden::colden, TransitionProxy::Coll(), t_StopCalc::colnut, t_StopCalc::colpls, column(), molezone::column, ContRate(), cosmology, EmissionProxy::damp(), EmissionProxy::dampXvel(), dark, DEBUG_ENTRY, molezone::den, dense, dense_fabden(), dense_parametric_wind(), t_radius::depth, t_radius::Depth2Go, t_struc::depth_last, diatoms, t_geometry::DirectionalCosin, t_dense::DLW, 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_struc::ednstr, elementnames, TransitionProxy::Emis(), drList::end(), EXIT_FAILURE, exp10(), t_rfield::extin_mag_V_extended, t_rfield::extin_mag_V_point, t_geometry::FillFac, findspecieslocal(), findspecieslocal_validate(), fixit, t_dense::flong, FndLineHt(), fprintf(), t_struc::gas_phase, t_dense::gas_phase, geometry, GetHubbleFactor(), t_radius::glbden, t_radius::glbdst, t_radius::glbpow, t_radius::glbrad, GrainRateDr(), t_pressure::gravity_symmetry, t_colden::H0_ov_Tspin, t_struc::H2_abund, t_hmi::H2_total, t_StopCalc::HColStop, CollisionProxy::heat(), t_hmi::HeatH2Dexc_used, t_hmi::HeatH2Dish_used, t_thermal::heating(), hmi, t_thermal::htot, hyperfine, drList::insert(), ioQQQ, ipCARBON, ipCOL_HTOT, t_save::ipDRout, ipH_LIKE, ipHELIUM, ipHYDROGEN, t_StopCalc::iptnu, iso_sp, iteration, iterations, lgAbort, t_dynamics::lgAdvection, t_pressure::lgContRadPresOn, t_dense::lgDenFlucOn, t_cosmology::lgDo, t_trace::lgDrBug, t_radius::lgDrMinUsed, t_save::lgDROn, t_save::lgDRPLst, t_dense::lgElmtOn, t_radius::lgFixed, t_iterations::lgLastIt, t_mole_global::lgLeidenHack, t_rt::lgMaserSetDR, t_dark_matter::lgNFW_Set, t_dynamics::lgRecom, t_radius::lgSdrmaxRel, t_radius::lgSdrminRel, t_pressure::lgSonicPoint, Wind::lgStatic(), t_pressure::lgStrongDLimbo, t_thermal::lgTemperatureConstant, t_dynamics::lgTimeDependentStatic, t_trace::lgTrace, LIMELM, t_mole_global::list, t_rt::mas_hi, t_rt::mas_ion, t_rt::mas_lo, t_rt::mas_species, MAX2, MIN2, mole, mole_global, t_struc::molecules, t_dynamics::n_initial_relax, t_rfield::nflux_with_check, t_mole_global::num_calc, nzone, t_struc::nzonePreviousIteration, opac, t_rfield::opac_mag_V_extended, t_rfield::opac_mag_V_point, EmissionProxy::opacity(), t_opac::opacity_abs, EmissionProxy::Pesc(), phycon, t_pressure::pinzon, EmissionProxy::PopOpc(), pow(), pressure, t_pressure::PresTotlCurr, EmissionProxy::pump(), radius, t_radius::Radius, t_cosmology::redshift_current, rfield, t_pressure::RhoGravity, t_radius::rinner, rt, safe_div(), SAFETY, save, SDIV(), t_radius::sdrmax, t_radius::sdrmin, t_radius::sdrmin_rel_depth, drList::size(), SMALLFLOAT, t_timesc::sound_speed_isothermal, t_mole_local::species, StopCalc, t_iterations::StopThickness, struc, DepthTable::tabval(), t_opac::TauAbsGeo, t_StopCalc::tauend, EmissionProxy::TauIn(), t_phycon::te, t_struc::testr, thermal, timesc, TotalInsanity(), trace, t_hyperfine::Tspin21cm, wind, Wind::windv, t_struc::xIonDense, t_dense::xIonDense, and t_dense::xMassDensity.

Referenced by cloudy().

Here is the call graph for this function:

Variable Documentation

t_radius radius

Definition at line 5 of file radius.cpp.

Referenced by AbundancesSet(), AbundChange(), cdLine_ip(), cdSPEC(), cdSPEC2(), conorm(), ConvInitSolution(), ConvTempEdenIoniz(), CoolEvaluate(), CoolSave(), dense_parametric_wind(), DynaEndZone(), DynaIonize(), DynaIterEnd(), DynaSave(), DynaStartZone(), GetAveVelocity(), GetDopplerWidth(), diatomics::getLine(), GravitationalPressure(), diatomics::H2_Colden(), diatomics::H2_LinesAdd(), diatomics::H2_PunchDo(), highen(), InitDefaultsPreparse(), InitSimPostparse(), ion_trim(), ion_trim2(), iter_end_check(), IterEnd(), IterRestart(), IterStart(), lgCheckMonitors(), lgConserveEnergy(), lincom(), lindst(), lines(), lines_continuum(), lines_general(), lines_grains(), lines_hydro(), lines_molecules(), matchGeneric(), t_mean::MeanInc(), mie_auxiliary(), mie_write_opc(), molcol(), mole_effects(), mole_h_reactions(), optimize_func(), TransitionProxy::outline(), outline_base_bin(), ParseBackgrd(), ParseBlackbody(), ParseCMB(), ParseCommands(), ParseCylinder(), ParseDistance(), ParseEnergy(), ParseF_nu(), ParseGlobule(), ParseIntensity(), ParseIonPar(), ParsePhi(), ParseRadius(), ParseRoberto(), ParseSet(), ParseTable(), pltcon(), PressureChange(), pressureZone(), PresTotCurrent(), PrintSpectrum(), PrtComment(), PrtFinal(), PrtHeader(), PrtLineSum(), PrtZone(), radius_first(), radius_increment(), radius_next(), RT_continuum(), RT_diffuse(), RT_line_all_escape(), RT_line_escape(), RT_line_fine_opacity(), RT_line_one_tauinc(), RT_line_pumping(), RT_tau_inc(), save_line(), Save_Line_RT(), SaveDo(), SaveHeat(), SaveSpecial(), SaveSpeciesOne(), PresMode::set(), SpeciesPseudoContAccum(), stepDensity(), sum_radiation(), zoneDensity(), and ZoneStart().