cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
qList Class Reference

#include <quantumstate.h>

Collaboration diagram for qList:
Collaboration graph
[legend]

Public Types

typedef ProxyIterator
< qStateProxy,
qStateConstProxy
iterator
 
typedef ProxyIterator
< qStateConstProxy,
qStateConstProxy
const_iterator
 
typedef qStateProxy reference
 
typedef qStateConstProxy const_reference
 

Public Member Functions

 qList ()
 
 qList (const char *chLabel, size_t i)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
reference operator[] (int i)
 
const_reference operator[] (int i) const
 
void init (const char *label, size_t i)
 
void addone ()
 
void reset (int n)
 
size_t size () const
 
realnum width () const
 
void set_width (realnum width)
 
string chLabel () const
 
void chLabel_set (const char *s)
 
double * ConBoltz ()
 
const double * ConBoltz () const
 
double * Boltzmann ()
 
const double * Boltzmann () const
 

Private Member Functions

void resize (size_t i)
 

Private Attributes

string m_chLabel
 
vector< quantumStateLabelsm_labels
 
vector< double, allocator_avx
< double > > 
m_ConBoltz
 
vector< double, allocator_avx
< double > > 
m_Boltzmann
 
vector< Energym_energy
 
vector< realnumm_g
 
vector< long > m_j
 
vector< long > m_J
 
vector< int > m_IonStg
 
vector< int > m_nelem
 
vector< long > m_l
 
vector< double > m_lifetime
 
vector< long > m_n
 
vector< double > m_ColDen
 
vector< double > m_Pop
 
vector< double > m_DepartCoef
 
vector< long > m_S
 
vector< long > m_v
 
vector< enum level_statusm_status
 
realnum m_width
 

Friends

class qStateProxy
 
class qStateConstProxy
 

Detailed Description

Definition at line 34 of file quantumstate.h.

Member Typedef Documentation

Definition at line 65 of file quantumstate.h.

Definition at line 67 of file quantumstate.h.

Definition at line 64 of file quantumstate.h.

Definition at line 66 of file quantumstate.h.

Constructor & Destructor Documentation

qList::qList ( )
inlineexplicit

Definition at line 68 of file quantumstate.h.

References init(), and m_width.

Here is the call graph for this function:

qList::qList ( const char *  chLabel,
size_t  i 
)
inlineexplicit

Definition at line 73 of file quantumstate.h.

References init(), and m_width.

Here is the call graph for this function:

Member Function Documentation

void qList::addone ( )
inline

Definition at line 123 of file quantumstate.h.

References resize(), and size().

Referenced by TransitionProxy::AddHiState(), TransitionProxy::AddLoState(), and diatomics::H2_ReadEnergies().

Here is the call graph for this function:

qList::iterator qList::begin ( )
inline
qList::const_iterator qList::begin ( ) const
inline

Definition at line 410 of file quantumstate.h.

double* qList::Boltzmann ( )
inline

Definition at line 159 of file quantumstate.h.

References get_ptr(), and m_Boltzmann.

Referenced by diatomics::H2_Cooling(), IonHydro(), iso_collide(), iso_cool(), iso_level(), and diatomics::SolveSomeGroundElectronicLevels().

Here is the call graph for this function:

const double* qList::Boltzmann ( ) const
inline

Definition at line 163 of file quantumstate.h.

References get_ptr(), and m_Boltzmann.

Here is the call graph for this function:

string qList::chLabel ( ) const
inline

Definition at line 143 of file quantumstate.h.

References m_chLabel.

Referenced by chIonLbl(), qStateProxy::chLabel(), and qStateConstProxy::chLabel().

void qList::chLabel_set ( const char *  s)
inline

Definition at line 147 of file quantumstate.h.

References m_chLabel.

double* qList::ConBoltz ( )
inline

Definition at line 151 of file quantumstate.h.

References get_ptr(), and m_ConBoltz.

Referenced by iso_collide().

Here is the call graph for this function:

const double* qList::ConBoltz ( ) const
inline

Definition at line 155 of file quantumstate.h.

References get_ptr(), and m_ConBoltz.

Here is the call graph for this function:

qList::iterator qList::end ( )
inline
qList::const_iterator qList::end ( ) const
inline

Definition at line 418 of file quantumstate.h.

References m_labels.

void qList::init ( const char *  label,
size_t  i 
)
inline

Definition at line 118 of file quantumstate.h.

References m_chLabel, and resize().

Referenced by diatomics::H2_ReadEnergies(), InitCoreloadPostparse(), and qList().

Here is the call graph for this function:

qList::reference qList::operator[] ( int  i)
inline

Definition at line 422 of file quantumstate.h.

References begin().

Here is the call graph for this function:

qList::const_reference qList::operator[] ( int  i) const
inline

