SEVN
Loading...
Searching...
No Matches
Tides_simple_notab Class Reference

#include <Orbit.h>

Inheritance diagram for Tides_simple_notab:
Tides_simple Orbital_change_Tides Orbital_change

Public Member Functions

 Tides_simple_notab (bool reg=true)
 
 ~Tides_simple_notab ()
 
Tides_simple_notabinstance () override
 
std::string name () override
 
void init (_UNUSED Binstar *binstar) override
 
double DA (_UNUSED Binstar *binstar, _UNUSED int procID) override
 
double DE (_UNUSED Binstar *binstar, _UNUSED int procID) override
 
double DAngMomSpin (_UNUSED Binstar *b, _UNUSED int procID, _UNUSED int starID) override
 
virtual double DM (_UNUSED Binstar *b, _UNUSED int procID, _UNUSED int starID)
 
virtual bool is_process_ongoing ()
 Other function that return useful information. More...
 
virtual int speciale_evolve (_UNUSED Binstar *b)
 
virtual void set_options (_UNUSED IO *_io)
 

Static Public Member Functions

static Orbital_change_TidesInstance (const std::string &name)
 

Static Public Attributes

static Tides_simple_notab _Tides_simple_notab
 
static Tides_simple _Tides_simple
 

Protected Member Functions

double Mcnv (Star *star_wtides) const override
 
double Dcnv (Star *star_wtides) const override
 
double get_tconv (Star *star_wtides, Binstar *b) override
 Here we use tconv_rasio96. More...
 
virtual double get_tconv (_UNUSED Star *star_wtides, _UNUSED Binstar *b)
 Override this in derived class. More...
 
void Register (Orbital_change_Tides *ptr, const std::string &_name)
 
double compute_kt_zahn_conv (double Mass, double Menv_cnv, double t_cnv, double tide_freq)
 
virtual double compute_kt_zahn_conv (Star *star_wtides, Binstar *binstar)
 
double compute_kt_zahn_rad (Star *star_wtides, Star *star_pert, Binstar *binstar)
 
double compute_tconv_rasio96 (Star *star_wtides, Binstar *b)
 
double compute_tconv_pwheel18 (Star *star_wtides, Binstar *b)
 
double dadt_hut (Star *star_wtides, Star *star_pert, Binstar *binstar, double kt, double spin)
 
double dedt_hut (Star *star_wtides, Star *star_pert, Binstar *binstar, double kt, double spin)
 
double dspindt_hut (Star *star_wtides, Star *star_pert, Binstar *binstar, double kt, double spin)
 

Static Protected Member Functions

static double f1 (double e2)
 
static double f2 (double e2)
 
static double f3 (double e2)
 
static double f4 (double e2)
 
static double f5 (double e2)
 
static double pseudosync_spin (double e2, double omegaorb)
 

Protected Attributes

double kt [2]
 
double syncspin
 
double _DA =0.
 
double _DE =0.
 
double _DLspin [2] ={0.,0.}
 
SevnLogging svlog
 

Static Private Member Functions

static std::map< std::string, Orbital_change_Tides * > & GetStaticMap ()
 
static std::vector< int > & GetUsed ()
 

Constructor & Destructor Documentation

◆ Tides_simple_notab()

Tides_simple_notab::Tides_simple_notab ( bool  reg = true)
inline

◆ ~Tides_simple_notab()

Tides_simple_notab::~Tides_simple_notab ( )
inline

Member Function Documentation

◆ compute_kt_zahn_conv() [1/2]

double Orbital_change_Tides::compute_kt_zahn_conv ( double  Mass,
double  Menv_cnv,
double  t_cnv,
double  tide_freq 
)
protectedinherited

Compute kt in convective envelopes

Parameters
MassTotal mass of the star [Msun]
Menv_cnvmass of the convective envelope [Msun]
t_cnvConvective turnover time [yr]
tide_freqSpin frequency [yr^-1]
Returns
Return the kt in yr^-1

◆ compute_kt_zahn_conv() [2/2]

virtual double Orbital_change_Tides::compute_kt_zahn_conv ( Star star_wtides,
Binstar binstar 
)
protectedvirtualinherited

Computes kt in convective envelopes in star_wtides Output is in yr^-1

◆ compute_kt_zahn_rad()

double Orbital_change_Tides::compute_kt_zahn_rad ( Star star_wtides,
Star star_pert,
Binstar binstar 
)
protectedinherited

Computes kt in radiative envelopes in star_wtides induced by star_pert Output is in yr^-1

◆ compute_tconv_pwheel18()

double Orbital_change_Tides::compute_tconv_pwheel18 ( Star star_wtides,
Binstar b 
)
protectedinherited

Should be mass of convective envelope

< In years

◆ compute_tconv_rasio96()

double Orbital_change_Tides::compute_tconv_rasio96 ( Star star_wtides,
Binstar b 
)
protectedinherited

Should be depth of convective envelope

Should be mass of convective envelope

Modification from Hurley+ 2002 Eq 31

< l_t from LSun is converted to MSun RSun^2 yr^-3

◆ DA()

double Tides_simple::DA ( _UNUSED Binstar binstar,
_UNUSED int  procID 
)
overridevirtualinherited

Reimplemented from Orbital_change.

◆ dadt_hut()

double Orbital_change_Tides::dadt_hut ( Star star_wtides,
Star star_pert,
Binstar binstar,
double  kt,
double  spin 
)
protectedinherited

Returns da/dt from the tides induced from star_pert on star_wtides Eq 9 Hut 81

◆ DAngMomSpin()

