cloudy
trunk
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
source
quantumstate.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
4
#include "
cddefines.h
"
5
#include "
quantumstate.h
"
6
7
/*StateJunk set all elements of transition struc to dangerous values */
8
void
Junk
(
qStateProxy
st )
9
{
10
11
DEBUG_ENTRY
(
"qStateProxy::Junk()"
);
12
13
st.
chLabel
()[0] =
'\0'
;
14
16
st.
g
() = -FLT_MAX;
17
19
st.
ColDen
() = -FLT_MAX;
20
22
st.
Pop
() = -FLT_MAX;
23
25
st.
IonStg
() = -10000;
26
28
st.
nelem
() = -10000;
29
30
st.
n
()=st.
l
()=st.
S
()=st.
j
()=st.
v
()=st.
J
()=-1;
31
32
return
;
33
}
34
35
/*StateZero zeros out the structure */
36
void
Zero
(
qStateProxy
st)
37
{
38
39
DEBUG_ENTRY
(
"qStateProxy::Zero()"
);
40
42
st.
Pop
() = 0.;
43
return
;
44
}
qStateProxy::j
long & j() const
Definition:
quantumstate.h:230
qStateProxy::IonStg
int & IonStg() const
Definition:
quantumstate.h:190
quantumstate.h
qStateProxy::l
long & l() const
Definition:
quantumstate.h:218
qStateProxy::v
long & v() const
Definition:
quantumstate.h:226
qStateProxy::Pop
double & Pop() const
Definition:
quantumstate.h:163
qStateProxy::n
long & n() const
Definition:
quantumstate.h:214
qStateProxy::ColDen
double & ColDen() const
Definition:
quantumstate.h:168
Junk
void Junk(qStateProxy st)
Definition:
quantumstate.cpp:8
cddefines.h
DEBUG_ENTRY
#define DEBUG_ENTRY(funcname)
Definition:
cddefines.h:688
Zero
void Zero(qStateProxy st)
Definition:
quantumstate.cpp:36
qStateProxy::g
realnum & g() const
Definition:
quantumstate.h:158
qStateProxy::chLabel
char * chLabel() const
Definition:
quantumstate.h:144
qStateProxy
Definition:
quantumstate.h:130
qStateProxy::nelem
int & nelem() const
Definition:
quantumstate.h:195
qStateProxy::S
long & S() const
Definition:
quantumstate.h:222
qStateProxy::J
long & J() const
Definition:
quantumstate.h:234
Generated on Sat Oct 19 2013 10:43:13 for cloudy by
1.8.5