cloudy
trunk
|
#include "module.h"
Go to the source code of this file.
Data Structures | |
struct | t_pressure |
Functions | |
void | PresTotCurrent (void) |
double | PressureRadiationLine (const TransitionProxy &t, realnum DopplerWidth) |
Variables | |
t_pressure | pressure |
double PressureRadiationLine | ( | const TransitionProxy & | t, |
realnum | DopplerWidth | ||
) |
PressureRadiationLine calculate radiation pressure due to a particular line
Definition at line 50 of file pressure.cpp.
References ASSERT, DEBUG_ENTRY, TransitionProxy::Emis(), TransitionProxy::EnergyErg(), TransitionProxy::EnergyWN(), t_rfield::fine_opac_zone, TransitionProxy::Hi(), EmissionProxy::ipFine(), t_rfield::ipFineConVelShift, t_rfield::lgOpacityFine, TransitionProxy::Lo(), MIN2, t_rfield::nfine, EmissionProxy::opacity(), t_rfield::plsfrq, EmissionProxy::PopOpc(), POW4, rfield, RT_LineWidth(), SMALLFLOAT, and EmissionProxy::VoigtLineCen().
Referenced by diatomics::H2_RadPress(), PresTotCurrent(), and PrtLinePres().
void PresTotCurrent | ( | void | ) |
PressureTotal determine the gas and line radiation pressures for current conditions, this sets the variable pressure.PresTotlCurr
Definition at line 27 of file pressure_total.cpp.
References Wind::AccelCont, Wind::AccelElectron, Wind::AccelGravity, Wind::AccelLine, Wind::AccelTotalOutward, t_mesh::anu(), ASSERT, t_dense::AtomicWeight, broken(), cdEXIT, t_dense::chDenseLaw, chLineLbl(), t_pressure::chLineRadPres, Wind::comass, t_rfield::ConInterOut, conv, dBaseSpecies, dBaseTrans, DEBUG_ENTRY, dense, t_radius::depth, diatoms, Wind::DiskRadius, DoppVel, t_radius::drad, DynaFlux(), dynamics, t_dense::eden, t_phycon::EnergyBinding, TransitionProxy::EnergyErg(), t_phycon::EnergyExcitation, t_phycon::EnergyIonization, t_magnetic::EnthalpyDensity, t_phycon::EnthalpyDensity, EXIT_FAILURE, fixit, t_rfield::flux, Wind::fmul, fnzone, fprintf(), fudge(), GetDopplerWidth(), Heavy, t_DoppVel::Heiles_Troland_F, HFLines, t_hydro::HLineWidth, hydro, Singleton< t_ADfA >::Inst(), t_dense::IonHigh, t_dense::IonLow, t_opac::iopcom, ioQQQ, ipH1s, ipH2p, ipH_LIKE, ipHE_LIKE, ipHYDROGEN, t_pressure::ipPradMax_line, t_pressure::ipPradMax_nzone, iso_ctrl, iso_sp, iteration, Wind::lgBallistic(), t_rfield::lgDoLineTrans, lgElemsConserved(), t_dynamics::lgISO, t_pressure::lgLineRadPresOn, t_dynamics::lgMETALS, t_pressure::lgPradCap, t_pressure::lgPres_magnetic_ON, t_pressure::lgPres_radiation_ON, t_pressure::lgPres_ram_ON, t_conv::lgSearch, Wind::lgStatic(), t_dynamics::lgTimeDependentStatic, t_trace::lgTrace, t_DoppVel::lgTurb_pressure, LIMELM, magnetic, Magnetic_evaluate(), MAX2, MIN2, t_iso_sp::nCollapsed_local, t_rfield::nflux, NISO, nSpecies, t_Heavy::nsShells, t_conv::nTotalIoniz, t_iso_sp::numLevels_local, nWindLine, nzone, opac, t_opac::opacity_abs, t_opac::opacity_sct, t_opac::OpacStack, t_rfield::outlin, t_rfield::outlin_noplot, t_pressure::pbeta, t_dense::pden, t_ADfA::ph1(), phycon, POW2, t_pressure::pres_radiation_lines_curr, t_pressure::PresGasCurr, t_pressure::PresMax, t_pressure::PresRamCurr, pressure, t_magnetic::pressure, t_conv::PressureErrorAllowed, PressureRadiationLine(), t_pressure::PresTotlCurr, t_pressure::PresTotlError, t_pressure::PresTurbCurr, t_pressure::RadBetaMax, radius, t_radius::Radius, rfield, RT_line_driving(), RT_LineWidth(), SDIV(), ShowMe(), TransitionList::size(), t_isoCTRL::SmallA, SMALLFLOAT, t_iso_sp::st, SumDensities(), TauLine2, t_phycon::te, TempChange(), TorF(), trace, t_iso_sp::trans(), t_DoppVel::TurbVel, wind, Wind::windv, t_dense::xIonDense, and t_dense::xMassDensity.
Referenced by ConvBase(), ConvInitSolution(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), CoolHeatError(), IterStart(), map_do(), and PressureChange().
t_pressure pressure |
Definition at line 9 of file pressure.cpp.
Referenced by advection_set_default(), cdPressure_last(), ConvFail(), ConvInitSolution(), ConvPresTempEdenIoniz(), CoolEvaluate(), t_dynamics::dCooldT(), DynaIonize(), DynaIterEnd(), DynaPrtZone(), GravitationalPressure(), highen(), InitDefaultsPreparse(), InitSimPostparse(), iter_end_check(), IterRestart(), IterStart(), lgCheckMonitors(), logPressureState(), ParseCommands(), ParseConstant(), ParseDont(), ParseDynaWind(), ParseGravity(), PressureChange(), pressureZone(), PresTotCurrent(), prt_smooth_predictions(), PrtComment(), PrtFinal(), PrtLinePres(), PrtZone(), radius_first(), radius_increment(), radius_next(), RT_LineWidth(), SaveDo(), PresMode::set(), stepDensity(), and zoneDensity().