Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pressure_change.h
Go to the documentation of this file.
1 /* This file is part of Cloudy and is copyright (C)1978-2022 by Gary J. Ferland and
2  * others. For conditions of distribution and use see copyright notice in license.txt */
3 
4 #ifndef PRESSURE_CHANGE_H_
5 #define PRESSURE_CHANGE_H_
6 
11 class PresMode
12 {
13 public:
14  int global, zone;
15  void set();
16 };
17 
19 {
20 public:
21  double dp, erp, press;
22  int lastzone;
23  explicit solverState() : dp(-1.), erp(-1.), press(0), lastzone(-1) {}
24 };
25 
26 double pressureZone(const PresMode &presmode);
27 void PressureChange(double dP_chng_factor, const PresMode &presmode, solverState &st, bool& lgStable);
28 double zoneDensity();
29 
30 
31 #endif // PRESSURE_CHANGE_H_
int zone
Definition: pressure_change.h:14
Definition: pressure_change.h:18
double zoneDensity()
Definition: pressure_change.cpp:29
void PressureChange(double dP_chng_factor, const PresMode &presmode, solverState &st, bool &lgStable)
Definition: pressure_change.cpp:287
Definition: pressure_change.h:11
int lastzone
Definition: pressure_change.h:22
solverState()
Definition: pressure_change.h:23
int global
Definition: pressure_change.h:14
double press
Definition: pressure_change.h:21
void set()
Definition: pressure_change.cpp:519
double pressureZone(const PresMode &presmode)
Definition: pressure_change.cpp:667
double erp
Definition: pressure_change.h:21
double dp
Definition: pressure_change.h:21