The SKIRT project
advanced radiative transfer for astrophysics
CastelliKuruczSED Class Reference

#include <CastelliKuruczSED.hpp>

Inheritance diagram for CastelliKuruczSED:

Public Member Functions

double gravity () const
double metallicity () const
double temperature () 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
Public Member Functions inherited from SED
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

 CastelliKuruczSED ()
const SEDFamilygetFamilyAndParameters (Array &parameters) override
Protected Member Functions inherited from FamilySED
 FamilySED ()
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 ()
Protected Member Functions inherited from Item
 Item ()

Private Types

using BaseType
using ItemType

Private Attributes

double _gravity
double _metallicity
double _temperature

Friends

class ItemRegistry

Detailed Description

CastelliKuruczSED is a class that represents spectral energy distributions of stellar atmospheres, parameterized on metallicity, effective temperature, and gravity, according to the Castelli-Kurucz 2003 models. See the CastelliKuruczSEDFamily class for more information.

Constructor & Destructor Documentation

◆ CastelliKuruczSED()

CastelliKuruczSED::CastelliKuruczSED ( )
inlineprotected

Default constructor for concrete Item subclass CastelliKuruczSED: "a Castelli-Kurucz stellar atmosphere SED".

Member Function Documentation

◆ getFamilyAndParameters()

const SEDFamily * CastelliKuruczSED::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.

◆ gravity()

double CastelliKuruczSED::gravity ( ) const
inline

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

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

The minimum value for this property is "[0.01 m/s2".

The maximum value for this property is "1000 m/s2]".

The default value for this property is given by the conditional value expression "275 m/s2".

◆ metallicity()

double CastelliKuruczSED::metallicity ( ) const
inline

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

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

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

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

◆ temperature()

double CastelliKuruczSED::temperature ( ) const
inline

This function returns the value of the discoverable double property temperature: "the effective surface temperature".

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

The minimum value for this property is "]3500 K".

The maximum value for this property is "50000 K]".

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


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