#include <nmllattimer89.h>
option lattimer89
Apply the neutrino mass loss correction from Lattimer&Yahil89. https://ui.adsabs.harvard.edu/abs/1989ApJ...340..426L/abstract as reported in Eq. 4 in Giacobbo & Mapelli 2018 (https://arxiv.org/pdf/1805.11100.pdf). In addition, the neutrino mass loss is limited to 0.5 Msun.
◆ NMLLattimer89()
| NMLLattimer89::NMLLattimer89 |
( |
bool |
reg = true | ) |
|
◆ apply() [1/2]
| virtual double NeutrinoMassLoss::apply |
( |
_UNUSED const double |
mremnant, |
|
|
_UNUSED Star * |
s |
|
) |
| const |
|
pure virtualinherited |
Estimate the neutrino mass loss correction
- Parameters
-
| mremnant | Mass of the remnant before the pair instability correction |
| s | Pointer to the exploding star to which we want to apply the correction |
- Returns
- Mass after the neutrino mass loss correction
◆ apply() [2/2]
| double NMLLattimer89::apply |
( |
const double |
mremnant, |
|
|
_UNUSED Star * |
s |
|
) |
| const |
|
override |
◆ GetStaticMap()
| static std::map< std::string, NeutrinoMassLoss * > & NeutrinoMassLoss::GetStaticMap |
( |
| ) |
|
|
inlinestaticprivateinherited |
◆ GetUsed()
| static std::vector< int > & NeutrinoMassLoss::GetUsed |
( |
| ) |
|
|
inlinestaticprivateinherited |
TODO we are never using this method, we should remove it.
◆ instance()
Create an instance of the class allocated on the heap
- Returns
- a pointer to a real instance of the class that is allocated on the heap
Implements NeutrinoMassLoss.
◆ Instance()
Generic method to call an instance based on name
- Parameters
-
- Returns
- a pointer to a real instance of the class that is allocated on the heap
◆ name()
| std::string NMLLattimer89::name |
( |
| ) |
const |
|
inlineoverridevirtual |
Remember that each new proper NeutrinoMassLoss model has to have a public static class instance to define in static_main.h e.g. static MyModel _mymodel; (in the class) and MyModel MyModel::_mymodel; in static_main.h Methods that must be overridded in new models Name of the NeutrinoMassLoss model, this will be use at runtime to select the given model
Reimplemented from NeutrinoMassLoss.
◆ Register()
Register function, to be called inside the option constructor to register the given option
◆ _nmllattimer89
◆ svlog
The documentation for this class was generated from the following files:
- /Users/giulianoiorio/Documents/sevn_public/src/star/procs/neutrinomassloss/nmllattimer89.h
- /Users/giulianoiorio/Documents/sevn_public/src/star/procs/neutrinomassloss/nmllattimer89.cpp
- /Users/giulianoiorio/Documents/sevn_public/include/static_main.h