double Tides_simple::DAngMomSpin ( _UNUSED Binstar b,
_UNUSED int  procID,
_UNUSED int  starID 
)
overridevirtualinherited

Reimplemented from Orbital_change.

◆ Dcnv()

double Tides_simple_notab::Dcnv ( Star star_wtides) const
overrideprotectedvirtual

Depth of the convective envelope in Rsun, the depth is calculated from the surface torward the inner parts

Parameters
star_wtidesPointer to the star

Reimplemented from Orbital_change_Tides.

◆ DE()

double Tides_simple::DE ( _UNUSED Binstar binstar,
_UNUSED int  procID 
)
overridevirtualinherited

Reimplemented from Orbital_change.

◆ dedt_hut()

double Orbital_change_Tides::dedt_hut ( Star star_wtides,
Star star_pert,
Binstar binstar,
double  kt,
double  spin 
)
protectedinherited

Returns de/dt from the tides induced from star_wtides on star_pert Eq 10 Hut 81

◆ DM()

virtual double Orbital_change::DM ( _UNUSED Binstar b,
_UNUSED int  procID,
_UNUSED int  starID 
)
inlinevirtualinherited

Reimplemented in Orbital_change_RL.

◆ dspindt_hut()

double Orbital_change_Tides::dspindt_hut ( Star star_wtides,
Star star_pert,
Binstar binstar,
double  kt,
double  spin 
)
protectedinherited

Returns dspin/dt from the tides induced from star_wtides on star_pert Eq 11 Hut 81

◆ f1()

static double Orbital_change_Tides::f1 ( double  e2)
inlinestaticprotectedinherited

◆ f2()

static double Orbital_change_Tides::f2 ( double  e2)
inlinestaticprotectedinherited

◆ f3()

static double Orbital_change_Tides::f3 ( double  e2)
inlinestaticprotectedinherited

◆ f4()

static double Orbital_change_Tides::f4 ( double  e2)
inlinestaticprotectedinherited

◆ f5()

static double Orbital_change_Tides::f5 ( double  e2)
inlinestaticprotectedinherited

◆ get_tconv() [1/2]

virtual double Orbital_change_Tides::get_tconv ( _UNUSED Star star_wtides,
_UNUSED Binstar b 
)
inlineprotectedvirtualinherited

Override this in derived class.

◆ get_tconv() [2/2]

double Tides_simple::get_tconv ( Star star_wtides,
Binstar b 
)
inlineoverrideprotectedinherited

Here we use tconv_rasio96.

◆ GetStaticMap()

static std::map< std::string, Orbital_change_Tides * > & Orbital_change_Tides::GetStaticMap ( )
inlinestaticprivateinherited

◆ GetUsed()

static std::vector< int > & Orbital_change_Tides::GetUsed ( )
inlinestaticprivateinherited

◆ init()

void Tides_simple::init ( _UNUSED Binstar b)
overridevirtualinherited

Function that set all the variable needed in the estimate of DA, DE, DM

Parameters
b

Here we ignore the effect of spin

Here we check if there are tides and, in case, Compute kt for each star

Reimplemented from Orbital_change.

◆ instance()

Tides_simple_notab * Tides_simple_notab::instance ( )
inlineoverridevirtual

Reimplemented from Tides_simple.

◆ Instance()

Orbital_change_Tides * Orbital_change_Tides::Instance ( const std::string &  name)
staticinherited

◆ is_process_ongoing()

virtual bool Orbital_change::is_process_ongoing ( )
inlinevirtualinherited

Other function that return useful information.

Check if the process is really ongoing, i.e. it is really changing properties.

Returns

Reimplemented in disabled_tides, disabled_gw, Orbital_change_RL, disabled_rl, disabled_mix, and disabled_SNKicks.

◆ Mcnv()

double Tides_simple_notab::Mcnv ( Star star_wtides) const
overrideprotectedvirtual

Mass of the convective envelope in Msun

Parameters
star_wtidesPointer to the star

Reimplemented from Orbital_change_Tides.

◆ name()

std::string Tides_simple_notab::name ( )
inlineoverridevirtual

Reimplemented from Tides_simple.

◆ pseudosync_spin()

static double Orbital_change_Tides::pseudosync_spin ( double  e2,
double  omegaorb 
)
inlinestaticprotectedinherited

◆ Register()

void Orbital_change_Tides::Register ( Orbital_change_Tides ptr,
const std::string &  _name 
)
inlineprotectedinherited

◆ set_options()

virtual void Orbital_change::set_options ( _UNUSED IO _io)
inlinevirtualinherited

◆ speciale_evolve()

virtual int Orbital_change::speciale_evolve ( _UNUSED Binstar b)
inlinevirtualinherited

Function to be called (if needed) in the special_evolve function of Processes. Each Process can have its particular special evolve. See the proper documentation.

Parameters
bPointer to the binary.
Returns

Reimplemented in Orbital_change_RL.

Member Data Documentation

◆ _DA

double Tides_simple::_DA =0.
protectedinherited

◆ _DE

double Tides_simple::_DE =0.
protectedinherited

◆ _DLspin

double Tides_simple::_DLspin[2] ={0.,0.}
protectedinherited

◆ _Tides_simple

Tides_simple Tides_simple::_Tides_simple
staticinherited

◆ _Tides_simple_notab

Tides_simple_notab Tides_simple_notab::_Tides_simple_notab
static

◆ kt

double Tides_simple::kt[2]
protectedinherited

◆ svlog

SevnLogging Orbital_change::svlog
protectedinherited

◆ syncspin

double Tides_simple::syncspin
protectedinherited

The documentation for this class was generated from the following files: