NEST main@caf0ae8
 
Loading...
Searching...
No Matches
nest::Device::Parameters_ Struct Reference

Independent parameters of the model. More...

Collaboration diagram for nest::Device::Parameters_:
[legend]

Public Member Functions

 Parameters_ ()
 Sets default parameter values.
 
 Parameters_ (const Parameters_ &)
 Copy and recalibrate parameter set.
 
Parameters_ & operator= (const Parameters_ &)
 
void get (Dictionary &) const
 Store current values in dictionary.
 
void set (const Dictionary &)
 Set values from dictionary.
 

Public Attributes

Time origin_
 Origin of device time axis, relative to network time. Defaults to 0.
 
Time start_
 Stop time, relative to origin. Defaults to "infinity".
 
Time stop_
 

Static Private Member Functions

static void update_ (const Dictionary &, const std::string &, Time &)
 Update given Time parameter including error checking.
 

Detailed Description

Independent parameters of the model.

Constructor & Destructor Documentation

◆ Parameters_() [1/2]

nest::Device::Parameters_::Parameters_ ( )

Sets default parameter values.

◆ Parameters_() [2/2]

nest::Device::Parameters_::Parameters_ ( const Parameters_ &  p)

Copy and recalibrate parameter set.

References nest::Time::calibrate(), origin_, start_, and stop_.

Here is the call graph for this function:

Member Function Documentation

◆ get()

void nest::Device::Parameters_::get ( Dictionary &  d) const

Store current values in dictionary.

References nest::names::origin(), and nest::names::start().

Referenced by nest::Device::get_status().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

Device::Parameters_ & nest::Device::Parameters_::operator= ( const Parameters_ &  p)

◆ set()

void nest::Device::Parameters_::set ( const Dictionary &  d)

Set values from dictionary.

References nest::names::origin(), nest::names::start(), and nest::names::stop().

Referenced by nest::Device::set_status().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_()

void nest::Device::Parameters_::update_ ( const Dictionary &  d,
const std::string &  name,
Time &  value 
)
staticprivate

Update given Time parameter including error checking.

References nest::Time::is_finite(), and nest::Time::is_grid_time().

Here is the call graph for this function:

Member Data Documentation

◆ origin_

Time nest::Device::Parameters_::origin_

Origin of device time axis, relative to network time. Defaults to 0.

Start time, relative to origin. Defaults to 0.

Referenced by nest::Device::get_origin(), Parameters_(), and nest::Device::pre_run_hook().

◆ start_

Time nest::Device::Parameters_::start_

Stop time, relative to origin. Defaults to "infinity".

Referenced by nest::Device::get_start(), Parameters_(), and nest::Device::pre_run_hook().

◆ stop_

Time nest::Device::Parameters_::stop_

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