Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
qList Class Reference

#include <quantumstate.h>

Public Types

typedef ProxyIterator< qStateProxy, qStateConstProxyiterator
 
typedef ProxyIterator< qStateConstProxy, qStateConstProxyconst_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_avx< double > m_ConBoltz
 
vector_avx< double > m_Boltzmann
 
vector< Energym_energy
 
vector< realnumm_g
 
vector< realnumm_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< double > m_NCrit
 
vector< long > m_S
 
vector< long > m_v
 
vector< int > m_ipOrg
 
vector< enum level_statusm_status
 
realnum m_width
 

Friends

class qStateProxy
 
class qStateConstProxy
 

Member Typedef Documentation

◆ const_iterator

◆ const_reference

◆ iterator

◆ reference

Constructor & Destructor Documentation

◆ qList() [1/2]

qList::qList ( )
inlineexplicit

References init(), and m_width.

Here is the call graph for this function:

◆ qList() [2/2]

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

References chLabel(), init(), and m_width.

Here is the call graph for this function:

Member Function Documentation

◆ addone()

void qList::addone ( )
inline

References resize(), and size().

Here is the call graph for this function:

◆ begin() [1/2]

qList::iterator qList::begin ( )
inline

Referenced by iso_level(), operator[](), and operator[]().

◆ begin() [2/2]

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

◆ Boltzmann() [1/2]

double * qList::Boltzmann ( )
inline

References get_ptr(), and m_Boltzmann.

Referenced by iso_collide(), iso_cool(), and iso_level().

Here is the call graph for this function:

◆ Boltzmann() [2/2]

const double * qList::Boltzmann ( ) const
inline

References get_ptr(), and m_Boltzmann.

Here is the call graph for this function:

◆ chLabel()

string qList::chLabel ( ) const
inline

References m_chLabel.

Referenced by chIonLbl(), and qList().

◆ chLabel_set()

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

References m_chLabel.

◆ ConBoltz() [1/2]

double * qList::ConBoltz ( )
inline

References get_ptr(), and m_ConBoltz.

Referenced by iso_collide().

Here is the call graph for this function:

◆ ConBoltz() [2/2]

const double * qList::ConBoltz ( ) const
inline

References get_ptr(), and m_ConBoltz.

Here is the call graph for this function:

◆ end() [1/2]

qList::iterator qList::end ( )
inline

References m_labels.

◆ end() [2/2]

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

References m_labels.

◆ init()

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

References m_chLabel, and resize().

Referenced by qList(), and qList().

Here is the call graph for this function:

◆ operator[]() [1/2]

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

References begin().

Here is the call graph for this function:

◆ operator[]() [2/2]

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

References begin().

Here is the call graph for this function:

◆ reset()

void qList::reset ( int n)
inline

References Junk(), and Zero().

Referenced by resize().

Here is the call graph for this function:

◆ resize()

void qList::resize ( size_t i)
inlineprivate

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

Referenced by addone(), and init().

Here is the call graph for this function:

◆ set_width()

void qList::set_width ( realnum width)
inline

References m_width, and width().

Here is the call graph for this function:

◆ size()

size_t qList::size ( ) const
inline

◆ width()

realnum qList::width ( ) const
inline

References m_width.

Referenced by set_width().

Friends And Related Symbol Documentation

◆ qStateConstProxy

friend class qStateConstProxy
friend

References qStateConstProxy.

Referenced by qStateConstProxy.

◆ qStateProxy

friend class qStateProxy
friend

References qStateProxy.

Referenced by qStateProxy.

Member Data Documentation

◆ m_Boltzmann

vector_avx<double> qList::m_Boltzmann
private

Referenced by Boltzmann(), Boltzmann(), and resize().

◆ m_chLabel

string qList::m_chLabel
private

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

◆ m_ColDen

vector<double> qList::m_ColDen
private

Referenced by resize().

◆ m_ConBoltz

vector_avx<double> qList::m_ConBoltz
private

Referenced by ConBoltz(), ConBoltz(), and resize().

◆ m_DepartCoef

vector<double> qList::m_DepartCoef
private

Referenced by resize().

◆ m_energy

vector<Energy> qList::m_energy
private

Referenced by resize().

◆ m_g

vector<realnum> qList::m_g
private

Referenced by resize().

◆ m_IonStg

vector<int> qList::m_IonStg
private

Referenced by resize().

◆ m_ipOrg

vector<int> qList::m_ipOrg
private

Referenced by resize().

◆ m_J

vector<long> qList::m_J
private

Referenced by resize().

◆ m_j

vector<realnum> qList::m_j
private

Referenced by resize().

◆ m_l

vector<long> qList::m_l
private

Referenced by resize().

◆ m_labels

vector<quantumStateLabels> qList::m_labels
private

Referenced by end(), end(), resize(), and size().

◆ m_lifetime

vector<double> qList::m_lifetime
private

Referenced by resize().

◆ m_n

vector<long> qList::m_n
private

Referenced by resize().

◆ m_NCrit

vector<double> qList::m_NCrit
private

Referenced by resize().

◆ m_nelem

vector<int> qList::m_nelem
private

Referenced by resize().

◆ m_Pop

vector<double> qList::m_Pop
private

Referenced by resize().

◆ m_S

vector<long> qList::m_S
private

Referenced by resize().

◆ m_status

vector<enum level_status> qList::m_status
private

Referenced by resize().

◆ m_v

vector<long> qList::m_v
private

Referenced by resize().

◆ m_width

realnum qList::m_width
private

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


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