Struct NebularControls
Defined in File NebularCommons.hpp
Struct Documentation
-
struct NebularControls
Control parameters governing nebular emission from a pre-computed cloudy grid.
A plain aggregate of settings SimControls populates from an input deck’s own [nebular] stanza (see SimControls::readNebular()), each defaulting to the corresponding nebular::defaultXxx constant above if its own key was not given. covFac_ is a distribution rather than a single number: each core::Cluster draws its own covering factor from it at construction (see core::Cluster::covFac()), while Nebular::getGalaxy() uses its expectation value. Because pdfs::PDF is move-only, so is this struct.
Public Members
-
double logU_ = defaultLogU
log10 of the ionization parameter
-
pdfs::PDF covFac_ = pdfs::PDF(std::make_unique<pdfs::PDFSegmentDelta>(defaultCovFac))
Distribution of the nebular covering factor (the fraction of ionizing photons absorbed by the nebula); a delta distribution at defaultCovFac unless nebular.cov_fac says otherwise. SimControls guarantees its support lies within [0, 1]
-
double lineWidth_ = defaultLineWidth
Assumed width of emission lines, in km/s
-
bool computeNeb_ = defaultComputeNeb
Whether nebular emission is computed at all; if false, SimControls::nebular() is left null. Requires a spectral synthesizer – see SimControls::readNebular()
-
double logU_ = defaultLogU