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

#include <MTstability.h>

Inheritance diagram for Qcrit_StarTrack:
MT_Qcrit MTstability

Public Member Functions

 Qcrit_StarTrack (bool reg=true)
 
std::string name () override
 
Qcrit_StarTrackinstance () 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_StarTrack _qcrit_startrack
 

Protected Member Functions

double qcrit (Star *donor, _UNUSED Star *accretor) const override
 
virtual double q (Star *donor, Star *accretor) const
 
virtual double qcrit (Star *donor, Star *accretor) const =0
 
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 implementation based on Belczynski+2008

Constructor & Destructor Documentation

◆ Qcrit_StarTrack()

Qcrit_StarTrack::Qcrit_StarTrack ( 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_StarTrack * Qcrit_StarTrack::instance ( )
inlineoverridevirtual

Reimplemented from MTstability.

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

Implements MTstability.

◆ 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() [1/2]

double Qcrit_StarTrack::qcrit ( Star donor,
_UNUSED Star accretor 
) const
overrideprotected

Qcrit from Belczynski+08, 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

◆ qcrit() [2/2]

virtual double MT_Qcrit::qcrit ( Star donor,
Star accretor 
) const
protectedpure virtualinherited

Critical mass ratio

Parameters
donorPointer to the donor star
accretorPointer to the accretor star
Returns
qcrit in the previous step

Implemented in Qcrit_Hurley, Qcrit_Hurley_Webbink_Shao, Qcrit_COSMIC_Neijssel, Qcrit_COSMIC_Claeys, Qcrit_Radiative_Stable, and Qcrit_HRadiative_Stable.

◆ Register()

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

Member Data Documentation

◆ _qcrit_startrack

Qcrit_StarTrack Qcrit_StarTrack::_qcrit_startrack
static

◆ svlog

SevnLogging MTstability::svlog
protectedinherited

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