#include <OpticalMaterialPropertiesProbe.hpp>
Protected Member Functions | |
OpticalMaterialPropertiesProbe () | |
void | probe () override |
![]() | |
SpecialtyWavelengthGridProbe () | |
![]() | |
SpecialtyProbe () | |
![]() | |
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 () | |
![]() | |
MaterialWavelengthRangeInterface () | |
![]() | |
WavelengthRangeInterface () | |
Private Types | |
using | BaseType = SpecialtyWavelengthGridProbe |
using | ItemType = OpticalMaterialPropertiesProbe |
Friends | |
class | ItemRegistry |
Additional Inherited Members | |
![]() | |
WavelengthGrid * | materialWavelengthGrid () const override |
WavelengthGrid * | wavelengthGrid () const |
Range | wavelengthRange () const override |
![]() | |
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 |
virtual WavelengthGrid * | materialWavelengthGrid () const |
![]() | |
virtual | ~WavelengthRangeInterface () |
virtual Range | wavelengthRange () const =0 |
![]() | |
enum class | When { Setup , Run , Primary , Secondary } |
OpticalMaterialPropertiesProbe outputs column text files listing the key optical properties for the media configured in the simulation, discretized on a specified wavelength grid or on the default instrument wavelength grid. For each medium component, the probe retrieves a representative material mix (the mix at the origin of the model coordinate system) and creates a file with the key optical properties for that mix. The files are named prefix_probe_opticalprops_N.dat
where N is replaced with the zero-based index of the medium in the configuration (i.e. in the ski file).
The first line in each file indicates the fundamental material type (i.e. dust, electrons, or gas) and lists the mass per material entity (hydrogen atom or electron)
The columns list the key aggregate properties for the material mix as a function of wavelength. In order from left to right, the wavelength
This item type is displayed only if the Boolean expression "Medium" evaluates to true after replacing the names by true or false depending on their presence.
|
inlineprotected |
Default constructor for concrete Item subclass OpticalMaterialPropertiesProbe : "properties: aggregate optical material properties for each medium" .
|
overrideprotectedvirtual |
This function performs probing.
Implements Probe.