#include <SecondaryLineLuminosityProbe.hpp>
Public Types | |
enum class | ProbeAfter : int { Run , Secondary } |
Public Member Functions | |
void | probe () override |
ProbeAfter | probeAfter () const |
![]() | |
Form * | form () const |
![]() | |
string | itemName () const override |
int | iter () const |
string | probeName () const |
void | probePrimary (int iter) |
void | probeRun () |
void | probeSecondary (int iter) |
void | probeSetup () |
![]() | |
template<class T > | |
T * | find (bool setup=true) const |
template<class T > | |
T * | interface (int levels=-999999, bool setup=true) const |
virtual string | itemName () const |
void | setup () |
string | typeAndName () const |
![]() | |
Item (const Item &)=delete | |
virtual | ~Item () |
void | addChild (Item *child) |
const vector< Item * > & | children () const |
virtual void | clearItemListProperty (const PropertyDef *property) |
void | destroyChild (Item *child) |
virtual bool | getBoolProperty (const PropertyDef *property) const |
virtual vector< double > | getDoubleListProperty (const PropertyDef *property) const |
virtual double | getDoubleProperty (const PropertyDef *property) const |
virtual string | getEnumProperty (const PropertyDef *property) const |
virtual int | getIntProperty (const PropertyDef *property) const |
virtual vector< Item * > | getItemListProperty (const PropertyDef *property) const |
virtual Item * | getItemProperty (const PropertyDef *property) const |
virtual string | getStringProperty (const PropertyDef *property) const |
int | getUtilityProperty (string name) const |
virtual void | insertIntoItemListProperty (const PropertyDef *property, int index, Item *item) |
Item & | operator= (const Item &)=delete |
Item * | parent () const |
virtual void | removeFromItemListProperty (const PropertyDef *property, int index) |
virtual void | setBoolProperty (const PropertyDef *property, bool value) |
virtual void | setDoubleListProperty (const PropertyDef *property, vector< double > value) |
virtual void | setDoubleProperty (const PropertyDef *property, double value) |
virtual void | setEnumProperty (const PropertyDef *property, string value) |
virtual void | setIntProperty (const PropertyDef *property, int value) |
virtual void | setItemProperty (const PropertyDef *property, Item *item) |
virtual void | setStringProperty (const PropertyDef *property, string value) |
void | setUtilityProperty (string name, int value) |
virtual string | type () const |
Protected Member Functions | |
SecondaryLineLuminosityProbe () | |
When | when () const override |
![]() | |
SpatialGridFormProbe () | |
![]() | |
Probe () | |
virtual void | initialize () |
virtual void | probe ()=0 |
virtual When | when () const |
![]() | |
SimulationItem () | |
virtual bool | offersInterface (const std::type_info &interfaceTypeInfo) const |
virtual void | setupSelfAfter () |
virtual void | setupSelfBefore () |
![]() | |
Item () | |
Private Types | |
using | BaseType = SpatialGridFormProbe |
using | ItemType = SecondaryLineLuminosityProbe |
Private Attributes | |
ProbeAfter | _probeAfter |
Friends | |
class | ItemRegistry |
Additional Inherited Members | |
![]() | |
enum class | When { Setup , Run , Primary , Secondary } |
SecondaryLineLuminosityProbe probes the line luminosities of secondary sources as discretized on the spatial grid of the simulation. It produces a separate output file for each medium component with an associated material mix that supports secondary line emission.
For each relevant medium component, the probe outputs a compound quantity representing the intrinsic bolometric, line-profile-integrated luminosities for each of the lines from which the medium emits, ignoring any kinematic effects. These luminosities are listed with the corresponding central line wavelengths, frequencies, or energies, depending on the wavelengthOutputStyle configured for the simulation.
The probe can be used with any Form subclass. When associated with a form that samples the luminosity in a spatial grid cell or at a set of positions, such as for a linear or planar cut, the probe outputs a bolometric luminosity volume density (with SI units of W/m3). When associated with a form that projects the luminosity along a path, the probe outputs a bolometric luminosity surface (or column) density (with SI units of W/m2).
This item type is displayed only if the Boolean expression "Level2&SpatialGrid&GasEmission" evaluates to true after replacing the names by true or false depending on their presence.
|
strong |
The enumeration type indicating when probing occurs.
Run : "after the complete simulation run" .
Secondary : "after each iteration over secondary emission" .
|
inlineprotected |
Default constructor for concrete Item subclass SecondaryLineLuminosityProbe : "internal spatial grid: secondary line luminosity" .
|
overridevirtual |
This function performs probing.
Implements Probe.
|
inline |
This function returns the value of the discoverable ProbeAfter enumeration property probeAfter : "perform the probe after" .
The default value for this property is given by the conditional value expression "Run" .
This property is displayed only if the Boolean expression "IterateSecondary" evaluates to true after replacing the names by true or false depending on their presence.
|
overrideprotectedvirtual |
This function returns an enumeration indicating when probing for this probe should be performed corresponding to the configured value of the probeAfter property.
Reimplemented from Probe.