Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
band_emission Class Reference
Inheritance diagram for band_emission:
Collaboration diagram for band_emission:

Public Member Functions

void setup (const string &splab, vector< bands_file >::iterator it)
 
void insert ()
 
string bandFilename () const
 
string getLabel () const
 
t_wavl getWl (const long iband) const
 
t_wavl getWlLo (const long iband) const
 
t_wavl getWlHi (const long iband) const
 
bool initialized () const
 
- Public Member Functions inherited from band_cont
 band_cont ()
 
 band_cont (const band_cont &)=default
 
band_contoperator= (const band_cont &)=default
 
 band_cont (band_cont &&)=default
 
band_contoperator= (band_cont &&)=default
 
virtual ~band_cont ()=default
 
string label () const
 
long bins () const
 
void accumulate (bool lgReset, double dVeffAper)
 
double getInten (const long ibin, const int ipContType) const
 

Public Attributes

const string inwdLabel = "InwdBnd"
 

Private Member Functions

void check_index_fatal (const long iband) const
 
void sumBand (double *sumOutward, double *sumInward) const
 

Private Attributes

string bandLabel
 
string comment
 
vector< bands_file >::iterator bands_it
 
bool isInitd = false
 

Additional Inherited Members

- Protected Member Functions inherited from band_cont
bool check_index (const long ibin) const
 
- Protected Attributes inherited from band_cont
string speciesLabel
 
long int nBins
 
genericState species
 
vector< realnuminten_inward
 
vector< realnuminten_outward
 

Member Function Documentation

◆ bandFilename()

string band_emission::bandFilename ( ) const
inline

References bands_it.

◆ check_index_fatal()

void band_emission::check_index_fatal ( const long iband) const
inlineprivatevirtual

Implements band_cont.

References bands_it, cdEXIT, band_cont::check_index(), EXIT_FAILURE, fprintf(), ioQQQ, band_cont::nBins, and band_cont::speciesLabel.

Referenced by getWl(), getWlHi(), and getWlLo().

Here is the call graph for this function:

◆ getLabel()

string band_emission::getLabel ( ) const
inline

References bandLabel.

◆ getWl()

t_wavl band_emission::getWl ( const long iband) const
inline

References bands_it, and check_index_fatal().

Referenced by insert().

Here is the call graph for this function:

◆ getWlHi()

t_wavl band_emission::getWlHi ( const long iband) const
inline

References bands_it, and check_index_fatal().

Referenced by sumBand().

Here is the call graph for this function:

◆ getWlLo()

t_wavl band_emission::getWlLo ( const long iband) const
inline

References bands_it, and check_index_fatal().

Referenced by sumBand().

Here is the call graph for this function:

◆ initialized()

bool band_emission::initialized ( ) const
inline

References isInitd.

◆ insert()

void band_emission::insert ( )

◆ setup()

void band_emission::setup ( const string & splab,
vector< bands_file >::iterator it )
inline

◆ sumBand()

void band_emission::sumBand ( double * sumOutward,
double * sumInward ) const
privatevirtual

Implements band_cont.

References DEBUG_ENTRY, density(), fprintf(), getWlHi(), getWlLo(), ioQQQ, MAX2, band_cont::nBins, NULL, SMALLFLOAT, and band_cont::species.

Here is the call graph for this function:

Member Data Documentation

◆ bandLabel

string band_emission::bandLabel
private

Referenced by getLabel(), insert(), and setup().

◆ bands_it

vector<bands_file>::iterator band_emission::bands_it
private

◆ comment

string band_emission::comment
private

Referenced by insert(), and setup().

◆ inwdLabel

const string band_emission::inwdLabel = "InwdBnd"

Referenced by insert().

◆ isInitd

bool band_emission::isInitd = false
private

Referenced by initialized(), and setup().


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