cloudy  trunk
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
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 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_factorthis is change factor, 1 at first, becomes smaller as oscillations occur

Definition at line 33 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_limit, t_conv::hist_pres_npres, 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, MALLOC, MAX2, MIN2, mole, N_H_MOLEC, t_conv::nTotalIoniz, 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, REALLOC, t_phycon::te, TempChange(), TorF(), trace, wind, t_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 28 of file pressure_change.cpp.

Referenced by lgConvPres(), and PressureChange().


Generated for cloudy by doxygen 1.8.3.1