SEVN
Loading...
Searching...
No Matches
nmllattimer89.h
Go to the documentation of this file.
1/*
2 Created by iorio on 7/25/22.
3it includes:
4- Class NMLLattimer89: Mass loss correction following Lattimer&Yahil89. https://ui.adsabs.harvard.edu/abs/1989ApJ...340..426L/abstract
5*/
6
7#ifndef SEVN_NMLLATTIMER89_H
8#define SEVN_NMLLATTIMER89_H
9
10#include <neutrinomassloss.h>
11#include <star.h>
12
21public:
22 //Ctor
23 NMLLattimer89(bool reg=true);
24
25 //name
26 inline std::string name() const override { return "lattimer89";}
27
28 //Static instance
30
31 //return an heap allocated instance
32 NMLLattimer89* instance() override {
33 return (new NMLLattimer89(false));
34 }
35
44 double apply(const double mremnant, _UNUSED Star *s) const override;
45};
46
47
48#endif //SEVN_NMLLATTIMER89_H
#define _UNUSED
Definition: BinaryProperty.h:20
Definition: nmllattimer89.h:20
NMLLattimer89 * instance() override
Definition: nmllattimer89.h:32
std::string name() const override
Definition: nmllattimer89.h:26
double apply(const double mremnant, _UNUSED Star *s) const override
Definition: nmllattimer89.cpp:22
static NMLLattimer89 _nmllattimer89
Definition: nmllattimer89.h:29
Definition: neutrinomassloss.h:80
Definition: star.h:39