![]() |
SEVN
|
#include <hobbs.h>
Public Member Functions | |
| Hobbs (bool reg=true) | |
| void | _apply (Star *s) override |
| Hobbs * | instance () |
| std::string | name () override |
| void | apply (_UNUSED Star *s) |
| virtual void | _apply (_UNUSED Star *s)=0 |
| double | get_random_kick () |
Static Public Member Functions | |
| static Kicks * | Instance (std::string const &name) |
Static Public Attributes | |
| static Hobbs | _hobbs |
Protected Member Functions | |
| double | estimate_fallback_correction (Star *s) |
| void | Register (Kicks *ptr, const std::string &_name) |
| void | set_random_kick (const double &a) |
| void | kick_initializer () |
| virtual void | check_and_correct_vkick (Star *s) |
| double | draw_from_gaussian (double std, double mean=0.) |
Protected Attributes | |
| std::normal_distribution< double > | standard_gaussian |
| std::uniform_real_distribution< double > | uniformRealDistribution |
| SevnLogging | svlog |
| double | random_velocity_kick =utilities::NULL_DOUBLE |
Static Private Member Functions | |
| static std::map< std::string, Kicks * > & | GetStaticMap () |
| static std::vector< int > & | GetUsed () |
Same as HobbePure, but the kick are corrected for the SN fallback (larger fallback, lower velocities)
|
inline |
|
override |
|
protectedvirtualinherited |
Check if we have to make correction to the final Vkick (after all the fallback and similar correction) It checks:
| s |
|
inlineprotectedinherited |
|
protected |
Estimate the fallback f_b to correct the kick, i.e. Vk_new = Vk_old *f_b, where f_b = (1-fallback) The fallback is introduced in the rapid and delayed SN model as
fallback = (Mremnant - Mproto) / (MpreSN - Mproto)
where Mproto depends on the SN model, in SEVN Mproto = 1.1 for rapid and 1.15 for delayed
However, the Sn model can set the fallback, therefore in this method we firstly check if the fallback in the SN model is set (i.e. >=0), in this case we use the value set by the SN model otherwise we use the equation above assuming Mproto=1.1 Msun.
| s | Pointer to the exploding star |
New proptotype for fb estimate
|
inlineinherited |
|
inlinestaticprivateinherited |
|
inlinestaticprivateinherited |
|
inlinevirtual |
|
staticinherited |
|
protectedinherited |
|
inlineoverridevirtual |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
static |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |