cloudy trunk
Loading...
Searching...
No Matches
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

double PlanckFunction (double Temp, double E_Ryd)
double ffun (double anu)
double ffun (double anu, double *frac_beam_time, double *frac_beam_const, double *frac_isotropic)
double ffun1 (double xnu)
void outsum (double *outtot, double *outin, double *outout)

Function Documentation

◆ ffun() [1/2]

double ffun ( double anu)

ffun version without fractions

Definition at line 17 of file cont_ffun.cpp.

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

Definition at line 37 of file cont_ffun.cpp.

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

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

Definition at line 112 of file cont_ffun.cpp.

References ASSERT, BIG, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fp_equal(), fp_equal_tol(), ioQQQ, ipoint(), MAX2, MIN2, NCELL, PlanckFunction(), POW3, rfield, sexp(), and TE1RYD.

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

Here is the call graph for this function:

◆ outsum()

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

Definition at line 393 of file cont_ffun.cpp.

References DEBUG_ENTRY, EN1RYD, and rfield.

Referenced by lgConserveEnergy().

◆ PlanckFunction()

double PlanckFunction ( double Temp,
double E_Ryd )

Definition at line 368 of file cont_ffun.cpp.

References TE1RYD.

Referenced by ffun1().