/home66/gary/public_html/cloudy/c08_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 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   ) 

returns true if pressure is converged

fp_equal( radius.depth, rsave ) &&

Definition at line 336 of file pressure_change.cpp.

References t_wind::AccelCont, t_wind::AccelGravity, t_wind::AccelLine, t_wind::AccelPres, t_wind::AccelTot, ASSERT, cdEXIT, t_dense::cfirst, t_dense::chDenseLaw, t_colden::colden, colden, conv, t_dense::csecnd, da(), t_dynamics::dDensityDT, DEBUG_ENTRY, t_dense::den0, dense, dense_fabden(), dense_tabden(), t_dense::DensityPower, t_radius::depth, t_radius::drad, t_radius::drNext, dynamics, DynaPresChngFactor(), t_wind::emdot, t_dense::flcPhase, t_dense::flong, t_dense::gas_phase, t_radius::glbden, t_radius::glbdst, t_radius::glbpow, t_radius::glbrad, ioQQQ, ipCOL_HTOT, ipHYDROGEN, t_pressure::lgContRadPresOn, t_conv::lgConvPres, t_dense::lgDenFlucRadius, t_dense::lgDenseInitConstant, t_wind::lgDisk, t_dynamics::lgStatic, t_trace::lgTrace, t_wind::lgVelPos, t_trace::lgWind, nzone, POW2, t_pressure::pres_radiation_lines_curr, t_pressure::PresInteg, t_pressure::PresPowerlaw, pressure, pressure_change_factor, t_conv::PressureErrorAllowed, t_pressure::PresTotlCorrect, t_pressure::PresTotlCurr, t_pressure::PresTotlInit, t_radius::r1r0sq, t_radius::Radius, radius, t_radius::rinner, t_dense::rscale, ShowMe(), struc, TorF(), TotalInsanity(), trace, wind, t_struc::windv, t_wind::windv, and t_dense::xMassDensity.

Referenced by PressureChange().

Here is the call graph for this function:

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 33 of file pressure_change.cpp.

References abund, AbundancesTable(), conv, DEBUG_ENTRY, dense, t_radius::depth, t_dense::eden, t_dense::gas_phase, 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, ioQQQ, ipHYDROGEN, t_abund::lgAbTaON, t_abund::lgAbunTabl, lgConvPres(), t_conv::lgConvPres, LIMELM, MALLOC, MAX2, MIN2, t_conv::nTotalIoniz, nzone, t_pressure::pres_radiation_lines_curr, t_pressure::PresGasCurr, pressure, pressure_change_factor, PresTotCurrent(), t_pressure::PresTotlCorrect, t_pressure::PresTotlCurr, t_radius::Radius, radius, REALLOC, and t_dense::xIonDense.

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 on Mon Feb 16 12:11:24 2009 for cloudy by  doxygen 1.4.7