/home66/gary/public_html/cloudy/c10_branch/source/pressure_change.cpp File Reference

#include "cddefines.h"
#include "abund.h"
#include "hmi.h"
#include "struc.h"
#include "trace.h"
#include "wind.h"
#include "phycon.h"
#include "thermal.h"
#include "dense.h"
#include "geometry.h"
#include "radius.h"
#include "mole.h"
#include "dynamics.h"
#include "pressure.h"
#include "colden.h"
#include "conv.h"
#include "cosmology.h"
#include "dark_matter.h"
Include dependency graph for pressure_change.cpp:

Go to the source code of this file.

Functions

int PressureChange (double dP_chng_factor)
bool lgConvPres (void)

Variables

static double pressure_change_factor

Function Documentation

bool lgConvPres ( void   ) 
int PressureChange ( double  dP_chng_factor  ) 

PressureChange evaluate the current pressure, and change needed to get it to PresTotlInit, return value is true is density was changed, false if no changes were necessary

Parameters:
dP_chng_factor this is change factor, 1 at first, becomes smaller as oscillations occur

Definition at line 35 of file pressure_change.cpp.

References abund, AbundancesTable(), ASSERT, t_dense::cfirst, t_colden::colden, colden, COmole, conv, t_dense::csecnd, DEBUG_ENTRY, dense, t_radius::depth, t_dense::eden, t_geometry::FillFac, t_dense::flcPhase, t_dense::flong, t_dense::gas_phase, geometry, t_hmi::H2_total, molecule::hevmol, t_conv::hist_pres_correct, t_conv::hist_pres_current, t_conv::hist_pres_density, t_conv::hist_pres_nzone, hmi, t_hmi::Hmolec, ioQQQ, ipCOL_HTOT, ipHELIUM, ipHYDROGEN, ipLITHIUM, isnan, t_abund::lgAbTaON, t_abund::lgAbunTabl, lgConvPres(), t_conv::lgConvPres, t_dense::lgDenFlucOn, t_dense::lgDenFlucRadius, t_trace::lgNeBug, t_trace::lgTrace, LIMELM, MAX2, MIN2, mole, N_H_MOLEC, t_mole::num_comole_calc, nzone, phycon, t_pressure::pinzon, t_pressure::pres_radiation_lines_curr, t_pressure::PresGasCurr, t_pressure::PresInteg, t_pressure::PresRamCurr, pressure, pressure_change_factor, PresTotCurrent(), t_pressure::PresTotlCorrect, t_pressure::PresTotlCurr, t_pressure::PresTotlInit, t_radius::Radius, radius, t_phycon::te, TempChange(), TorF(), trace, wind, Wind::windv, t_dense::xIonDense, t_dense::xMassDensity, and t_dense::xMolecules.

Referenced by ConvPresTempEdenIoniz().

Here is the call graph for this function:


Variable Documentation

double pressure_change_factor [static]

Definition at line 30 of file pressure_change.cpp.

Referenced by lgConvPres(), and PressureChange().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1