/home66/gary/public_html/cloudy/c08_branch/source/cont_setintensity.cpp File Reference

#include "cddefines.h"
#include "physconst.h"
#include "iso.h"
#include "extinc.h"
#include "noexec.h"
#include "ionbal.h"
#include "hextra.h"
#include "trace.h"
#include "dense.h"
#include "oxy.h"
#include "prt.h"
#include "heavy.h"
#include "rfield.h"
#include "phycon.h"
#include "called.h"
#include "hydrogenic.h"
#include "timesc.h"
#include "secondaries.h"
#include "opacity.h"
#include "thermal.h"
#include "ipoint.h"
#include "atmdat.h"
#include "rt.h"
#include "radius.h"
#include "geometry.h"
#include "grainvar.h"
#include "continuum.h"

Include dependency graph for cont_setintensity.cpp:

Go to the source code of this file.

Functions

STATIC void conorm (void)
STATIC double pintr (double penlo, double penhi)
STATIC double qintr (double *qenlo, double *qenhi)
STATIC void sumcon (long int il, long int ih, realnum *q, realnum *p, realnum *panu)
STATIC void extin (realnum *ex1ryd)
STATIC void ptrcer (void)
int ContSetIntensity (void)

Variables

static double aweigh [4] = {-0.4305682,-0.1699905, 0.1699905, 0.4305682}
static double fweigh [4] = { 0.1739274, 0.3260726, 0.3260726, 0.1739274}


Function Documentation

STATIC void conorm ( void   ) 

Definition at line 1364 of file cont_setintensity.cpp.

References t_rfield::AnuOrg, ASSERT, cdEXIT, t_rfield::chRSpec, t_rfield::chSpType, continuum, DEBUG_ENTRY, ioQQQ, t_rfield::nspec, t_rfield::nupper, t_radius::Radius, radius, t_continuum::ResolutionScaleFactor, rfield, and t_rfield::tNuRyd.

Referenced by ContSetIntensity().

int ContSetIntensity ( void   ) 

ContSetIntensity derive intensity of incident continuum,

Returns:
returns 0 if continuum is ok, 1 if failure of some kind

Definition at line 69 of file cont_setintensity.cpp.

References t_rfield::anu, t_rfield::AnuOrg, aweigh, conorm(), t_rfield::ContBoltz, DEBUG_ENTRY, t_rfield::egamry, t_rfield::emm, EN1RYD, ffun(), FR1RYD, fweigh, HNU3C2, ioQQQ, t_trace::lgTrace, MAX2, MIN2, t_rfield::nupper, PI4, rfield, trace, and t_rfield::widflx.

Referenced by cloudy().

Here is the call graph for this function:

STATIC void extin ( realnum ex1ryd  ) 

Definition at line 1323 of file cont_setintensity.cpp.

References t_rfield::anu, t_extinc::cnst_col2optdepth, t_extinc::cnst_power, DEBUG_ENTRY, t_extinc::excolm, t_extinc::exleak, t_extinc::exlow, extinc, t_rfield::flux, t_rfield::flux_beam_const, t_rfield::flux_beam_time, t_rfield::flux_isotropic, ipoint(), t_rfield::nflux, rfield, and sexp().

Here is the call graph for this function:

STATIC double pintr ( double  penlo,
double  penhi 
)

Definition at line 1939 of file cont_setintensity.cpp.

References t_rfield::anu, aweigh, DEBUG_ENTRY, ffun1(), fweigh, ipoint(), rfield, and t_rfield::widflx.

Here is the call graph for this function:

STATIC void ptrcer ( void   ) 

Definition at line 1176 of file cont_setintensity.cpp.

References t_rfield::anu, AS_LOCAL_ONLY, cdEXIT, continuum, t_rfield::convoc, DEBUG_ENTRY, FFmtRead(), t_continuum::filbnd, INPUT_LINE_LENGTH, ioQQQ, ioStdin, ipoint(), t_rfield::nflux, t_continuum::nrange, open_data(), read_whole_line(), rfield, and t_rfield::widflx.

Here is the call graph for this function:

STATIC double qintr ( double *  qenlo,
double *  qenhi 
)

Definition at line 1878 of file cont_setintensity.cpp.

References t_rfield::anu, aweigh, cdEXIT, DEBUG_ENTRY, t_rfield::egamry, t_rfield::emm, ffun1(), t_rfield::flux, fweigh, ioQQQ, ipoint(), t_rfield::ipspec, MAX2, MIN2, t_rfield::nupper, rfield, and t_rfield::widflx.

Here is the call graph for this function:

STATIC void sumcon ( long int  il,
long int  ih,
realnum q,
realnum p,
realnum panu 
)

Definition at line 1142 of file cont_setintensity.cpp.

References t_rfield::anu, t_rfield::anu2, DEBUG_ENTRY, EN1RYD, t_rfield::flux, MIN2, t_rfield::nflux, and rfield.


Variable Documentation

double aweigh[4] = {-0.4305682,-0.1699905, 0.1699905, 0.4305682} [static]

Definition at line 39 of file cont_setintensity.cpp.

Referenced by ContSetIntensity(), pintr(), and qintr().

double fweigh[4] = { 0.1739274, 0.3260726, 0.3260726, 0.1739274} [static]

Definition at line 40 of file cont_setintensity.cpp.

Referenced by ContSetIntensity(), pintr(), and qintr().


Generated on Mon Feb 16 12:04:17 2009 for cloudy by  doxygen 1.4.7