SEVN
Loading...
Searching...
No Matches
ONeWDrem Class Reference

#include <remnant.h>

Inheritance diagram for ONeWDrem:
WDrem Staremnant

Public Member Functions

 ONeWDrem (_UNUSED Star *s, double Mremnant, double time)
 
 ONeWDrem (_UNUSED Star *s, double Mremnant)
 
double Radius (_UNUSED Star *s) const override
 
double Luminosity (_UNUSED Star *s) const override
 
double OmegaRem (_UNUSED Star *s) const override
 
double Inertia (_UNUSED Star *s) const override
 
double Bmag (_UNUSED Star *s) const override
 
double Xspin (_UNUSED Star *s) const override
 
double get_born_time () const
 
double get_Mremnant_at_born () const
 
virtual double Mass (_UNUSED Star *s) const
 
double get (Star *s, size_t ID) const
 
Lookup::Remnants get_remnant_type () const
 
double age (Star *s) const
 
double InertiaSphere (Star *s) const
 

Public Attributes

SevnLogging svlog
 

Protected Member Functions

void default_initialiser ()
 

Protected Attributes

double A_luminosity
 
Lookup::Remnants remnant_type
 

Private Attributes

double born_time
 
double Mremnant_at_born
 

Constructor & Destructor Documentation

◆ ONeWDrem() [1/2]

ONeWDrem::ONeWDrem ( _UNUSED Star s,
double  Mremnant,
double  time 
)
inline

◆ ONeWDrem() [2/2]

ONeWDrem::ONeWDrem ( _UNUSED Star s,
double  Mremnant 
)
inline

Member Function Documentation

◆ age()

double Staremnant::age ( Star s) const
inherited

Estimate the elapsed time from the remannt creation. It is estimated simply as Worldtime-creation time

Parameters
sPointe to the star
Returns
Age of the remnant in Myr.

◆ Bmag()

double WDrem::Bmag ( _UNUSED Star s) const
inlineoverridevirtualinherited

Implements Staremnant.

◆ default_initialiser()

void ONeWDrem::default_initialiser ( )
inlineprotected

◆ get()

double Staremnant::get ( Star s,
size_t  ID 
) const
inherited

Get the property with given ID. This a wrapper and a dispatcher to get the results of the various class methods.

Parameters
sPointer to the star
IDID of the Property
Returns
The value of the property as estimated for the remnant or throw a not_implemented_error if the property is not available in the class

◆ get_born_time()

double Staremnant::get_born_time ( ) const
inlineinherited

◆ get_Mremnant_at_born()

double Staremnant::get_Mremnant_at_born ( ) const
inlineinherited

◆ get_remnant_type()

Lookup::Remnants Staremnant::get_remnant_type ( ) const
inlineinherited

◆ Inertia()

double WDrem::Inertia ( _UNUSED Star s) const
inlineoverridevirtualinherited

Implements Staremnant.

◆ InertiaSphere()

double Staremnant::InertiaSphere ( Star s) const
inherited

◆ Luminosity()

double WDrem::Luminosity ( _UNUSED Star s) const
overridevirtualinherited

Estimate the luminosity evolution of the WD followint Eq. 90 in Hurley+00

Parameters
sPointer to the star
Returns
Luminosity of the WD at a given age in Lsun.

Implements Staremnant.

◆ Mass()

double Staremnant::Mass ( _UNUSED Star s) const
virtualinherited

◆ OmegaRem()

double WDrem::OmegaRem ( _UNUSED Star s) const
inlineoverridevirtualinherited

Implements Staremnant.

◆ Radius()

double WDrem::Radius ( _UNUSED Star s) const
overridevirtualinherited

Radius from Eq. 91 in Hurley+00

Parameters
sPointer to star
Returns
Radius of the WD

Implements Staremnant.

◆ Xspin()

double WDrem::Xspin ( _UNUSED Star s) const
inlineoverridevirtualinherited

Implements Staremnant.

Member Data Documentation

◆ A_luminosity

double WDrem::A_luminosity
protectedinherited

◆ born_time

double Staremnant::born_time
privateinherited

Time of remnant creation

◆ Mremnant_at_born

double Staremnant::Mremnant_at_born
privateinherited

Mass of the remnant at the moment of the creation

◆ remnant_type

Lookup::Remnants Staremnant::remnant_type
protectedinherited

◆ svlog

SevnLogging Staremnant::svlog
inherited

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