cloudy  trunk
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
cont_ffun.cpp File Reference
#include "cddefines.h"
#include "physconst.h"
#include "rfield.h"
#include "ipoint.h"
#include "opacity.h"
#include "continuum.h"
Include dependency graph for cont_ffun.cpp:

Go to the source code of this file.

Functions

STATIC void ReadTable (const string &fnam)
double ffun (double anu)
double ffun (double anu, double *frac_beam_time, double *frac_beam_const, double *frac_isotropic)
double ffun1 (double xnu)

Function Documentation

double ffun ( double  anu)

ffun version without fractions

Definition at line 18 of file cont_ffun.cpp.

References DEBUG_ENTRY, and ffun().

Referenced by ContSetIntensity(), and ffun().

Here is the call graph for this function:

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

Definition at line 38 of file cont_ffun.cpp.

References ASSERT, BIGFLOAT, DEBUG_ENTRY, ffun1(), ioQQQ, t_rfield::ipspec, t_rfield::lgBeamed, t_rfield::lgTimeVary, t_rfield::nspec, rfield, SMALLFLOAT, and t_rfield::spfac.

Here is the call graph for this function:

double ffun1 ( double  xnu)

ffun1 derive flux at a specific energy, for one continuum

Parameters
anuphoton energy (Rydberg) where continuum is evaluated

Definition at line 113 of file cont_ffun.cpp.

References t_rfield::anu, ASSERT, BIG, cdEXIT, t_rfield::chSpType, t_rfield::ConTabRead, t_rfield::cutoff, DEBUG_ENTRY, t_rfield::egamry, t_rfield::emm, ioQQQ, t_rfield::ioTableRead, ipoint(), t_rfield::ipspec, MAX2, MIN2, NCELL, t_rfield::nspec, t_rfield::nupper, POW3, ReadTable(), rfield, sexp(), t_rfield::slope, TE1RYD, t_rfield::tFluxLog, t_rfield::tNuRyd, and t_rfield::tslop.

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

Here is the call graph for this function:

STATIC void ReadTable ( const string &  fnam)

Definition at line 356 of file cont_ffun.cpp.

References t_rfield::anu, AS_LOCAL_ONLY, cdEXIT, t_rfield::ConTabRead, DEBUG_ENTRY, EVRYD, INPUT_LINE_LENGTH, ioQQQ, t_rfield::nupper, opac, open_data(), read_whole_line(), rfield, RYDLAM, and t_opac::tmn.

Referenced by ffun1().

Here is the call graph for this function:


Generated for cloudy by doxygen 1.8.1.2