#include <ToddlersSED.hpp>
Public Types | |
enum class | PAHFraction : int { High , Low } |
enum class | Resolution : int { Low , High } |
Public Member Functions | |
double | age () const |
double | cloudNumDensity () const |
double | metallicity () const |
PAHFraction | pahfraction () const |
Resolution | resolution () const |
double | SFE () 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 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 | |
ToddlersSED () | |
const SEDFamily * | getFamilyAndParameters (Array ¶meters) override |
Protected Member Functions inherited from FamilySED | |
FamilySED () | |
virtual const SEDFamily * | getFamilyAndParameters (Array ¶meters)=0 |
void | setupSelfBefore () override |
Protected Member Functions inherited from ContSED | |
ContSED () | |
Protected Member Functions inherited from SED | |
SED () | |
Random * | random () 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 = ToddlersSED |
Private Attributes | |
double | _age |
double | _cloudNumDensity |
double | _metallicity |
PAHFraction | _pahfraction |
Resolution | _resolution |
double | _SFE |
Friends | |
class | ItemRegistry |
A ToddlersSED class instance represents a single star-forming region SED taken from the TODDLERS template library, parameterized on age, metallicity, star formation efficiency, and cloud number density. See the ToddlersSEDFamily class for more information.
|
strong |
The enumeration type indicating the maximum PAH-to-dust fraction.
High : "High PAH-to-dust fraction (4.6%)" .
Low : "Low PAH-to-dust fraction (1%)" .
|
strong |
The enumeration type indicating the wavelength resolution.
Low : "Low wavelength resolution (continuum and lines at R=300)" .
High : "High wavelength resolution (continuum at R=300 and lines at R=5e4)" .
|
inlineprotected |
Default constructor for concrete Item subclass ToddlersSED : "a Toddlers SED for emission from star-forming regions" .
|
inline |
This function returns the value of the discoverable double property age : "system age" .
This property represents a physical quantity of type "time" .
The minimum value for this property is "[0.1 Myr" .
The maximum value for this property is "30 Myr]" .
The default value for this property is given by the conditional value expression "2.5 Myr" .
|
inline |
This function returns the value of the discoverable double property cloudNumDensity : "natal cloud number density" .
This property represents a physical quantity of type "numbervolumedensity" .
The minimum value for this property is "[10 /cm3" .
The maximum value for this property is "2560 /cm3]" .
The default value for this property is given by the conditional value expression "320 /cm3" .
|
inline |
This function returns the value of the discoverable double property metallicity : "system metallicity" .
The minimum value for this property is "[0.001" .
The maximum value for this property is "0.04]" .
The default value for this property is given by the conditional value expression "0.02" .
|
inline |
This function returns the value of the discoverable PAHFraction enumeration property pahfraction : "the maximum PAH-to-dust fraction" .
The default value for this property is given by the conditional value expression "High" .
|
inline |
This function returns the value of the discoverable Resolution enumeration property resolution : "the wavelength resolution" .
The default value for this property is given by the conditional value expression "Low" .
|
inline |
This function returns the value of the discoverable double property SFE : "star formation efficiency " .
The minimum value for this property is "[.01" .
The maximum value for this property is ".15]" .
The default value for this property is given by the conditional value expression ".025" .