Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mean.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 MEAN_H_
5 #define MEAN_H_
6 
7 #include "container_classes.h"
8 #include "module.h"
9 
12 struct t_mean : public module
13 {
20 
27 
39 
40  map<string, multi_arr<double,2> > molecules;
41 
42  t_mean();
43 
45  void zero();
46  void comment(t_warnings&) {}
47  const char *chName() const
48  {
49  return "mean";
50  }
51 
53  void setup_molecules();
54 
56  void MeanInc();
57 
66  void MeanIon( char chType, long nelem, long dim, long *n, realnum arlog[], bool lgDensity ) const;
67 
75  bool MeanMoleculeTemp( const string &chSpecies, long dim, double &TeMean );
76 };
77 
78 extern t_mean mean;
79 
80 
81 #endif /* MEAN_H_ */
multi_arr< double, 2 > TempH_21cmSpinMean
Definition: mean.h:34
Definition: warnings.h:11
const char * chName() const
Definition: mean.h:47
char ** chSpecies
Definition: taulines.cpp:14
void setup_molecules()
Definition: mean.cpp:50
multi_arr< double, 2 > TempB_HarMean
Definition: mean.h:29
void MeanInc()
Definition: mean.cpp:92
multi_arr< double, 2 > TempEdenMean
Definition: mean.h:38
multi_arr< double, 4 > xIonEdenMean
Definition: mean.h:19
t_mean()
Definition: mean.cpp:19
float realnum
Definition: cddefines.h:127
multi_arr< double, 4 > TempIonEdenMean
Definition: mean.h:26
void comment(t_warnings &)
Definition: mean.h:46
bool MeanMoleculeTemp(const string &chSpecies, long dim, double &TeMean)
Definition: mean.cpp:266
void MeanIon(char chType, long nelem, long dim, long *n, realnum arlog[], bool lgDensity) const
Definition: mean.cpp:179
t_mean mean
Definition: mean.cpp:17
Definition: mean.h:12
multi_arr< double, 4 > TempIonMean
Definition: mean.h:24
map< string, multi_arr< double, 2 > > molecules
Definition: mean.h:40
multi_arr< double, 2 > TempMean
Definition: mean.h:36
void zero()
Definition: mean.cpp:66
multi_arr< double, 4 > xIonMean
Definition: mean.h:17
Definition: module.h:26
multi_arr< double, 2 > TempHarMean
Definition: mean.h:32