#include <neutrinomassloss.h>
◆ NeutrinoMassLoss() [1/3]
| NeutrinoMassLoss::NeutrinoMassLoss |
( |
_UNUSED bool |
reg = true | ) |
|
|
inlineexplicit |
◆ ~NeutrinoMassLoss()
| virtual NeutrinoMassLoss::~NeutrinoMassLoss |
( |
| ) |
|
|
virtualdefault |
◆ NeutrinoMassLoss() [2/3]
◆ NeutrinoMassLoss() [3/3]
◆ apply()
| virtual double NeutrinoMassLoss::apply |
( |
_UNUSED const double |
mremnant, |
|
|
_UNUSED Star * |
s |
|
) |
| const |
|
pure virtual |
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
◆ GetStaticMap()
| static std::map< std::string, NeutrinoMassLoss * > & NeutrinoMassLoss::GetStaticMap |
( |
| ) |
|
|
inlinestaticprivate |
◆ GetUsed()
| static std::vector< int > & NeutrinoMassLoss::GetUsed |
( |
| ) |
|
|
inlinestaticprivate |
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
Implemented in NMLDisabled, and NMLLattimer89.
◆ 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()
| virtual std::string NeutrinoMassLoss::name |
( |
| ) |
const |
|
inlinevirtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Register()
Register function, to be called inside the option constructor to register the given option
◆ svlog
The documentation for this class was generated from the following files: