cloudy  trunk
cool_pota.cpp
Go to the documentation of this file.
1 /* This file is part of Cloudy and is copyright (C)1978-2013 by Gary J. Ferland and
2  * others. For conditions of distribution and use see copyright notice in license.txt */
3 /*CoolPota compute potassium cooling */
4 #include "cddefines.h"
5 #include "taulines.h"
6 #include "phycon.h"
7 #include "lines_service.h"
8 #include "atoms.h"
9 #include "cooling.h"
10 
11 void CoolPota(void)
12 {
13  double cs;
14 
15  DEBUG_ENTRY( "CoolPota()" );
16 
17  /* potasium lines
18  * KI 7745 */
19  cs = 7.231e-4*phycon.te*phycon.te03*phycon.te02;
20  PutCS(cs,TauLines[ipKI7745]);
22 
23  /* [K III] 4.62 microns
24  * Y(ik) from
25  * >>refer k3 cs Pelan, J., & Berrington, K.A. 1995, A&A Suppl, 110, 209 */
26  PutCS(2.2,TauLines[ipxK03462]);
28 
29  /* [KIV] 5.983, 15.39 mic, cs from
30  * >>refer k4 cs Galavis, M.E., Mendoza, C., & Zeippen, C.J. 1995, A&AS, 111, 347 */
31  PutCS(4.3,TauLines[ipxK04598]);
32  PutCS(1.13,TauLines[ipxK04154]);
33  PutCS(1.3,*TauDummy);
34  /* atom_level3( t10,t21,t20) */
36 
37  /* [K VII] 3.189 microns cs from
38  * >>refer k7 cs Saraph, H.E., & Storey, P.J. A&AS, 115, 151 */
39  PutCS(4.5,TauLines[ipxK07319]);
41 
42  return;
43 }
atoms.h
atom_level3
void atom_level3(const TransitionProxy &t10, const TransitionProxy &t21, const TransitionProxy &t20)
Definition: atom_level3.cpp:15
t_phycon::te03
double te03
Definition: phycon.h:59
phycon
t_phycon phycon
Definition: phycon.cpp:6
lines_service.h
ipxK03462
long ipxK03462
Definition: atmdat_readin.cpp:80
cooling.h
cddefines.h
TauDummy
TransitionProxy::iterator TauDummy
Definition: taulines.cpp:60
t_phycon::te02
double te02
Definition: phycon.h:60
PutCS
void PutCS(double cs, const TransitionProxy &t)
Definition: transition.cpp:317
ipKI7745
long ipKI7745
Definition: atmdat_readin.cpp:80
TauLines
TransitionList TauLines("TauLines", &AnonStates)
ipxK04598
long ipxK04598
Definition: atmdat_readin.cpp:80
atom_level2
void atom_level2(const TransitionProxy &t)
Definition: atom_level2.cpp:17
ipxK04154
long ipxK04154
Definition: atmdat_readin.cpp:81
taulines.h
phycon.h
CoolPota
void CoolPota(void)
Definition: cool_pota.cpp:11
t_phycon::te
double te
Definition: phycon.h:11
ipxK07319
long ipxK07319
Definition: atmdat_readin.cpp:81
DEBUG_ENTRY
#define DEBUG_ENTRY(funcname)
Definition: cddefines.h:684