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

#include <MTstability.h>

Inheritance diagram for Qcrit_COSMIC_Neijssel:
Qcrit_Hurley_Webbink Qcrit_Hurley MT_Qcrit MTstability

Public Member Functions

 Qcrit_COSMIC_Neijssel (bool reg=true)
 
std::string name () override
 
Qcrit_COSMIC_Neijsselinstance () 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_COSMIC_Neijssel _qcrit_cosmic_neijssel
 
static Qcrit_Hurley_Webbink _qcrit_hurley_webbink
 
static Qcrit_Hurley _qcrit_hurley
 

Protected Member Functions

double qcrit (Star *donor, Star *accretor) const override
 
double qcrit_giant (Star *donor, _UNUSED 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

qcrit prescriptions taken from Neijssel+2020, Sec. 2.3

Constructor & Destructor Documentation

◆ Qcrit_COSMIC_Neijssel()

Qcrit_COSMIC_Neijssel::Qcrit_COSMIC_Neijssel ( 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_COSMIC_Neijssel * Qcrit_COSMIC_Neijssel::instance ( )
inlineoverridevirtual

Reimplemented from Qcrit_Hurley_Webbink.

◆ 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_COSMIC_Neijssel::name ( )
inlineoverridevirtual

Reimplemented from Qcrit_Hurley_Webbink.

◆ 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_COSMIC_Neijssel::qcrit ( Star donor,
Star accretor 
) const
overrideprotectedvirtual

qcrit prescriptions taken from Neijssel+2020, section 2.3 as implemented in COSMIC This implementation is taken directly from COSMIC (https://github.com/COSMIC-PopSynth/COSMIC/blob/develop/cosmic/src/evolv2.f In the documentation they report: "We convert from radial response to qcrit for MS and HG, which assumes conservative mass transfer, Stable MT is always assumed for stripped stars, Assume standard qcrit from BSE for kstar>=10"

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

Reimplemented from Qcrit_Hurley.

◆ qcrit_giant()

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

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_cosmic_neijssel

Qcrit_COSMIC_Neijssel Qcrit_COSMIC_Neijssel::_qcrit_cosmic_neijssel
static

◆ _qcrit_hurley

Qcrit_Hurley Qcrit_Hurley::_qcrit_hurley
staticinherited

◆ _qcrit_hurley_webbink

Qcrit_Hurley_Webbink Qcrit_Hurley_Webbink::_qcrit_hurley_webbink
staticinherited

◆ svlog

SevnLogging MTstability::svlog
protectedinherited

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