#include <remnant.h>
◆ NSECrem() [1/2]
| NSECrem::NSECrem |
( |
_UNUSED Star * |
s, |
|
|
double |
Mremnant, |
|
|
double |
time |
|
) |
| |
|
inline |
◆ NSECrem() [2/2]
| NSECrem::NSECrem |
( |
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.
◆ Bmag()
◆ default_initialiser()
◆ generate_uniform()
| double NSrem::generate_uniform |
( |
double |
a, |
|
|
double |
b |
|
) |
| |
|
inlineprotectedinherited |
◆ 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_alpha()
| double NSrem::get_alpha |
( |
| ) |
const |
|
inlineinherited |
Returh the alpha angle, i.e. the angle between the rotation axis and the magnetic axis
- Returns
- alpha in radians
◆ get_Bmin()
| double NSrem::get_Bmin |
( |
| ) |
const |
|
inlineinherited |
Return the value of Bmin
- Returns
- Bmin in Gauss
◆ 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()
◆ get_salpha()
| double NSrem::get_salpha |
( |
| ) |
const |
|
inlineinherited |
Returh the sin of the alpha angle, i.e. the angle between the rotation axis and the magnetic axis
- Returns
- sin alpha
◆ Inertia()
◆ InertiaSphere()
| double Staremnant::InertiaSphere |
( |
Star * |
s | ) |
const |
|
inherited |
◆ Luminosity()
NS Luminosity, Eq. 93 Hurley 2000, LNS=0.02*M^(2/3)/(max(t,0.1)^2) from Eq. 93 using Hurley, 2000
- Parameters
-
- Returns
- Neutrpm star luminosity
Implements Staremnant.
◆ Mass()
◆ OmegaRem()
◆ print_log_message()
◆ Radius()
|
|
inlineoverridevirtualinherited |
◆ Xspin()
|
|
inlineoverridevirtualinherited |
◆ B0
◆ Bmin
◆ 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
◆ Omega0
◆ remnant_type
◆ Rns
◆ root_distribution
| std::uniform_real_distribution<double> NSrem::root_distribution |
|
protectedinherited |
◆ sinalpha
◆ svlog
◆ tau_magnetic
| double NSrem::tau_magnetic |
|
privateinherited |
The documentation for this class was generated from the following file:
- /Users/giulianoiorio/Documents/sevn_public/src/star/remnant.h