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

#include <MTstability.h>

Inheritance diagram for MT_Zeta:
MTstability

Public Member Functions

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

Static Public Member Functions

static MTstabilityInstance (std::string const &name)
 

Protected Member Functions

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 ()
 

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]

virtual double MT_Zeta::get ( Star donor,
Star accretor,
_UNUSED Binstar binary 
) const
inlinevirtual

Retrun 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]

virtual double MT_Zeta::get_tshold ( Star donor,
Star accretor,
_UNUSED Binstar binary 
) const
inlinevirtual

Retrun 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()

◆ Instance()

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

◆ mt_unstable()

bool MT_Zeta::mt_unstable ( Star donor,
Star accretor,
_UNUSED Binstar binary 
) const
overridevirtual

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()

◆ q()

virtual double MT_Zeta::q ( Star donor,
Star accretor 
) const
protectedvirtual

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()

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

Critical mass ratio

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

◆ Register()

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

Member Data Documentation

◆ svlog

SevnLogging MTstability::svlog
protectedinherited

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