cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
cont_ffun.cpp File Reference
#include "cddefines.h"
#include "rfield.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

double ffun ( double  anu)

ffun version without fractions

Definition at line 14 of file cont_ffun.cpp.

References DEBUG_ENTRY, and ffun().

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

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 34 of file cont_ffun.cpp.

References ASSERT, BIGFLOAT, DEBUG_ENTRY, ffun1(), fprintf(), ioQQQ, t_rfield::ipSpec, t_rfield::lgBeamed, t_rfield::lgTimeVary, t_rfield::nShape, rfield, SMALLDOUBLE, 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 110 of file cont_ffun.cpp.

References t_mesh::anu(), t_mesh::anumax(), ASSERT, BIG, cdEXIT, t_rfield::chSpType, t_rfield::cutoff, DEBUG_ENTRY, t_mesh::egamry(), t_mesh::emm(), EXIT_FAILURE, exp10(), fp_equal(), fprintf(), ioQQQ, t_mesh::ipointC(), t_rfield::ipSpec, MAX2, MIN2, t_rfield::ncont, t_rfield::nflux, t_rfield::nflux_with_check, t_rfield::nShape, PlanckFunction(), POW3, powpq(), rfield, sexp(), t_rfield::slope, t_rfield::tFluxLog, t_rfield::tNu, and t_rfield::tslop.

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

Here is the call graph for this function:

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

Definition at line 345 of file cont_ffun.cpp.

References t_mesh::anu(), t_rfield::ConInterOut, DEBUG_ENTRY, t_rfield::flux, t_rfield::nflux, t_rfield::outlin, t_rfield::outlin_noplot, and rfield.

Referenced by lgConserveEnergy().

Here is the call graph for this function:

double PlanckFunction ( double  Temp,
double  E_Ryd 
)

Definition at line 324 of file cont_ffun.cpp.

Referenced by ffun1().