#include <pimapelli20.h>
mapelli20 option
Fit (based on the preSN MHE core mass) to the Woosley17 tables as reported in the Appendix of Mapelli+20 (see also Spera+17) see:
Modification with respect to the standard
- apply_beforeSN: no modifications
- apply_afterSN: apply corrections based on finale core He mass, correct Mremnant and set sn_type Approximately: 32<MHE<64 PPISN SN, 64<MHE<135 PISN (no remnant) (the fit depends also on MHE/MTOT)
◆ PIMapelli20()
| PIMapelli20::PIMapelli20 |
( |
bool |
reg = true | ) |
|
|
explicit |
◆ apply_afterSN()
PISN correction based on the Fit (based on the preSN MHE core mass) to the Woosley17 tables as reported in the Appendix of Mapelli+20 (see also Spera+17). Approximately: 32<MHE<64 PPISN SN 64<MHE<135 PISN (no remnant)
- Parameters
-
| s | Pointer to the exploding star to which we want to apply the correction |
| mremnant | Mass of the remnant before the pair isntability correction |
- Returns
- an Instance of the struct PISNeturn with only two members:
- Mremnant_after_pi, Mass of the remnant after the application of pi
- SNType: SN explosion type an object of the enum Lookup::SNExplosionType (ElectronCapture, CoreCollapse, PPISN,PISN)
Reimplemented from PairInstability.
◆ apply_beforeSN()
Methods that can be customized in new models: NOTICE these are the two methods that actually estimate the pisn corrections. By default they do nothing (indeed they are not changed in the disabled model) You may want to change one or both of them Main function to call to apply the pulsation pair instability before the SN explosion The function return a structure containing the modified preSN stellar mass(es) (total mass, MHE, MCO) due to the pulsation pair instability. This function should be called before estimating the final mass in the explosion method in the Supernova classes The method of the base class just copy the Mass,MHE and MCO NOTICE: the default method does nothing, just initialise the utilities::MassContainer with the current stellar mass properties
- Parameters
-
| s | Pointer to the exploding star |
- Returns
- an Instance of the struct PPISNMass with only three members:
- Mass_after_ppi, Mass of the star before the explosion due to the pulsation pair instability
- MHE_after_ppi: Mass of the HE core of the star before the explosion due to the pulsation pair instability
- MCO_after_ppi: Mass of the CO core of the star before the explosion due to the pulsation pair instability
Reimplemented in PIIorio22.
◆ GetStaticMap()
| static std::map< std::string, PairInstability * > & PairInstability::GetStaticMap |
( |
| ) |
|
|
inlinestaticprivateinherited |
◆ GetUsed()
| static std::vector< int > & PairInstability::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 PairInstability.
◆ Instance()
Base class.
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 PIMapelli20::name |
( |
| ) |
const |
|
inlineoverridevirtual |
Remember that each new proper PairInstability 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 customized in new models Name of the PairInstability model, this will be use at runtime to select the given model
Reimplemented from PairInstability.
◆ pisn_correction()
PISN correction based on the Fit (based on the preSN MHE core mass) to the Woosley17 tables as reported in the Appendix of Mapelli+20 (see also Spera+17). Approximately: 32<MHE<64 PPISN SN 64<MHE<135 PISN (no remnant)
- Parameters
-
| mass | Mass of the remnant before the pair isntability correction |
| s | Pointer to the exploding star to which we want to apply the correction |
| sntype | reference to a variable of type Lookup::SNExplosionType, after the correction, this variable stores the type of triggered supernova. |
- Returns
◆ Register()
Register function, to be called inside the option constructor to register the given option
◆ _pimapelli20
◆ svlog
The documentation for this class was generated from the following files:
- /Users/giulianoiorio/Documents/sevn_public/src/star/procs/pairinstability/pimapelli20.h
- /Users/giulianoiorio/Documents/sevn_public/src/star/procs/pairinstability/pimapelli20.cpp