cloudy trunk
Loading...
Searching...
No Matches
cool_nitr.cpp File Reference
#include "cddefines.h"
#include "taulines.h"
#include "dense.h"
#include "phycon.h"
#include "ligbar.h"
#include "thermal.h"
#include "lines_service.h"
#include "embesq.h"
#include "atoms.h"
#include "cooling.h"
#include "nitro.h"
Include dependency graph for cool_nitr.cpp:

Go to the source code of this file.

Functions

STATIC double xNI_coll_stren (int ipLo, int ipHi)
void CoolNitr (void)

Variables

static const int N1_SIZE = 10
static const double aNI [N1_SIZE]
static const double bNI [N1_SIZE]
static const double cNI [N1_SIZE]
static double NI [6][6][3]

Function Documentation

◆ CoolNitr()

void CoolNitr ( void )
Todo
1 update cs these to following reference:

>refer n2 cs Hudson, C.E. & Bell, K.L. 2004, MNRAS, 348, 1275 and A&A, 430, 725 they agree with Lennon & Burke >chng 10 feb 24 ML: cs values updated with Hudson & Bell. Not sure why they were wrong.

Definition at line 119 of file cool_nitr.cpp.

References ASSERT, atom_level2(), atom_level3(), atom_pop3(), atom_pop5(), atoms, AtomSeqBeryllium(), AtomSeqBoron(), CoolAdd(), DEBUG_ENTRY, dense, dprintf(), DumpLine(), embesq, fp_equal(), g, ioQQQ, ipN3_1747, ipN3_1749, ipN3_1751, ipN3_1752, ipN3_1754, ipNI_pumpDirect, ipNI_pumpIndirect, ipNITROGEN, ipT1085, ipT1200, ipT122, ipT1239, ipT1243, ipT1486, ipT205, ipT209, ipT2140, ipT315, ipT324, ipT333, ipT374g, ipT57, ipT765, ipT990, ligbar(), MAX2, min(), MIN2, NI_NDP, nitro, nWindLine, phycon, PutCS(), SDIV(), TauDummy, TauLine2, TauLines, thermal, TotalInsanity(), and xNI_coll_stren().

Referenced by CoolEvaluate().

Here is the call graph for this function:

◆ xNI_coll_stren()

STATIC double xNI_coll_stren ( int ipLo,
int ipHi )

Definition at line 33 of file cool_nitr.cpp.

References aNI, bNI, cNI, MAX2, MIN2, NI, phycon, set_NaN(), and STATIC.

Referenced by CoolNitr().

Here is the call graph for this function:

Variable Documentation

◆ aNI

const double aNI[N1_SIZE]
static
Initial value:
= {2.755e-5,4.123e-5,7.536e-6,1.486e-5,4.516e-5,
-2.935e-6,4.000e-6,3.751e-6,-2.176e-6,1.024e-5}

Definition at line 23 of file cool_nitr.cpp.

Referenced by xNI_coll_stren().

◆ bNI

const double bNI[N1_SIZE]
static
Initial value:
= {-8.150e-8,-1.220e-7,-2.226e-8,-4.390e-8,-1.130e-7,
8.000e-9,-1.1447e-8,-1.061e-8,5.610e-9,-3.227e-8}

Definition at line 25 of file cool_nitr.cpp.

Referenced by xNI_coll_stren().

◆ cNI

const double cNI[N1_SIZE]
static
Initial value:
= {2.140e-4,3.272e-4,-4.944e-6,3.473e-6,-8.772e-4,
1.654e-3,1.675e-3,1.123e-3,3.867e-3,3.376e-4}

Definition at line 27 of file cool_nitr.cpp.

Referenced by xNI_coll_stren().

◆ N1_SIZE

const int N1_SIZE = 10
static

Definition at line 21 of file cool_nitr.cpp.

◆ NI

double NI[6][6][3]
static

Definition at line 30 of file cool_nitr.cpp.

Referenced by xNI_coll_stren().