Definition at line 426 of file quantumstate.h.

References begin().

Here is the call graph for this function:

void qList::reset ( int  n)
inline

Definition at line 430 of file quantumstate.h.

References Junk(), and Zero().

Referenced by resize().

Here is the call graph for this function:

void qList::resize ( size_t  i)
inlineprivate

Definition at line 86 of file quantumstate.h.

References m_Boltzmann, m_ColDen, m_ConBoltz, m_DepartCoef, m_energy, m_g, m_IonStg, m_j, m_J, m_l, m_labels, m_lifetime, m_n, m_nelem, m_Pop, m_S, m_status, m_v, qStateConstProxy::n(), reset(), and size().

Referenced by addone(), init(), and diatomics::init().

Here is the call graph for this function:

void qList::set_width ( realnum  width)
inline

Definition at line 139 of file quantumstate.h.

References m_width, and width().

Here is the call graph for this function:

size_t qList::size ( void  ) const
inline
realnum qList::width ( ) const
inline

Definition at line 135 of file quantumstate.h.

References m_width.

Referenced by set_width(), and TransitionListImpl::width().

Friends And Related Function Documentation

friend class qStateConstProxy
friend

Definition at line 62 of file quantumstate.h.

friend class qStateProxy
friend

Definition at line 61 of file quantumstate.h.

Field Documentation

vector< double, allocator_avx<double> > qList::m_Boltzmann
private
string qList::m_chLabel
private

Definition at line 36 of file quantumstate.h.

Referenced by chLabel(), chLabel_set(), and init().

vector<double> qList::m_ColDen
private

Definition at line 49 of file quantumstate.h.

Referenced by qStateProxy::ColDen(), qStateConstProxy::ColDen(), and resize().

vector< double, allocator_avx<double> > qList::m_ConBoltz
private

Definition at line 38 of file quantumstate.h.

Referenced by ConBoltz(), qStateProxy::ConBoltz(), qStateConstProxy::ConBoltz(), and resize().

vector<double> qList::m_DepartCoef
private

Definition at line 51 of file quantumstate.h.

Referenced by qStateProxy::DepartCoef(), qStateConstProxy::DepartCoef(), and resize().

vector<Energy> qList::m_energy
private

Definition at line 40 of file quantumstate.h.

Referenced by qStateProxy::energy(), qStateConstProxy::energy(), and resize().

vector<realnum> qList::m_g
private

Definition at line 41 of file quantumstate.h.

Referenced by qStateProxy::g(), qStateConstProxy::g(), and resize().

vector<int> qList::m_IonStg
private

Definition at line 44 of file quantumstate.h.

Referenced by qStateProxy::IonStg(), qStateConstProxy::IonStg(), and resize().

vector<long> qList::m_j
private

Definition at line 42 of file quantumstate.h.

Referenced by qStateProxy::j(), qStateConstProxy::j(), and resize().

vector<long> qList::m_J
private

Definition at line 43 of file quantumstate.h.

Referenced by qStateProxy::J(), qStateConstProxy::J(), and resize().

vector<long> qList::m_l
private

Definition at line 46 of file quantumstate.h.

Referenced by qStateProxy::l(), qStateConstProxy::l(), and resize().

vector<quantumStateLabels> qList::m_labels
private

Definition at line 37 of file quantumstate.h.

Referenced by qStateProxy::chConfig(), qStateConstProxy::chConfig(), end(), resize(), and size().

vector<double> qList::m_lifetime
private

Definition at line 47 of file quantumstate.h.

Referenced by qStateProxy::lifetime(), qStateConstProxy::lifetime(), and resize().

vector<long> qList::m_n
private

Definition at line 48 of file quantumstate.h.

Referenced by qStateProxy::n(), qStateConstProxy::n(), and resize().

vector<int> qList::m_nelem
private

Definition at line 45 of file quantumstate.h.

Referenced by qStateProxy::nelem(), qStateConstProxy::nelem(), and resize().

vector<double> qList::m_Pop
private

Definition at line 50 of file quantumstate.h.

Referenced by qStateProxy::Pop(), qStateConstProxy::Pop(), and resize().

vector<long> qList::m_S
private

Definition at line 57 of file quantumstate.h.

Referenced by resize(), qStateProxy::S(), and qStateConstProxy::S().

vector<enum level_status> qList::m_status
private

Definition at line 59 of file quantumstate.h.

Referenced by resize(), qStateProxy::status(), and qStateConstProxy::status().

vector<long> qList::m_v
private

Definition at line 58 of file quantumstate.h.

Referenced by resize(), qStateProxy::v(), and qStateConstProxy::v().

realnum qList::m_width
private

Definition at line 60 of file quantumstate.h.

Referenced by qList(), set_width(), and width().


The documentation for this class was generated from the following file: