![]() |
SEVN
|
#include <MTstability.h>
Public Member Functions | |
| bool | mt_unstable (Star *donor, Star *accretor, _UNUSED Binstar *binary) const override |
| double | get_tshold (Star *donor, Star *accretor, _UNUSED Binstar *binary) const override |
| double | get (Star *donor, Star *accretor, _UNUSED Binstar *binary) const override |
| virtual std::string | name ()=0 |
| virtual MTstability * | instance () |
| 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 MTstability * | Instance (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 () |
MT stability implementation based on mass_ratio (q) and critical mass ratio (qc). The instability is check as q > qc. qc can be estimated with different formalism (they have to be implemented)
|
pure virtualinherited |
Return the value used to make the comparison for mass stability
| donor | Pointer to the donor star |
| accretor | Pointer to the accretor star |
| binary | Pointer to the binary |
Implemented in MT_Stable, and MT_UnStable.
|
inlineoverride |
Return q, the critical mass-ratio, if q (get)>qcrit (get_tshold), the mst is unstable
| donor | Pointer to the donor star |
| accretor | Pointer to the accretor star |
| binary | Pointer to the binary |
|
pure virtualinherited |
Return the threshold value used to make the comparison for mass stability
| donor | Pointer to the donor star |
| accretor | Pointer to the accretor star |
| binary | Pointer to the binary |
Implemented in MT_Stable, and MT_UnStable.
|
inlineoverride |
Return qcrit, the critical mass-ratio, if q (get)>qcrit (get_tshold), the mst is unstable
| donor | Pointer to the donor star |
| accretor | Pointer to the accretor star |
| binary | Pointer to the binary |
|
inlinestaticprivateinherited |
|
inlinestaticprivateinherited |
|
inlinevirtualinherited |
|
staticinherited |
|
overridevirtual |
Check if the mass transfer is stable or not
| donor | Pointer to the donor star |
| accretor | Pointer to the accretor star |
| binary | Pointer to the binary |
Implements MTstability.
|
inlinepure virtualinherited |
Critical mass ratio
| donor | Pointer to the donor star |
| accretor | Pointer to the accretor star |
Implemented in Qcrit_Hurley, Qcrit_Hurley_Webbink_Shao, Qcrit_COSMIC_Neijssel, Qcrit_COSMIC_Claeys, Qcrit_Radiative_Stable, and Qcrit_HRadiative_Stable.
|
inlineprotectedinherited |
|
protectedinherited |