cloudy  trunk
 All Data Structures 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 
27 double pressureZone(const PresMode &presmode);
28 void PressureChange(double dP_chng_factor, const PresMode &presmode,
29  solverState &st, bool& lgAbort, bool& lgStable);
30 double zoneDensity();
31 
32 
33 #endif // PRESSURE_CHANGE_H_
double pressureZone(const PresMode &presmode)
void PressureChange(double dP_chng_factor, const PresMode &presmode, solverState &st, bool &lgAbort, bool &lgStable)
double zoneDensity()
bool lgAbort
Definition: cddefines.cpp:10