cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Enumerations | Functions
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:

Go to the source code of this file.

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 &lgAbort, bool &lgStable)
 
double pressureZone (const PresMode &presmode)
 

Enumeration Type Documentation

anonymous enum
Enumerator
CPRE 
SUBSONIC 
SUPERSONIC 
STRONGD 
ORIGINAL 
SHOCK 
ANTISHOCK 
ANTISHOCK2 

Definition at line 232 of file pressure_change.cpp.

Function Documentation

STATIC bool lgTestPressureConvergence ( double  new_density)

Definition at line 254 of file pressure_change.cpp.

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 
)

Definition at line 270 of file pressure_change.cpp.

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

Referenced by PressureChange().

Here is the call graph for this function:

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