cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
thermal.cpp
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 #include "cddefines.h"
4 #include "thermal.h"
5 #include "cooling.h"
7 
9 {
10  DEBUG_ENTRY( "t_thermal::zero()" );
11  for( long int i=0; i<LIMELM; i++)
12  heavycollcool[i] = 0.;
13 
14  lgCNegChk = true;
15  CoolHeatMax = 0.;
16  wlCoolHeatMax = 0;
17  totcol = 0.;
18  heatl = 0.;
19  coolheat = 0.;
20  lgCExtraOn = false;
21  CoolExtra = 0.;
22  ctot = 1.;
23 
24  htot = 1.;
25  power = 0.;
26  FreeFreeTotHeat = 0.;
27  char_tran_cool = 0.;
28  char_tran_heat = 0.;
29 
30  HeatZero();
31  CoolZero();
32 }
double htot
Definition: thermal.h:169
t_thermal thermal
Definition: thermal.cpp:6
double power
Definition: thermal.h:169
double heavycollcool[LIMELM]
Definition: thermal.h:115
double FreeFreeTotHeat
Definition: thermal.h:178
double char_tran_heat
Definition: thermal.h:166
double char_tran_cool
Definition: thermal.h:166
bool lgCExtraOn
Definition: thermal.h:151
void zero()
Definition: thermal.cpp:8
bool lgCNegChk
Definition: thermal.h:122
void CoolZero(void)
Definition: cool_etc.cpp:50
realnum CoolExtra
Definition: thermal.h:152
double totcol
Definition: thermal.h:130
const int LIMELM
Definition: cddefines.h:308
#define DEBUG_ENTRY(funcname)
Definition: cddefines.h:723
double coolheat
Definition: thermal.h:130
void HeatZero(void)
Definition: heat_sum.cpp:1071
realnum wlCoolHeatMax
Definition: thermal.h:126
double heatl
Definition: thermal.h:130
realnum CoolHeatMax
Definition: thermal.h:125
double ctot
Definition: thermal.h:130