SEVN
Loading...
Searching...
No Matches
Qcrit_Hurley_Webbink Class Referenceabstract

#include <MTstability.h>

Inheritance diagram for Qcrit_Hurley_Webbink:
Qcrit_Hurley MT_Qcrit MTstability Qcrit_COSMIC_Claeys Qcrit_COSMIC_Neijssel Qcrit_HRadiative_Stable Qcrit_Hurley_Webbink_Shao Qcrit_Radiative_Stable

Public Member Functions

 Qcrit_Hurley_Webbink (bool reg=true)
 
std::string name () override
 
Qcrit_Hurley_Webbinkinstance () override
 
bool mt_unstable (Star *donor, Star *accretor, _UNUSED Binstar *binary) const override
 
double get_tshold (Star *donor, Star *accretor, _UNUSED Binstar *binary) const override
 
virtual double get_tshold (_UNUSED Star *donor, _UNUSED Star *accretor, _UNUSED Binstar *binary) const =0
 
double get (Star *donor, Star *accretor, _UNUSED Binstar *binary) const override
 
virtual double get (_UNUSED Star *donor, _UNUSED Star *accretor, _UNUSED Binstar *binary) const =0
 

Static Public Member Functions

static MTstabilityInstance (std::string const &name)
 

Static Public Attributes

static Qcrit_Hurley_Webbink _qcrit_hurley_webbink
 
static Qcrit_Hurley _qcrit_hurley
 

Protected Member Functions

double qcrit_giant (Star *donor, _UNUSED Star *accretor) const override
 
double qcrit (Star *donor, Star *accretor) const override
 
virtual double q (Star *donor, Star *accretor) const
 
void Register (MTstability *ptr, const std::string &_name)
 

Protected Attributes

SevnLogging svlog
 

Static Private Member Functions

static std::map< std::string, MTstability * > & GetStaticMap ()
 
static std::vector< int > & GetUsed ()
 

Detailed Description

Same as Qcrit_Hurley but with qcrit for giants estimated using equations from Webbink (1988)

Constructor & Destructor Documentation

◆ Qcrit_Hurley_Webbink()

Qcrit_Hurley_Webbink::Qcrit_Hurley_Webbink ( bool  reg = true)
inline

Member Function Documentation

◆ get() [1/2]

virtual double MTstability::get ( _UNUSED Star donor,
_UNUSED Star accretor,
_UNUSED Binstar binary 
) const
pure virtualinherited

Return the value used to make the comparison for mass stability

Parameters
donorPointer to the donor star
accretorPointer to the accretor star
binaryPointer to the binary
Returns
Return the value used to make the comparison for mass stability

Implemented in MT_Stable, and MT_UnStable.

◆ get() [2/2]

double MT_Qcrit::get ( Star donor,
Star accretor,
_UNUSED Binstar binary 
) const
inlineoverrideinherited

Return q, the critical mass-ratio, if q (get)>qcrit (get_tshold), the mst is unstable

Parameters
donorPointer to the donor star
accretorPointer to the accretor star
binaryPointer to the binary
Returns
qcrit

◆ get_tshold() [1/2]

virtual double MTstability::get_tshold ( _UNUSED Star donor,
_UNUSED Star accretor,
_UNUSED Binstar binary 
) const
pure virtualinherited

Return the threshold value used to make the comparison for mass stability

Parameters
donorPointer to the donor star
accretorPointer to the accretor star
binaryPointer to the binary
Returns
Return the threshold value used to make the comparison for mass stability

Implemented in MT_Stable, and MT_UnStable.

◆ get_tshold() [2/2]

double MT_Qcrit::get_tshold ( Star donor,
Star accretor,
_UNUSED Binstar binary 
) const
inlineoverrideinherited

Return qcrit, the critical mass-ratio, if q (get)>qcrit (get_tshold), the mst is unstable

Parameters
donorPointer to the donor star
accretorPointer to the accretor star
binaryPointer to the binary
Returns
qcrit

◆ GetStaticMap()

static std::map< std::string, MTstability * > & MTstability::GetStaticMap ( )
inlinestaticprivateinherited

◆ GetUsed()

static std::vector< int > & MTstability::GetUsed ( )
inlinestaticprivateinherited

◆ instance()

Qcrit_Hurley_Webbink * Qcrit_Hurley_Webbink::instance ( )
inlineoverridevirtual

◆ Instance()

MTstability * MTstability::Instance ( std::string const &  name)
staticinherited

◆ mt_unstable()

bool MT_Qcrit::mt_unstable ( Star donor,
Star accretor,
_UNUSED Binstar binary 
) const
overridevirtualinherited

Check if the mass transfer is stable or not

Parameters
donorPointer to the donor star
accretorPointer to the accretor star
binaryPointer to the binary
Returns
true is the mass transfer is unstable, false otherwise

Implements MTstability.

◆ name()

std::string Qcrit_Hurley_Webbink::name ( )
inlineoverridevirtual

◆ q()

double MT_Qcrit::q ( Star donor,
Star accretor 
) const
protectedvirtualinherited

Mass ratio in the previuous step

Parameters
donorPointer to the donor star
accretorPointer to the accretor star
Returns
Mass ratio between donor and accretor in the previous step

◆ qcrit()

double Qcrit_Hurley::qcrit ( Star donor,
Star accretor 
) const
overrideprotectedvirtualinherited

Qcrit from Hurley+02, the estimate is based on BSE phase, NOTICE that we estimate the BSE phase in the previous step (using getp_0)

Parameters
donorPointer to the donor star
accretorPointer to the accretor star
Returns
qcrit

Implements MT_Qcrit.

Reimplemented in Qcrit_Hurley_Webbink_Shao, Qcrit_COSMIC_Neijssel, Qcrit_COSMIC_Claeys, Qcrit_Radiative_Stable, and Qcrit_HRadiative_Stable.

◆ qcrit_giant()

double Qcrit_Hurley_Webbink::qcrit_giant ( Star donor,
_UNUSED Star accretor 
) const
overrideprotectedvirtual

Qcrit for giants (BSE phase 3,5,6) following qc = 0.362 + 1.0/(3.0*(1.0 - Mcore_fraction)) After Eq. 57 (not numbered) in Hurley+02 The equation comes from Webbink (1988) and it has been obtained from models for condensed polytropes.

Parameters
donor
accretor
Returns

Reimplemented from Qcrit_Hurley.

◆ Register()

void MTstability::Register ( MTstability ptr,
const std::string &  _name 
)
inlineprotectedinherited

Member Data Documentation

◆ _qcrit_hurley

Qcrit_Hurley Qcrit_Hurley::_qcrit_hurley
staticinherited

◆ _qcrit_hurley_webbink

Qcrit_Hurley_Webbink Qcrit_Hurley_Webbink::_qcrit_hurley_webbink
static

◆ svlog

SevnLogging MTstability::svlog
protectedinherited

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