cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
hydrogenic.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 "hydrogenic.h"
6 
8 {
9  DEBUG_ENTRY( "t_hydro::zero()" );
10  cintot = 0.;
11 
12  /* option to print emissivity instead of intensity/luminosity */
13  lgHiPop2 = false;
14  pop2mx = 0.;
15 
16  /* flag for Lya masing */
17  HCollIonMax = 0.;
18 
19  /* type of hydrogen atom top off, options are " add" and "scal"
20  * in versions 90 this was " add", but was "scal" in 91
21  * >>chng 99 jan 16, changed back to " add"*/
22  /*strcpy( chHTopType, "scal" );*/
23  strcpy( chHTopType, " add" );
24 
25  /* Lya excitation temperature, counter for hotter than gas */
26  TexcLya = 0.;
27  TLyaMax = 0.;
28  nLyaHot = 0;
29 
30  /* option to kill damping wings of Lya */
31  DampOnFac = 1.;
32 
33  /* is FeII pumping by H Lyman lines included? */
34  lgLyaFeIIPumpOn = true;
35 
36  /* is continuum pumping of H Lyman lines included? yes, but turned off
37  * with atom h-like Lyman pumping off command */
38  lgLymanPumping = true;
39 
40  /* multiplicative factor for all continuum pumping of H I Lyman lines,
41  * account for possible emission in the line */
43 }
realnum xLymanPumpingScaleFactor
Definition: hydrogenic.h:150
double cintot
Definition: hydrogenic.h:129
realnum pop2mx
Definition: hydrogenic.h:89
realnum HCollIonMax
Definition: hydrogenic.h:123
long int nLyaHot
Definition: hydrogenic.h:106
bool lgLyaFeIIPumpOn
Definition: hydrogenic.h:93
t_hydro hydro
Definition: hydrogenic.cpp:5
bool lgLymanPumping
Definition: hydrogenic.h:145
realnum DampOnFac
Definition: hydrogenic.h:135
#define DEBUG_ENTRY(funcname)
Definition: cddefines.h:723
realnum TexcLya
Definition: hydrogenic.h:103
char chHTopType[5]
Definition: hydrogenic.h:117
bool lgHiPop2
Definition: hydrogenic.h:88
void zero()
Definition: hydrogenic.cpp:7
realnum TLyaMax
Definition: hydrogenic.h:109