Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
band_cont Class Referenceabstract
Inheritance diagram for band_cont:
Collaboration diagram for band_cont:

Public Member Functions

 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)
 
virtual realnum getWl (const long ibin) const =0
 
double getInten (const long ibin, const int ipContType) const
 

Protected Member Functions

bool check_index (const long ibin) const
 
virtual void check_index_fatal (const long ibin) const =0
 
virtual void sumBand (double *sumOutward, double *sumInward) const =0
 

Protected Attributes

string speciesLabel
 
long int nBins
 
genericState species
 
vector< realnuminten_inward
 
vector< realnuminten_outward
 

Constructor & Destructor Documentation

band_cont::band_cont ( )
inline
band_cont::band_cont ( const band_cont )
default
band_cont::band_cont ( band_cont &&  )
default
virtual band_cont::~band_cont ( )
virtualdefault

Member Function Documentation

void band_cont::accumulate ( bool  lgReset = true,
double  dVeffAper = 1.0 
)

References DEBUG_ENTRY, get_ptr(), inten_inward, inten_outward, nBins, and sumBand().

Here is the call graph for this function:

long band_cont::bins ( ) const
inline

References nBins.

bool band_cont::check_index ( const long  ibin) const
inlineprotected
virtual void band_cont::check_index_fatal ( const long  ibin) const
protectedpure virtual

Implemented in band_emission, and pseudo_cont.

Referenced by getInten().

double band_cont::getInten ( const long  ibin,
const int  ipContType 
) const

References cdEXIT, check_index_fatal(), DEBUG_ENTRY, EXIT_FAILURE, fprintf(), inten_inward, inten_outward, INWARD, ioQQQ, OUTWARD, and TOTAL.

Here is the call graph for this function:

virtual realnum band_cont::getWl ( const long  ibin) const
pure virtual

Implemented in band_emission, and pseudo_cont.

string band_cont::label ( void  ) const
inline

References speciesLabel.

Referenced by pseudo_cont::setup().

band_cont& band_cont::operator= ( const band_cont )
default
band_cont& band_cont::operator= ( band_cont &&  )
default
virtual void band_cont::sumBand ( double *  sumOutward,
double *  sumInward 
) const
protectedpure virtual

Implemented in band_emission, and pseudo_cont.

Referenced by accumulate().

Member Data Documentation

vector<realnum> band_cont::inten_inward
protected
vector<realnum> band_cont::inten_outward
protected
genericState band_cont::species
protected

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