![]() |
SEVN
|
#include <BinaryProperty.h>
Public Types | |
| typedef std::map< std::string, size_t > | _PrintMap |
Public Member Functions | |
| std::string | name () override |
| int | evolve (_UNUSED Binstar *binstar) override |
| double | get (_UNUSED const Binstar *b=nullptr) override |
| void | restore () override |
| virtual BinaryProperty * | Instance () |
| virtual std::string | units () |
| virtual int | getID () const |
| virtual void | resynch (_UNUSED const double &dt, _UNUSED bool set0=true) |
| virtual void | check_boundaries (_UNUSED double *val, _UNUSED Binstar *binstar) |
| virtual int | special_evolve (_UNUSED Binstar *binstar) |
| double | get_variation (Binstar *binstar) const |
| virtual int | set_broken (_UNUSED Binstar *binstar) |
| double | get_0 (_UNUSED const Binstar *b=nullptr) |
Static Public Attributes | |
| static std::vector< BinaryProperty * > | all |
| static _PrintMap | PrintMap |
Protected Member Functions | |
| virtual void | specialised_set (_UNUSED const Binstar *b=nullptr) |
| bool | new_estimate_needed () |
| void | set (const double &a) override |
| void | Register (BinaryProperty *_p, size_t *id, const std::string &_name) |
| bool | isbad (const double &val) |
| virtual void | set_0 (const double &a) |
Protected Attributes | |
| std::uniform_real_distribution< double > | _uniform_real |
| SevnLogging | svlog |
| double | V |
| double | V0 |
Private Member Functions | |
| void | init_derived (_UNUSED Binstar *binstar) override |
| void | init (_UNUSED const double par) override |
| virtual bool | amiderived () |
Private Attributes | |
| unsigned int | last_evolve_number =0 |
| unsigned int | evolve_number =0 |
Static Private Attributes | |
| static size_t | size = 0 |
Derived class for properties that are derived from other properties JIT means Just in Time, these are properties that do not need to be evolved at each time step, but just to be computed when needed.
|
inherited |
|
inlineprivatevirtualinherited |
|
inlinevirtualinherited |
Reimplemented from BinaryProperty.
Reimplemented from BinaryProperty.
|
inherited |
Get the variation expected for a given property just summing all the DVs due to all processes. This is equivalent to evolve, but without checks and without changing V0 and V
| binstar | Pointer to the binary from wich to take the processes variations |
|
inlinevirtualinherited |
|
inlineoverrideprivatevirtualinherited |
Reimplemented from BinaryProperty.
|
inlineoverrideprivatevirtualinherited |
Reimplemented from BinaryProperty.
|
inlinevirtualinherited |
|
inlineprotectedinherited |
|
inlineoverridevirtual |
Reimplemented from BinaryProperty.
|
inlineprotected |
|
inlineprotectedinherited |
|
inlineoverridevirtual |
Reimplemented from BinaryProperty.
|
inlinevirtualinherited |
|
inlineoverrideprotectedvirtual |
Reimplemented from BinaryProperty.
|
inlineprotectedvirtualinherited |
Reimplemented in BWorldtime, and BTimestep.
Reimplemented in BWorldtime, BTimestep, and BEvent.
|
inlineprotectedvirtual |
|
inlinevirtualinherited |
|
protectedinherited |
|
staticinherited |
|
private |
|
private |
|
staticinherited |
|
staticprivateinherited |
Instruction for adding new property BPROP 1- Add the size_t BPROP::ID 2- Initialise the static (fake) instance BPROP BPROP::_bprop. NB: take care of the order of initilisation. The properties will be evolved exactly in the same order in which they are initialised here Define: @size: total number of instances of BinaryProperty and derived classes (both fake and real). @all: vector containing all the (pointers) to the BinaryProperty. @PrintMap: map containing the pair (BinaryProperty_name, BinaryProperty_id) for output purpose. Note all and PrintMap are filled during the instantiation of the fake Processes (see below)
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |