Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pressure_change.cpp File Reference
#include "cddefines.h"
#include "pressure_change.h"
#include "colden.h"
#include "conv.h"
#include "cosmology.h"
#include "dark_matter.h"
#include "dense.h"
#include "dynamics.h"
#include "geometry.h"
#include "phycon.h"
#include "pressure.h"
#include "radius.h"
#include "struc.h"
#include "thermal.h"
#include "trace.h"
#include "wind.h"
Include dependency graph for pressure_change.cpp:

Enumerations

enum  {
  CPRE, SUBSONIC, SUPERSONIC, STRONGD,
  ORIGINAL, SHOCK, ANTISHOCK, ANTISHOCK2
}
 

Functions

double zoneDensity ()
 
STATIC double stepDensity (const PresMode &presmode, solverState &st)
 
STATIC void logPressureState ()
 
STATIC bool lgTestPressureConvergence (double new_density)
 
STATIC double limitedDensityScaling (double new_density, double dP_chng_factor)
 
void PressureChange (double dP_chng_factor, const PresMode &presmode, solverState &st, bool &lgStable)
 
double pressureZone (const PresMode &presmode)
 

Enumeration Type Documentation

anonymous enum
Enumerator
CPRE 
SUBSONIC 
SUPERSONIC 
STRONGD 
ORIGINAL 
SHOCK 
ANTISHOCK 
ANTISHOCK2 

Function Documentation

STATIC bool lgTestPressureConvergence ( double  new_density)

References conv, t_conv::PressureErrorAllowed, and scalingDensity().

Referenced by PressureChange().

Here is the call graph for this function:

STATIC double limitedDensityScaling ( double  new_density,
double  dP_chng_factor 
)

References conv, MAX2, t_conv::MaxFractionalDensityStepPerIteration, MIN2, and scalingDensity().

Referenced by PressureChange().

Here is the call graph for this function: