#include "cddefines.h"
#include "rfield.h"
#include "iterations.h"
#include "physconst.h"
#include "path.h"
#include "doppvel.h"
#include "dense.h"
#include "trace.h"
#include "opacity.h"
#include "ipoint.h"
#include "geometry.h"
#include "continuum.h"
Go to the source code of this file.
Functions | |
static void | read_continuum_mesh (void) |
static void | fill (double fenlo, double fenhi, double resolv, long int *n0, long int *ipnt, bool lgCount) |
static void | rfield_opac_malloc (void) |
static void | ChckFill (void) |
void | ContCreateMesh (void) |
static void ChckFill | ( | void | ) | [static] |
Definition at line 364 of file cont_createmesh.cpp.
References t_rfield::anu, ASSERT, cdEXIT(), continuum, DEBUG_ENTRY, t_rfield::egamry, t_rfield::emm, t_continuum::filbnd, ioQQQ, ipoint(), t_continuum::nrange, t_rfield::nupper, rfield, and t_rfield::widflx.
Referenced by ContCreateMesh().
void ContCreateMesh | ( | void | ) |
set up continuum energy mesh if first call, otherwise reset to original mesh
Definition at line 40 of file cont_createmesh.cpp.
References t_rfield::anu, t_rfield::anu2, t_rfield::AnuOrg, t_rfield::anusqr, cdEXIT(), ChckFill(), t_rfield::ConEmitLocal, continuum, t_rfield::csigc, t_rfield::csigh, DEBUG_ENTRY, DEBUG_EXIT, t_rfield::egamry, t_rfield::emm, fill(), t_rfield::fine_anu, t_rfield::fine_ener_hi, t_rfield::fine_ener_lo, geometry, ioQQQ, t_rfield::ipnt_coarse_2_fine, t_iterations::iter_malloc, iterations, t_trace::lgTrace, MALLOC, MAX2, NCELL, t_geometry::nend, t_geometry::nend_max, t_rfield::nfine_malloc, t_rfield::nflux, t_continuum::nrange, t_continuum::nStoredBands, t_rfield::nupper, read_continuum_mesh(), rfield, rfield_opac_malloc(), rfield_opac_zero(), t_continuum::StoredEnergy, t_continuum::StoredResolution, trace, t_rfield::trans_coef_total, t_rfield::trans_coef_zone, and t_rfield::widflx.
Referenced by cloudy(), and ParseCompile().
static void fill | ( | double | fenlo, | |
double | fenhi, | |||
double | resolv, | |||
long int * | n0, | |||
long int * | ipnt, | |||
bool | lgCount | |||
) | [static] |
Definition at line 252 of file cont_createmesh.cpp.
References t_rfield::anu, ASSERT, cdEXIT(), continuum, DEBUG_ENTRY, DEBUG_EXIT, t_continuum::filbnd, t_continuum::fildel, t_continuum::filres, t_continuum::ifill0, ioQQQ, t_trace::lgConBug, t_trace::lgPtrace, t_trace::lgTrace, MAX2, t_continuum::nrange, t_continuum::nStoredBands, t_rfield::nupper, rfield, ShowMe(), trace, and t_rfield::widflx.
Referenced by ContCreateMesh().
static void read_continuum_mesh | ( | void | ) | [static] |
Definition at line 633 of file cont_createmesh.cpp.
References cdEXIT(), chDataPath, continuum, FFmtRead(), t_continuum::filbnd, t_continuum::fildel, FILENAME_PATH_LENGTH_2, t_continuum::filres, t_continuum::ifill0, INPUT_LINE_LENGTH, ioQQQ, lgDataPathSet, t_trace::lgTrace, MALLOC, t_continuum::nStoredBands, path_not_set(), t_continuum::ResolutionScaleFactor, t_continuum::StoredEnergy, t_continuum::StoredResolution, and trace.
Referenced by ContCreateMesh().
static void rfield_opac_malloc | ( | void | ) | [static] |
Definition at line 442 of file cont_createmesh.cpp.
References t_opac::albedo, t_rfield::anu, t_rfield::anu2, t_rfield::anu3, t_rfield::anulog, t_rfield::AnuOrg, t_rfield::anusqr, ASSERT, ATOMIC_MASS_UNIT, t_dense::AtomicWeight, BOLTZMANN, t_rfield::chContLabel, t_rfield::chLineLabel, t_rfield::comdn, t_rfield::comup, t_rfield::ConEmitOut, t_rfield::ConEmitReflec, t_rfield::ConInterOut, t_rfield::ConOTS_local_OTS_rate, t_rfield::ConOTS_local_photons, t_rfield::ConRefIncid, t_rfield::ConTabRead, t_rfield::ContBoltz, t_rfield::convoc, t_rfield::csigc, t_rfield::csigh, DEBUG_ENTRY, DEBUG_EXIT, dense, DoppVel, t_opac::E2TauAbsFace, t_opac::E2TauAbsOut, t_opac::E2TauAbsTotal, t_opac::ExpmTau, t_opac::ExpZone, t_rfield::fine_anu, t_rfield::fine_ener_hi, t_rfield::fine_ener_lo, t_rfield::fine_opac_nelem, t_rfield::fine_opac_nresolv, t_rfield::fine_opac_velocity_width, t_rfield::fine_opac_zone, t_rfield::fine_opt_depth, t_rfield::fine_resol, t_rfield::flux, t_rfield::flux_accum, t_rfield::flux_const, t_rfield::flux_time, t_rfield::FluxSave, t_opac::FreeFreeOpacity, t_rfield::gff, t_rfield::ipnt_coarse_2_fine, lgRfieldMalloced, LIMELM, t_rfield::line_count, MALLOC, NCELL, t_rfield::nfine, t_rfield::nfine_malloc, t_rfield::nupper, t_rfield::OccNumbBremsCont, t_rfield::OccNumbContEmitOut, t_rfield::OccNumbDiffCont, t_rfield::OccNumbIncidCont, t_opac::OldOpacSave, opac, t_opac::opacity_abs, t_opac::opacity_abs_savzon1, t_opac::opacity_sct, t_opac::opacity_sct_savzon1, t_opac::OpacStatic, t_rfield::otscon, t_rfield::otsconNew, t_rfield::otslin, t_rfield::otslinNew, t_rfield::otssav, t_rfield::outlin, t_rfield::outlin_noplot, POW2, t_rfield::reflin, rfield, SPEEDLIGHT, t_rfield::SummedCon, t_rfield::SummedDif, t_rfield::SummedDifSave, t_rfield::SummedOcc, t_opac::TauAbsFace, t_opac::TauAbsGeo, t_opac::TauAbsTotal, t_opac::TauScatFace, t_opac::TauScatGeo, t_opac::TauTotalGeo, t_opac::tmn, TotalInsanity(), t_rfield::TotDiff2Pht, t_rfield::trans_coef_total, t_rfield::trans_coef_zone, t_DoppVel::TurbVel, and t_rfield::widflx.
Referenced by ContCreateMesh().