#include <kicks.h>
◆ Kicks()
◆ ~Kicks()
| virtual Kicks::~Kicks |
( |
| ) |
|
|
inlinevirtual |
◆ _apply()
◆ apply()
Wrapper for specified _apply functions
- Parameters
-
◆ check_and_correct_vkick()
| void Kicks::check_and_correct_vkick |
( |
Star * |
s | ) |
|
|
protectedvirtual |
Check if we have to make correction to the final Vkick (after all the fallback and similar correction) It checks:
- If Mremant=0 (e.g. after a PPISN) So far it just check that the final Vkick is not lower than the parameter sn_min_vkick. If this is the case it just sets the final velocity to the minimum value and rescale all the components by the factor min_vkick/old_vkick if old_vkick is 0, new isotropic velocity components are randomly drawn
- Parameters
-
◆ draw_from_gaussian()
| double Kicks::draw_from_gaussian |
( |
double |
std, |
|
|
double |
mean = 0. |
|
) |
| |
|
inlineprotected |
◆ get_random_kick()
| double Kicks::get_random_kick |
( |
| ) |
|
|
inline |
◆ GetStaticMap()
| static std::map< std::string, Kicks * > & Kicks::GetStaticMap |
( |
| ) |
|
|
inlinestaticprivate |
◆ GetUsed()
| static std::vector< int > & Kicks::GetUsed |
( |
| ) |
|
|
inlinestaticprivate |
◆ instance()
| virtual Kicks * Kicks::instance |
( |
| ) |
|
|
inlinevirtual |
◆ Instance()
| Kicks * Kicks::Instance |
( |
std::string const & |
name | ) |
|
|
static |
◆ kick_initializer()
| void Kicks::kick_initializer |
( |
| ) |
|
|
protected |
◆ name()
| virtual std::string Kicks::name |
( |
| ) |
|
|
inlinevirtual |
◆ Register()
| void Kicks::Register |
( |
Kicks * |
ptr, |
|
|
const std::string & |
_name |
|
) |
| |
|
inlineprotected |
◆ set_random_kick()
| void Kicks::set_random_kick |
( |
const double & |
a | ) |
|
|
inlineprotected |
◆ random_velocity_kick
◆ standard_gaussian
| std::normal_distribution<double> Kicks::standard_gaussian |
|
protected |
◆ svlog
◆ uniformRealDistribution
| std::uniform_real_distribution<double> Kicks::uniformRealDistribution |
|
protected |
The documentation for this class was generated from the following files:
- /Users/giulianoiorio/Documents/sevn_public/src/star/procs/kicks/kicks.h
- /Users/giulianoiorio/Documents/sevn_public/src/star/procs/kicks/kicks.cpp