![]() |
SEVN
|
#include <property.h>
Public Types | |
| typedef std::map< std::string, size_t > | _PrintMap |
Public Member Functions | |
| virtual size_t | TabID () const =0 |
| virtual size_t | TabID () |
| void | set_refpointers (_UNUSED Star *s) override |
| bool | are_table_loaded () const override |
| void | set_w (_UNUSED Star *s) override |
| virtual Property * | Instance ()=0 |
| virtual std::string | name () const |
| virtual bool | amiderived () |
| virtual void | resynch (_UNUSED const double &dt, _UNUSED bool set0=true) |
| virtual void | resynch (_UNUSED Star *s) |
| virtual void | set_empty (_UNUSED Star *s) |
| virtual void | set_empty_in_bse (_UNUSED Star *s, _UNUSED Binstar *b) |
| virtual void | evolve_empty (_UNUSED Star *s) |
| virtual void | set_remnant (_UNUSED Star *s) |
| virtual void | set_remnant_in_bse (_UNUSED Star *s, _UNUSED Binstar *b) |
| virtual void | evolve_remnant (_UNUSED Star *s) |
| virtual void | evolve_nakedco (_UNUSED Star *s) |
| virtual void | evolve (_UNUSED Star *s) |
| virtual void | special_evolve (_UNUSED Star *s) |
| virtual void | evolve_fake (Star *s) |
| virtual void | init (_UNUSED const double &a) |
| virtual void | evolve_real () |
| virtual void | update_from_binary (_UNUSED Star *s, const double &DV, _UNUSED Binstar *b=nullptr) |
| virtual void | update_derived (_UNUSED Star *s) |
| virtual void | update_variation () |
| virtual void | correct_interpolation_errors (_UNUSED Star *s) |
| virtual void | correct_interpolation_errors_real (_UNUSED Star *s) |
| virtual void | restore () |
| virtual void | synch () |
| virtual void | reset () |
| virtual void | changed_track (_UNUSED Star *s, _UNUSED Star *s_jtrack) |
| virtual double | get_fk (_UNUSED const Star *s=nullptr) |
| virtual double | get_0_fk (_UNUSED const Star *s=nullptr) |
| virtual double | get (_UNUSED const Star *s=nullptr) |
| virtual double | get_0 (_UNUSED const Star *s=nullptr) |
| double | get_fk_raw (_UNUSED const Star *s=NULL) const |
| double | get_0_fk_raw (_UNUSED const Star *s=NULL) const |
| double | get_raw (_UNUSED const Star *s=NULL) const |
| double | get_0_raw (_UNUSED const Star *s=NULL) const |
| virtual double | get_Vlast (_UNUSED const Star *s) const |
| double * | get_wm () |
| double * | get_wz () |
Static Public Member Functions | |
| static size_t | size () |
Public Attributes | |
| double * | val_ref [4] |
| double * | val_in [4] |
Static Public Attributes | |
| static _PrintMap | PrintMap |
| static vector< Property * > | all |
Protected Member Functions | |
| virtual void | set_wZ (_UNUSED Star *s) |
| virtual void | set_wM (_UNUSED Star *s) |
| void | set_wM_linear (_UNUSED Star *s) |
| void | set_wM_rational (_UNUSED Star *s) |
| void | set_wM_log (_UNUSED Star *s) |
| void | set_fk (const double &a) |
| void | set_0_fk (const double &a) |
| virtual void | set (const double &a) |
| virtual void | set_0 (const double &a) |
| void | set_VBIN (const size_t &id, const double &a) |
| virtual void | safety_check () |
| void | Register (Property *_p, size_t *id, const std::string &_name) |
Protected Attributes | |
| bool | table_loaded =false |
| double | value |
| double | value0 |
| double | Dvalue |
| double | V |
| double | V0 |
| vector< double > | VBIN |
| double | interpolating_values [4] |
| double | wM [4] |
| double | wZ [2] |
| SevnLogging | svlog |
Static Protected Attributes | |
| static size_t | _size = 0 |
Private Member Functions | |
| std::string | units () override |
| void | copy_V_from (Property *p) override |
Base class for properties concerning the Radii
|
inherited |
|
inlinevirtualinherited |
Check if this is a derived. A property is defined dervied if it is estimated by the combination of other properties and it is not the derivative of a property.
Reimplemented in Derived_Property, and OptionalTableProperty.
|
inlineoverridevirtualinherited |
Reimplemented from Property.
|
inlinevirtualinherited |
Handle the modification of the property after a track change. It does nothing by default.
| s | The star for which we are changing the tracks. |
| s_jtrack | The star that we are using to get info of the new tracks. |
Reimplemented in Localtime, Timestep, Radius, Mass, MHE, MCO, Phase, Luminosity, Inertia, RHE, RCO, Hsup, HEsup, Csup, Nsup, Osup, Qconv, Tconv, Depthconv, dMcumul_binary, AngMomSpin, and Temperature.
|
inlineoverrideprivatevirtual |
Reimplemented in MHE, MCO, RHE, RCO, Localtime, Worldtime, Timestep, NextOutput, Radius, Phase, Bmag, OmegaRem, RemnantType, dMcumul_binary, dMcumul_RLO, dMcumulacc_wind, AngMomSpin, dMdt, dMHEdt, dMCOdt, dRdt, Temperature, Rs, OmegaSpin, Spin, Xspin, JIT_Property, and NSsalpha.
Reimplemented in Time_object, Timestep, Phase, RemnantType, and JIT_Property.
|
virtualinherited |
Set v0=v
Move to new value in the interpolating track
Find new values at times t for the interpolatring tracks using linear interpolation
Find the interpolating z value, M1*v1 + M2*v2
Find the final interpolated value, v=Z1*v1 + Z2*v2
Reimplemented in Radius.
Reimplemented in Derived_Property, Time_object, Timestep, NextOutput, Inertia, JIT_Property, Lambda, Ebind, Zams, and Zmet.
|
inlinevirtualinherited |
Reimplemented in Derived_Property, Time_object, Localtime, Worldtime, Timestep, NextOutput, Radius, Phase, Luminosity, Inertia, Bmag, OmegaRem, Xspin, JIT_Property, Lambda, Ebind, Zams, and Zmet.
Reimplemented in Radius, Luminosity, Inertia, and JIT_Property.
Reimplemented in Radius, Luminosity, Inertia, and JIT_Property.
Here Star is optional, because it is needed only by property that have to estimate V on the fly. Notice that const Star*s means that inside the function we can only call method that we are sure will not change the Star s.
Reimplemented in Radius, Luminosity, Inertia, and JIT_Property.
Get the value of the property expected at the end of the evolution (before becoming a remnant). It is based on the last values of the tables.
| s | Pointer to the star |
|
inlineinherited |
|
inlineinherited |
|
inlinevirtualinherited |
|
pure virtualinherited |
Implemented in Localtime, Worldtime, Timestep, NextOutput, Radius, Mass, MHE, MCO, Phase, Luminosity, Inertia, RHE, RCO, Hsup, HEsup, Csup, Nsup, Osup, Qconv, Tconv, Depthconv, Bmag, OmegaRem, RemnantType, dMcumul_binary, dMcumul_RLO, dMcumulacc_wind, AngMomSpin, dMdt, dMHEdt, dMCOdt, dRdt, Temperature, Rs, OmegaSpin, Spin, Xspin, Lambda, Ebind, PhaseBSE, Zams, Zmet, Event, dMRLOdt, dMaccwinddt, NSsalpha, and Plife.
|
inlinevirtualinherited |
Reimplemented in Localtime, Worldtime, Timestep, NextOutput, Radius, Mass, MHE, MCO, Phase, Luminosity, Inertia, RHE, RCO, Hsup, HEsup, Csup, Nsup, Osup, Qconv, Tconv, Depthconv, Bmag, OmegaRem, RemnantType, dMcumul_binary, dMcumul_RLO, dMcumulacc_wind, AngMomSpin, dMdt, dMHEdt, dMCOdt, dRdt, Temperature, Rs, OmegaSpin, Spin, Xspin, JIT_Property, Lambda, Ebind, PhaseBSE, Zams, Zmet, Event, dMRLOdt, dMaccwinddt, NSsalpha, and Plife.
|
inlineprotectedinherited |
|
inlinevirtualinherited |
Reset to 0
|
inlinevirtualinherited |
Reimplemented in NextOutput, and JIT_Property.
|
inlinevirtualinherited |
|
inlineprotectedvirtualinherited |
|
inlineprotectedvirtualinherited |
Reimplemented in Radius, and JIT_Property.
|
inlineprotectedvirtualinherited |
Reimplemented in Radius.
|
inlineprotectedinherited |
Reimplemented in Time_object, Timestep, Phase, RemnantType, and JIT_Property.
|
inlineprotectedinherited |
Table properties
Reimplemented from Property.
Reimplemented in OptionalTableProperty, Inertia, RHE, RCO, SurfaceAbundanceTable, and ConvectiveTable.
Reimplemented in Derived_Property, Localtime, Worldtime, Timestep, NextOutput, Radius, Phase, Luminosity, Inertia, Bmag, OmegaRem, RemnantType, Xspin, JIT_Property, Lambda, Ebind, Zams, Zmet, NSsalpha, and Plife.
|
inlineprotectedinherited |
Simple linear interpolation in Mass.
| s |
Linear interpolation with an additional weighting correction
| s |
|
inlinestaticinherited |
|
inlinevirtualinherited |
Reimplemented in Localtime, Worldtime, Timestep, Phase, OptionalTableProperty, RemnantType, Derived_Property, Spin, and JIT_Property.
|
inlinevirtualinherited |
|
pure virtualinherited |
|
inlineoverrideprivatevirtual |
Reimplemented from Property.
This function can be called to update the value of V in derived proprties (without setting V0) It is empty for all the others. This is needed since after a binary evolution, the derived properties have to be updated without setting V0 (same as update_from_binary).
Reimplemented in JIT_Property.
|
inlinevirtualinherited |
Reimplemented in dMcumul_RLO, and Radius.
|
inlinevirtualinherited |
|
staticprotectedinherited |
Instruction for adding new property PROP 1- Add the size_t PROP::ID 2- Initialise the static (fake) instance PROP PROP::_prop. NB: take care of the order of initilisation. The properies will be evolved exactly in the same order in which they are initialised here Define: @size: total number of instances of Property and derived classes (both fake and real). @all: vector containing all the (pointers) to the Property. @PrintMap: map containing the pair (Property_name, Property_id) for output purpose. Note all and PrintMap are filled during the instantiation of the fake Processes (see below)
|
staticinherited |
|
protectedinherited |
|
protectedinherited |
|
staticinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
inherited |
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |