/home66/gary/public_html/cloudy/c13_branch/source/cont_createmesh.cpp File Reference

#include "cddefines.h"
#include "rfield.h"
#include "iterations.h"
#include "physconst.h"
#include "dense.h"
#include "trace.h"
#include "opacity.h"
#include "ipoint.h"
#include "geometry.h"
#include "continuum.h"
Include dependency graph for cont_createmesh.cpp:

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)
void rfield_opac_zero (long lo, long ihi)

Function Documentation

STATIC void ChckFill ( void   ) 
void ContCreateMesh (  ) 
STATIC void fill ( double  fenlo,
double  fenhi,
double  resolv,
long int *  n0,
long int *  ipnt,
bool  lgCount 
)
STATIC void read_continuum_mesh ( void   ) 
STATIC void rfield_opac_malloc ( void   ) 

Todo:
3 consider making the fine opacity array a double. with a float, the opacity itself often becomes a denormalized number, it then becomes significant when multiplied by dr - can cause numerical noise. this is why the coarse opacity array is a double
Todo:
1 set temp of 1e4K will be too coarse a line for PDRs where H2 line overlap is very important

Definition at line 438 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::ContBoltz, t_rfield::convoc, t_rfield::csigc, t_rfield::csigh, DEBUG_ENTRY, dense, t_rfield::DiffuseEscape, t_rfield::DiffuseLineEmission, t_opac::E2TauAbsFace, t_opac::E2TauAbsOut, t_opac::E2TauAbsTotal, t_rfield::emm, t_opac::ExpmTau, t_opac::ExpZone, t_rfield::ExtinguishFactor, 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_beam_const, t_rfield::flux_beam_const_save, t_rfield::flux_beam_time, t_rfield::flux_isotropic, t_rfield::flux_isotropic_save, t_rfield::flux_time_beam_save, t_rfield::flux_total_incident, t_opac::FreeFreeOpacity, t_rfield::gff, t_rfield::ipFineConVelShift, 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::otslin, t_rfield::otssav, t_rfield::outlin, t_rfield::outlin_noplot, pow(), t_rfield::reflin, rfield, t_rfield::setCoarseTransCoefPtr(), 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, and t_rfield::widflx.

Referenced by ContCreateMesh().

Here is the call graph for this function:

void rfield_opac_zero ( long  lo,
long  ihi 
)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1