Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
continuum.h File Reference
#include "module.h"
Include dependency graph for continuum.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  t_continuum
 

Functions

void ContCreatePointers ()
 
void ContSetIntensity ()
 
void IncidentContinuumHere ()
 
void ContCreateMesh ()
 
void ContNegative ()
 
double ffun (double anu, double *frac_beam_time, double *frac_beam_const, double *frac_isotropic)
 
double ffun (double anu)
 
double ffun1 (double xnu)
 
void outsum (double *outtot, double *outin, double *outout)
 
double cont_gaunt_calc (double, double, double)
 
void SpeciesPseudoContCreate ()
 
void SpeciesPseudoContAccum ()
 
void addUniqueSpeciesBand (const string &filename, const string &speciesLabel)
 
void SpeciesBandsCreate ()
 
void SpeciesBandsAccum ()
 

Variables

t_continuum continuum
 

Function Documentation

◆ addUniqueSpeciesBand()

void addUniqueSpeciesBand ( const string & filename,
const string & speciesLabel )

addUniqueSpeciesBand - add unique combination of species and bands file to list

Note that this command requires that the atomic data be read in.

Parameters
[in]filenamename of bands file
[in[speciesLabel species whose emission to accumulate

References DEBUG_ENTRY, SpecBands, and specBandsExists().

Referenced by ParseSave(), and SpeciesBandsCreate().

Here is the call graph for this function:

◆ cont_gaunt_calc()

double cont_gaunt_calc ( double ,
double ,
double  )

cont_gaunt_calc do table look up of gaunt factor

Parameters
temp
z
photon

◆ ContCreateMesh()

void ContCreateMesh ( )

set up continuum energy mesh if first call, otherwise reset to original mesh

References ASSERT, DEBUG_ENTRY, fprintf(), geometry, ioQQQ, iterations, MAX2, opac, rfield, rfield_opac_alloc(), rfield_opac_zero(), trace, and vzero().

Referenced by cloudy(), and ParseCompile().

Here is the call graph for this function:

◆ ContCreatePointers()

◆ ContNegative()

void ContNegative ( )

ContNegative sanity check for negative continuum intensities

References DEBUG_ENTRY, dense, fprintf(), ioQQQ, nzone, phycon, and rfield.

Referenced by dBase_solve(), iso_level(), and PrintRates().

Here is the call graph for this function:

◆ ContSetIntensity()

◆ ffun() [1/2]

double ffun ( double anu)

ffun version without fractions

References DEBUG_ENTRY, and ffun().

Referenced by ContSetIntensity(), ffun(), and IncidentContinuumHere().

Here is the call graph for this function:

◆ ffun() [2/2]

double ffun ( double anu,
double * frac_beam_time,
double * frac_beam_const,
double * frac_isotropic )

ffun evaluate total flux for sum of all continuum sources

Parameters
anuphoton energy (Rydberg) where continuum is evaluated
frac_beam_timefraction of beamed continuum that is varies with time
frac_beam_constfraction of beamed continuum that is constant
frac_isotropicfraction of continuum that is isotropic

References ASSERT, BIGFLOAT, DEBUG_ENTRY, ffun1(), fprintf(), ioQQQ, rfield, and SMALLDOUBLE.

Here is the call graph for this function:

◆ ffun1()

double ffun1 ( double xnu)

ffun1 derive flux at a specific energy, for one continuum

Parameters
anuphoton energy (Rydberg) where continuum is evaluated

References ASSERT, BIG, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), fp_equal(), fprintf(), ioQQQ, MAX2, MIN2, PlanckFunction(), pow(), POW3, powpq(), rfield, and sexp().

Referenced by conorm(), ffun(), pintr(), and qintr().

Here is the call graph for this function:

◆ IncidentContinuumHere()

void IncidentContinuumHere ( )

IncidentContinuumHere derive intensity of incident continuum

References DEBUG_ENTRY, ffun(), fprintf(), ioQQQ, max(), rfield, and SMALLFLOAT.

Here is the call graph for this function:

◆ outsum()

void outsum ( double * outtot,
double * outin,
double * outout )

References DEBUG_ENTRY, and rfield.

Referenced by ConserveEnergy().

◆ SpeciesBandsAccum()

void SpeciesBandsAccum ( )

SpeciesBandsAccum - accumulate emission in species bands

References DEBUG_ENTRY, linadd(), SpecBands, StuffComment(), and t_vac().

Referenced by lines().

Here is the call graph for this function:

◆ SpeciesBandsCreate()

void SpeciesBandsCreate ( )

SpeciesBandsCreate - initialize requested species bands files

References addBandsFile(), addUniqueSpeciesBand(), DEBUG_ENTRY, findBandsFile(), isSpeciesActive(), and SpecBands.

Referenced by cloudy().

Here is the call graph for this function:

◆ SpeciesPseudoContAccum()

void SpeciesPseudoContAccum ( )

SpeciesPseudoContAccum - accumulate pseudo-continua

References DEBUG_ENTRY, LineSave, nzone, PseudoCont, and radius.

Referenced by lines().

◆ SpeciesPseudoContCreate()

void SpeciesPseudoContCreate ( )

SpeciesPseudoContCreate - initialize requested pseudo-continua

References DEBUG_ENTRY, PseudoCont, PseudoContCreate(), and save.

Referenced by cloudy().

Here is the call graph for this function:

Variable Documentation

◆ continuum