#include <remnant.h>
◆ BHrem() [1/2]
| BHrem::BHrem |
( |
_UNUSED Star * |
s, |
|
|
double |
Mremnant, |
|
|
double |
time |
|
) |
| |
|
inline |
◆ BHrem() [2/2]
| BHrem::BHrem |
( |
Star * |
s, |
|
|
double |
Mremnant |
|
) |
| |
|
inline |
◆ age()
| double Staremnant::age |
( |
Star * |
s | ) |
const |
|
inherited |
Estimate the elapsed time from the remannt creation. It is estimated simply as Worldtime-creation time
- Parameters
-
- Returns
- Age of the remnant in Myr.
◆ apply_Bavera_correction_to_Xspin()
| int BHrem::apply_Bavera_correction_to_Xspin |
( |
double |
period, |
|
|
double |
mass_wr |
|
) |
| |
◆ Bmag()
◆ default_initialiser()
| void BHrem::default_initialiser |
( |
Star * |
s | ) |
|
|
protected |
◆ estimate_Xspin()
Estimate Xspin given the input option
- Parameters
-
- Returns
- Value of Xspin
◆ get()
| double Staremnant::get |
( |
Star * |
s, |
|
|
size_t |
ID |
|
) |
| const |
|
inherited |
Get the property with given ID. This a wrapper and a dispatcher to get the results of the various class methods.
- Parameters
-
| s | Pointer to the star |
| ID | ID of the Property |
- Returns
- The value of the property as estimated for the remnant or throw a not_implemented_error if the property is not available in the class
◆ get_born_time()
| double Staremnant::get_born_time |
( |
| ) |
const |
|
inlineinherited |
◆ get_Mremnant_at_born()
| double Staremnant::get_Mremnant_at_born |
( |
| ) |
const |
|
inlineinherited |
◆ get_remnant_type()
◆ Inertia()
◆ InertiaSphere()
| double Staremnant::InertiaSphere |
( |
Star * |
s | ) |
const |
|
inherited |
◆ Luminosity()
◆ Mass()
◆ OmegaRem()
◆ Radius()
Schwarzschild radius 2GM/c^2
Implements Staremnant.
◆ set_Xspin()
| int BHrem::set_Xspin |
( |
double |
value | ) |
|
|
inlineprotected |
Set the value of Xspin
- Parameters
-
| value | number between 0 and 1 |
- Returns
- EXIT SUCCESS, thrown an sanity_error if xspin <0 or >1
◆ Xspin()
◆ XspinAccretion()
| double BHrem::XspinAccretion |
( |
Star * |
s | ) |
const |
|
protected |
Xspin following Zevin&Bavera22 https://arxiv.org/pdf/2203.02515.pdf All the BH are born with an Xspin=0, then it is increased just through mass accretion Eq. 4 in Zevin&Bavera22. Notice:: in Zevin&Bavera22, they consider only MT in RLO, in our implementation we consider also accretion from winds.
- Parameters
-
- Returns
- Xspin after accretion (or 0 if not accretion)
◆ XspinFuller()
| double BHrem::XspinFuller |
( |
| ) |
const |
|
inlineprotected |
◆ XspinGeneva()
| double BHrem::XspinGeneva |
( |
const double |
z0, |
|
|
const double |
mco |
|
) |
| const |
|
inlineprotected |
◆ XspinMaxwellian()
| double BHrem::XspinMaxwellian |
( |
const double |
sigma_xspin | ) |
const |
|
inlineprotected |
Xspin drawn from a Maxwellian distribution
- Parameters
-
| sigma_xspin | Maxwellian 1D sigma |
- Returns
- adimensional BH spin Xspin
◆ XspinMESA()
| double BHrem::XspinMESA |
( |
const double |
z0, |
|
|
const double |
mco |
|
) |
| const |
|
inlineprotected |
◆ XspinZeros()
| double BHrem::XspinZeros |
( |
| ) |
const |
|
inlineprotected |
Just return 0 for the spin
- Returns
- 0.
◆ born_time
| double Staremnant::born_time |
|
privateinherited |
◆ Mremnant_at_born
| double Staremnant::Mremnant_at_born |
|
privateinherited |
Mass of the remnant at the moment of the creation
◆ remnant_type
◆ svlog
◆ xspin
| double BHrem::xspin =std::nan("") |
|
private |
The documentation for this class was generated from the following files:
- /Users/giulianoiorio/Documents/sevn_public/src/star/remnant.h
- /Users/giulianoiorio/Documents/sevn_public/src/star/remnant.cpp