The SKIRT project
advanced radiative transfer for astrophysics
Public Member Functions | Protected Member Functions | Private Types | Private Attributes | Friends | List of all members
MappingsSED Class Reference

#include <MappingsSED.hpp>

Inheritance diagram for MappingsSED:
Inheritance graph
[legend]

Public Member Functions

double compactness () const
 
double coveringFactor () const
 
double metallicity () const
 
double pressure () const
 
- Public Member Functions inherited from FamilySED
double generateWavelength () const override
 
double integratedLuminosity (const Range &wavelengthRange) const override
 
Range intrinsicWavelengthRange () const override
 
double specificLuminosity (double wavelength) const override
 
void specificLuminosityArray (Array &lambdav, Array &pv, const Range &wavelengthRange) const override
 
virtual double specificLuminosity (double wavelength) const =0
 
virtual void specificLuminosityArray (Array &lambdav, Array &pv, const Range &wavelengthRange) const =0
 
- Public Member Functions inherited from SED
virtual double generateWavelength () const =0
 
virtual double integratedLuminosity (const Range &wavelengthRange) const =0
 
virtual Range intrinsicWavelengthRange () const =0
 
Range normalizationWavelengthRange () const
 
- Public Member Functions inherited from SimulationItem
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
 
- Public Member Functions inherited from Item
 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 ItemgetItemProperty (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)
 
Itemoperator= (const Item &)=delete
 
Itemparent () 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

 MappingsSED ()
 
const SEDFamilygetFamilyAndParameters (Array &parameters) override
 
- Protected Member Functions inherited from FamilySED
 FamilySED ()
 
virtual const SEDFamilygetFamilyAndParameters (Array &parameters)=0
 
void setupSelfBefore () override
 
- Protected Member Functions inherited from ContSED
 ContSED ()
 
- Protected Member Functions inherited from SED
 SED ()
 
Randomrandom () const
 
void setupSelfBefore () override
 
- Protected Member Functions inherited from SimulationItem
 SimulationItem ()
 
virtual bool offersInterface (const std::type_info &interfaceTypeInfo) const
 
virtual void setupSelfAfter ()
 
virtual void setupSelfBefore ()
 
- Protected Member Functions inherited from Item
 Item ()
 

Private Types

using BaseType = FamilySED
 
using ItemType = MappingsSED
 

Private Attributes

double _compactness
 
double _coveringFactor
 
double _metallicity
 
double _pressure
 

Friends

class ItemRegistry
 

Detailed Description

MappingsSED is a class that represents spectral energy distributions of star-forming regions according to the Mappings III model, parameterized on metallicity, compactness, ISM pressure and PDR covering factor. See the MappingsSEDFamily class for more information.

This item type is displayed only if the Boolean expression "Level2" evaluates to true after replacing the names by true or false depending on their presence.

Constructor & Destructor Documentation

◆ MappingsSED()

MappingsSED::MappingsSED ( )
inlineprotected

Default constructor for concrete Item subclass MappingsSED : "a star-forming region SED from the MAPPINGS III model" .

Member Function Documentation

◆ compactness()

MappingsSED::compactness ( ) const
inline

This function returns the value of the discoverable double property compactness : "the logarithm of the compactness parameter" .

The minimum value for this property is "[4.0" .

The maximum value for this property is "6.5]" .

The default value for this property is given by the conditional value expression "6.0" .

◆ coveringFactor()

MappingsSED::coveringFactor ( ) const
inline

This function returns the value of the discoverable double property coveringFactor : "the PDR covering factor" .

The minimum value for this property is "[0" .

The maximum value for this property is "1]" .

The default value for this property is given by the conditional value expression "0.2" .

◆ getFamilyAndParameters()

const SEDFamily * MappingsSED::getFamilyAndParameters ( Array parameters)
overrideprotectedvirtual

This function returns a newly created SEDFamily object (which is already hooked into the simulation item hierachy so it will be automatically deleted) and stores the parameters for the specific SED configured by the user in the specified array.

Implements FamilySED.

◆ metallicity()

MappingsSED::metallicity ( ) const
inline

This function returns the value of the discoverable double property metallicity : "the metallicity" .

The minimum value for this property is "[0.0006" .

The maximum value for this property is "0.025]" .

The default value for this property is given by the conditional value expression "0.0122" .

◆ pressure()

MappingsSED::pressure ( ) const
inline

This function returns the value of the discoverable double property pressure : "the ISM pressure" .

This property represents a physical quantity of type "pressure" .

The minimum value for this property is "[1e10 K/m3" .

The maximum value for this property is "1e14 K/m3]" .

The default value for this property is given by the conditional value expression "1e11 K/m3" .


The documentation for this class was generated from the following file: