#include <ConfigurationSetup.hpp>

Protected Member Functions | |
| void | setupSelfAfter () override |
| void | setupSelfBefore () override |
| Protected Member Functions inherited from SimulationItem | |
| SimulationItem () | |
| virtual bool | offersInterface (const std::type_info &interfaceTypeInfo) const |
| Protected Member Functions inherited from Item | |
| Item () | |
Additional Inherited Members | |
| Public Types inherited from Configuration | |
| enum class | LyaAccelerationScheme { None , Constant , Variable } |
| Protected Attributes inherited from Configuration | |
| double | _angularDiameterDistance |
| SpatialCellLibrary * | _cellLibrary |
| WavelengthGrid * | _defaultWavelengthGrid |
| double | _dustEmissionSourceWeight |
| double | _dustEmissionWavelengthBias |
| WavelengthDistribution * | _dustEmissionWavelengthBiasDistribution |
| DisjointWavelengthGrid * | _dustEmissionWLG |
| bool | _emulationMode |
| bool | _explicitAbsorption |
| bool | _forceScattering |
| int | _gridDimension |
| bool | _hasConstantPerceivedWavelength |
| bool | _hasDustEmission |
| bool | _hasDynamicStateRecipes |
| bool | _hasGasEmission |
| bool | _hasLymanAlpha |
| bool | _hasMedium |
| bool | _hasMergedIterations |
| bool | _hasMovingMedia |
| bool | _hasMovingSources |
| bool | _hasMultipleConstantSectionMedia |
| bool | _hasNegativeExtinction |
| bool | _hasPanRadiationField |
| bool | _hasPolarization |
| bool | _hasPrimaryDynamicState |
| bool | _hasPrimaryDynamicStateMedia |
| bool | _hasPrimaryIterations |
| bool | _hasRadiationField |
| bool | _hasScatteringDispersion |
| bool | _hasSecondaryDynamicState |
| bool | _hasSecondaryDynamicStateMedia |
| bool | _hasSecondaryEmission |
| bool | _hasSecondaryIterations |
| bool | _hasSecondaryRadiationField |
| bool | _hasSingleConstantSectionMedium |
| bool | _hasSpheroidalPolarization |
| bool | _hasStochasticDustEmission |
| bool | _hasVariableMedia |
| double | _hubbleExpansionRate |
| bool | _includeHeatingByCMB |
| double | _luminosityDistance |
| LyaAccelerationScheme | _lyaAccelerationScheme |
| double | _lyaAccelerationStrength |
| int | _magneticFieldMediumIndex |
| double | _maxFractionOfPrevious |
| double | _maxFractionOfPrimary |
| int | _maxPrimaryIterations |
| int | _maxSecondaryIterations |
| int | _mediaDimension |
| bool | _mediaNeedGeneratePosition |
| int | _minPrimaryIterations |
| int | _minScattEvents |
| int | _minSecondaryIterations |
| double | _minWeightReduction |
| int | _modelDimension |
| bool | _needIndividualPeelOff |
| int | _numDensitySamples |
| double | _numPrimaryIterationPackets |
| double | _numPrimaryPackets |
| int | _numPropertySamples |
| double | _numSecondaryIterationPackets |
| double | _numSecondaryPackets |
| bool | _oligochromatic |
| WavelengthDistribution * | _oligoWavelengthBiasDistribution |
| double | _pathLengthBias |
| double | _primaryIterationInitialPacketsFraction |
| double | _primaryIterationPacketsRamp |
| DisjointWavelengthGrid * | _radiationFieldWLG |
| double | _redshift |
| bool | _scatteringEmulatesSecondaryEmission |
| double | _secondarySourceBias |
| double | _secondarySpatialBias |
| bool | _snapshotsNeedGetEntities |
| int | _sourceDimension |
| Range | _sourceWavelengthRange |
| bool | _storeEmissionRadiationField |
ConfigurationSetup is the concrete subclass of Configuration that performs the actual retrieval of overall simulation configuration options.
Each MonteCarloSimulation holds a single ConfigurationSetup object, accessed through the Configuration interface. During setup, it retrieves many properties and options from the simulation hierarchy, verifying consistency of the configuration and flagging any conflicts while doing so, and stores the results in the (protected) data members inherited from Configuration so that they can be returned by any of the getters declared there with minimal overhead. The setup() function of this object is invoked at the very early stages of simulation setup, so that it is safe for other simulation items to retrieve information from the Configuration object during their own setup.
|
explicit |
This constructor creates a ConfigurationSetup object that is hooked up as a child to the specified parent in the simulation hierarchy, so that it will automatically be deleted. The setup() function is not called by this constructor.
|
overrideprotectedvirtual |
This function logs some aspects of the configuration as information to the user.
Reimplemented from SimulationItem.
|
overrideprotectedvirtual |
This function retrieves properties and options from the simulation hierarchy and stores the resulting values internally so that they can be returned by any of the getters with minimal overhead. During this process, the function also verifies the consistency of the simulation configuration, for example checking the configuration against the requirements of the selected simulation mode. If any conflicts are found, the function throws a fatal error.
Reimplemented from SimulationItem.
|
overridevirtual |
Returns a wavelength range that covers all wavelengths possibly used in the simulation for photon transport or for otherwise probing material properties (e.g. optical depth). See the base class for the full description.
Implements Configuration.
|
overridevirtual |
Returns a list of wavelengths that are explicitly or indirectly mentioned by the simulation configuration. See the base class for the full description.
Implements Configuration.