Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
hyperfine.h
Go to the documentation of this file.
1 /* This file is part of Cloudy and is copyright (C)1978-2023 by Gary J. Ferland and
2  * others. For conditions of distribution and use see copyright notice in license.txt */
3 
4 #ifndef HYPERFINE_H_
5 #define HYPERFINE_H_
6 
7 #include "module.h"
8 
11 void HyperfineCreate(void);
12 
16 /*double HyperfineCS( long nelem , long ion );*/
17 double HyperfineCS( size_t i );
18 
19 class TransitionProxy;
20 
32 double HyperfineTspin( const TransitionProxy &t );
33 
35 void H21_cm_pops( void );
36 
42 double H21cm_H_atom( double temp );
43 
49 double H21cm_proton( double temp );
50 
55 double H21cm_electron( double temp );
56 
57 struct t_hyperfine : public module {
58 
59  const char *chName() const
60  {
61  return "hyperfine";
62  }
63 
64  void zero();
65  void comment(t_warnings&) {}
66 
68  vector<realnum> HFLabundance;
69 
71  double Tspin21cm;
72 
75 
77  double cooling_total;
78 
81 
88 
89  };
90 extern t_hyperfine hyperfine;
91 
92 #endif /* HYPERFINE_H_ */
Definition: warnings.h:11
const char * chName() const
Definition: hyperfine.h:59
double cooling_total
Definition: hyperfine.h:77
Definition: hyperfine.h:86
Definition: hyperfine.h:57
void comment(t_warnings &)
Definition: hyperfine.h:65
double HyperfineCS(size_t i)
Definition: atom_hyperfine.cpp:724
float realnum
Definition: cddefines.h:127
t_hyperfine hyperfine
Definition: hyperfine.cpp:5
vector< realnum > HFLabundance
Definition: hyperfine.h:68
double HyperfineTspin(const TransitionProxy &t)
Definition: atom_hyperfine.cpp:756
double Tspin21cm
Definition: hyperfine.h:71
LyaSourceFunctionShape LyaSourceFunctionShape_assumed
Definition: hyperfine.h:87
void zero()
Definition: hyperfine.cpp:7
bool lgLya_pump_21cm
Definition: hyperfine.h:74
double H21cm_H_atom(double temp)
Definition: atom_hyperfine.cpp:361
realnum cooling_max
Definition: hyperfine.h:80
Definition: transition.h:23
LyaSourceFunctionShape
Definition: hyperfine.h:86
void H21_cm_pops(void)
Definition: atom_hyperfine.cpp:26
Definition: hyperfine.h:86
double H21cm_electron(double temp)
Definition: atom_hyperfine.cpp:264
Definition: module.h:26
void HyperfineCreate(void)
Definition: atom_hyperfine.cpp:448
double H21cm_proton(double temp)
Definition: atom_hyperfine.cpp:378
Definition: hyperfine.h:86