cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
continuum.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 CONTINUUM_H_
5 #define CONTINUUM_H_
6 
7 #include "module.h"
8 
10 void ContCreatePointers();
11 
13 void ContSetIntensity();
14 
17 
19 void ContCreateMesh();
20 
22 void ContNegative();
23 
30 double ffun(
31  /* the energy in Rydbergs where the continuum will be evaluated */
32  double anu ,
33  /* fraction of beamed continuum that is varies with time */
34  double *frac_beam_time,
35  /* fraction of beamed continuum that is constant */
36  double *frac_beam_const,
37  /* fraction of continuum that is isotropic */
38  double *frac_isotropic );
39 
41 double ffun(double anu);
42 
46 double ffun1(double xnu);
47 
48 /*outsum sum outward continuum beams */
49 void outsum(double *outtot, double *outin, double *outout);
50 
56 double cont_gaunt_calc(double, double, double);
57 
58 struct t_continuum : public module {
59  const char *chName () const
60  {
61  return "continuum";
62  }
63  void zero();
64  void comment(t_warnings&) {}
65 
67  bool lgCon0,
69 
71  double TotalLumin,
72  totlsv;
73 
76  cn1216,
77  sv4861,
78  sv1216;
79 
82 
85  long int nContBand;
92 
95 
98  long int KshellLimit;
100 
101  /* set check energy every zone to check energy balance, slow */
103 };
104 
105 extern t_continuum continuum;
106 
107 
110 
113 
115 void SpeciesBandsCreate();
116 
118 void SpeciesBandsAccum();
119 
120 #endif /* CONTINUUM_H_ */
double ffun(double anu)
Definition: cont_ffun.cpp:14
realnum sv4861
Definition: continuum.h:75
bool lgCheckEnergyEveryZone
Definition: continuum.h:102
long int * ipContBandLow
Definition: continuum.h:88
realnum sv1216
Definition: continuum.h:75
realnum * BandEdgeCorrHi
Definition: continuum.h:91
long int KshellLimit
Definition: continuum.h:98
realnum fluxv
Definition: continuum.h:80
void SpeciesPseudoContCreate()
void zero()
Definition: continuum.cpp:8
double ffun1(double xnu)
Definition: cont_ffun.cpp:110
realnum cn4861
Definition: continuum.h:75
double cont_gaunt_calc(double, double, double)
bool lgCoStarInterpolationCaution
Definition: continuum.h:67
void comment(t_warnings &)
Definition: continuum.h:64
void ContCreatePointers(void)
void ContCreateMesh()
void ContNegative(void)
t_continuum continuum
Definition: continuum.cpp:6
bool lgPrtIsotropicCont
Definition: continuum.h:94
float realnum
Definition: cddefines.h:124
realnum * ContBandWavelength
Definition: continuum.h:87
realnum EnergyKshell
Definition: continuum.h:99
long int nContBand
Definition: continuum.h:85
void SpeciesBandsCreate()
double TotalLumin
Definition: continuum.h:71
realnum fbeta
Definition: continuum.h:81
bool lgCon0
Definition: continuum.h:67
realnum * BandEdgeCorrLow
Definition: continuum.h:91
void IncidentContinuumHere()
double totlsv
Definition: continuum.h:71
void outsum(double *outtot, double *outin, double *outout)
Definition: cont_ffun.cpp:345
void SpeciesBandsAccum()
void SpeciesPseudoContAccum()
long int * ipContBandHi
Definition: continuum.h:88
Definition: module.h:26
const char * chName() const
Definition: continuum.h:59
realnum cn1216
Definition: continuum.h:75
char ** chContBandLabels
Definition: continuum.h:86
void ContSetIntensity()