Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
 
realnum getWl (const long iband) const
 
realnum getWlLo (const long iband) const
 
realnum 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

string band_emission::bandFilename ( ) const
inline
void band_emission::check_index_fatal ( const long  iband) const
inlineprivatevirtual

Implements band_cont.

References 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:

string band_emission::getLabel ( ) const
inline

References bandLabel.

realnum band_emission::getWl ( const long  iband) const
inlinevirtual

Implements band_cont.

References check_index_fatal().

Referenced by insert().

Here is the call graph for this function:

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

References check_index_fatal().

Referenced by sumBand().

Here is the call graph for this function:

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

References check_index_fatal().

Referenced by sumBand().

Here is the call graph for this function:

bool band_emission::initialized ( ) const
inline

References isInitd.

void band_emission::insert ( )
void band_emission::setup ( const string &  splab,
vector< bands_file >::iterator  it 
)
inline
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, and SMALLFLOAT.

Here is the call graph for this function:

Member Data Documentation

string band_emission::bandLabel
private

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

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

Referenced by setup().

string band_emission::comment
private

Referenced by insert(), and setup().

const string band_emission::inwdLabel = "InwdBnd"

Referenced by insert().

bool band_emission::isInitd = false
private

Referenced by initialized(), and setup().


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