NEST main@caf0ae8
 
Loading...
Searching...
No Matches
nest::Time Class Reference

#include <nest_time.h>

Collaboration diagram for nest::Time:
[legend]

Classes

struct  Limit
 
struct  LimitNegInf
 
struct  LimitPosInf
 
struct  ms
 
struct  ms_stamp
 
struct  Range
 
struct  step
 
struct  tic
 

Public Member Functions

 Time ()
 
 Time (tic t)
 
 Time (step t)
 
 Time (ms t)
 
 Time (ms_stamp t)
 
void set_to_zero ()
 
void advance ()
 
Time succ () const
 
Time pred () const
 
bool is_finite () const
 
bool is_neg_inf () const
 
bool is_pos_inf () const
 
bool is_grid_time () const
 
bool is_step () const
 
bool is_multiple_of (const Time &divisor) const
 
void range ()
 
void calibrate ()
 
Time & operator+= (const Time &t)
 
tic_t get_tics () const
 
double get_ms () const
 
long get_steps () const
 

Static Public Member Functions

static tic_t compute_max ()
 
static tic_t fromstamp (ms_stamp)
 
static void set_resolution (double tics_per_ms)
 
static void set_resolution (double tics_per_ms, double ms_per_step)
 
static void reset_resolution ()
 
static void reset_to_defaults ()
 
static Time get_resolution ()
 
static bool resolution_is_default ()
 
static Time max ()
 
static Time min ()
 
static double get_ms_per_tic ()
 
static Time neg_inf ()
 
static Time pos_inf ()
 
static tic_t get_tics_per_step ()
 
static double get_tics_per_ms ()
 
static double delay_steps_to_ms (long steps)
 Convert between delays given in steps and milliseconds.
 
static long delay_ms_to_steps (double ms)
 

Protected Member Functions

Time::Limit limit (const tic_t &)
 
 Time (tic_t tics)
 

Protected Attributes

tic_t tics
 

Static Protected Attributes

static Limit LIM_MAX
 
static Limit LIM_MIN
 
static struct nest::Time::LimitPosInf LIM_POS_INF
 
static struct nest::Time::LimitNegInf LIM_NEG_INF
 

Friends

class TimeConverter
 
struct step
 
struct tic
 
struct ms
 
struct ms_stamp
 
bool operator== (const Time &t1, const Time &t2)
 
bool operator!= (const Time &t1, const Time &t2)
 
bool operator< (const Time &t1, const Time &t2)
 
bool operator> (const Time &t1, const Time &t2)
 
bool operator<= (const Time &t1, const Time &t2)
 
bool operator>= (const Time &t1, const Time &t2)
 
Time operator+ (const Time &t1, const Time &t2)
 
Time operator- (const Time &t1, const Time &t2)
 
Time operator* (const long factor, const Time &t)
 
Time operator* (const Time &t, long factor)
 
std::ostream & operator<<) (std::ostream &, const Time &)
 

Constructor & Destructor Documentation

◆ Time() [1/6]

nest::Time::Time ( tic_t  tics)
inlineprotected

◆ Time() [2/6]

nest::Time::Time ( )
inline

Referenced by get_resolution(), max(), min(), neg_inf(), and pos_inf().

Here is the caller graph for this function:

◆ Time() [3/6]

nest::Time::Time ( tic  t)
inline

◆ Time() [4/6]

nest::Time::Time ( step  t)
inline

◆ Time() [5/6]

nest::Time::Time ( ms  t)
inline

◆ Time() [6/6]

nest::Time::Time ( ms_stamp  t)
inline

Member Function Documentation

◆ advance()

void nest::Time::advance ( )
inline

References range(), tics, and nest::Time::Range::TICS_PER_STEP.

Here is the call graph for this function:

◆ calibrate()

void nest::Time::calibrate ( )
inline

References range().

Referenced by nest::DelayChecker::DelayChecker(), nest::SimulationManager::initialize(), nest::correlation_detector::Parameters_::Parameters_(), nest::correlomatrix_detector::Parameters_::Parameters_(), nest::correlospinmatrix_detector::Parameters_::Parameters_(), nest::multimeter::Parameters_::Parameters_(), nest::noise_generator::Parameters_::Parameters_(), nest::Device::Parameters_::Parameters_(), and nest::SimulationManager::set_status().

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

◆ compute_max()

tic_t Time::compute_max ( )
static

References nest::Time::Range::INF_MARGIN, tics, nest::Time::Range::TICS_PER_STEP, and nest::Time::Range::TICS_PER_STEP_INV.

Referenced by reset_resolution(), and set_resolution().

Here is the caller graph for this function:

◆ delay_ms_to_steps()

static long nest::Time::delay_ms_to_steps ( double  ms)
inlinestatic

References ld_round(), and nest::Time::Range::STEPS_PER_MS.

Referenced by nest::DelayChecker::assert_valid_delay_ms(), nest::ClopathArchivingNode::init_clopath_buffers(), nest::SynIdDelay::set_delay_ms(), and nest::cont_delay_synapse< targetidentifierT >::set_status().

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

◆ delay_steps_to_ms()

static double nest::Time::delay_steps_to_ms ( long  steps)
inlinestatic

Convert between delays given in steps and milliseconds.

This is not a reversible operation, since steps have a finite rounding resolution. This is not a truncation, but rounding as per ld_round, which is different from ms_stamp --> Time mapping, which rounds up. See #903.

References nest::Time::Range::MS_PER_STEP.

Referenced by nest::DelayChecker::assert_two_valid_delays_steps(), nest::DelayChecker::assert_valid_delay_ms(), nest::SynIdDelay::get_delay_ms(), nest::ArchivingNode::set_spiketime(), and nest::GenericConnectorModel< ConnectionT >::used_default_delay().

Here is the caller graph for this function:

◆ fromstamp()

◆ get_ms()

double nest::Time::get_ms ( ) const
inline

References is_neg_inf(), is_pos_inf(), LIM_NEG_INF_ms, LIM_POS_INF_ms, nest::Time::Range::MS_PER_TIC, and tics.

Referenced by nest::DelayChecker::calibrate(), nest::correlation_detector::calibrate_time(), nest::correlomatrix_detector::calibrate_time(), nest::correlospinmatrix_detector::calibrate_time(), nest::noise_generator::calibrate_time(), nest::SimulationManager::call_update_(), nest::RecordingBackendSIONlib::close_files_(), nest::EpropArchivingNodeRecurrent< false >::erase_used_firing_rate_reg_history(), nest::poisson_generator_ps::event_hook(), nest::Na::f_numstep(), nest::K::f_numstep(), nest::iaf_psc_exp_ps_lossless::State_::get(), nest::EpropArchivingNode< HistEntryT >::get_eprop_history_duration(), nest::ConnectionManager::get_status(), nest::SimulationManager::get_status(), nest::cont_delay_synapse< targetidentifierT >::get_status(), nest::DelayChecker::get_status(), nest::RecordingBackendSIONlib::open_files_(), operator<<(), nest::AMPA::pre_run_hook(), nest::GABA::pre_run_hook(), nest::NMDA::pre_run_hook(), nest::AMPA_NMDA::pre_run_hook(), nest::Compartment::pre_run_hook(), nest::ac_generator::pre_run_hook(), nest::amat2_psc_exp::pre_run_hook(), nest::eprop_iaf::pre_run_hook(), nest::eprop_iaf_adapt::pre_run_hook(), nest::eprop_iaf_adapt_bsshslm_2020::pre_run_hook(), nest::eprop_iaf_bsshslm_2020::pre_run_hook(), nest::eprop_iaf_psc_delta::pre_run_hook(), nest::eprop_iaf_psc_delta_adapt::pre_run_hook(), nest::eprop_readout::pre_run_hook(), nest::eprop_readout_bsshslm_2020::pre_run_hook(), nest::gamma_sup_generator::pre_run_hook(), nest::gif_psc_exp::pre_run_hook(), nest::gif_psc_exp_multisynapse::pre_run_hook(), nest::glif_psc::pre_run_hook(), nest::glif_psc_double_alpha::pre_run_hook(), nest::iaf_chs_2007::pre_run_hook(), nest::iaf_psc_alpha::pre_run_hook(), nest::iaf_psc_alpha_multisynapse::pre_run_hook(), nest::iaf_psc_alpha_ps::pre_run_hook(), nest::iaf_psc_delta::pre_run_hook(), nest::iaf_psc_delta_ps::pre_run_hook(), nest::iaf_psc_exp::pre_run_hook(), nest::iaf_psc_exp_htum::pre_run_hook(), nest::iaf_psc_exp_multisynapse::pre_run_hook(), nest::iaf_psc_exp_ps::pre_run_hook(), nest::iaf_psc_exp_ps_lossless::pre_run_hook(), nest::iaf_tum_2000::pre_run_hook(), nest::inhomogeneous_poisson_generator::pre_run_hook(), nest::mat2_psc_exp::pre_run_hook(), nest::noise_generator::pre_run_hook(), nest::pp_psc_delta::pre_run_hook(), nest::ppd_sup_generator::pre_run_hook(), nest::rate_neuron_ipn< TNonlinearities >::pre_run_hook(), nest::rate_neuron_opn< TNonlinearities >::pre_run_hook(), nest::sinusoidal_poisson_generator::pre_run_hook(), nest::SimulationManager::prepare(), nest::SimulationManager::print_progress_(), nest::RecordingBackendMemory::DeviceData::push_back(), nest::stdp_facetshw_synapse_hom< targetidentifierT >::send(), nest::izhikevich::Parameters_::set(), nest::DelayChecker::set_min_max_delay_(), nest::ArchivingNode::set_spiketime(), nest::StructuralPlasticityNode::set_spiketime(), nest::SimulationManager::set_status(), nest::cont_delay_synapse< targetidentifierT >::set_status(), nest::FlushEventMechanism::set_status(), nest::iaf_psc_exp::update(), nest::iaf_tum_2000::update(), nest::volume_transmitter::update(), nest::GrowthCurveGaussian::update(), nest::GrowthCurveSigmoid::update(), nest::eprop_iaf_psc_delta::update(), nest::eprop_iaf_psc_delta_adapt::update(), nest::gif_psc_exp::update(), nest::gif_psc_exp_multisynapse::update(), nest::iaf_psc_delta::update(), nest::izhikevich::update(), nest::ppd_sup_generator::update(), nest::SimulationManager::update_(), nest::RecordingBackendMPI::write(), nest::ClopathArchivingNode::write_clopath_history(), nest::ClopathArchivingNode::write_LTP_history(), and nest::UrbanczikArchivingNode< urbanczik_parameters >::write_urbanczik_history().

Here is the call graph for this function:

◆ get_ms_per_tic()

static double nest::Time::get_ms_per_tic ( )
inlinestatic

References nest::Time::Range::MS_PER_TIC.

Referenced by nest::SimulationManager::get_status(), and nest::SimulationManager::set_status().

Here is the caller graph for this function:

◆ get_resolution()

static Time nest::Time::get_resolution ( )
inlinestatic

References nest::Time::Range::TICS_PER_STEP, and Time().

Referenced by nest::DelayChecker::assert_two_valid_delays_steps(), nest::DelayChecker::assert_valid_delay_ms(), nest::SimulationManager::assert_valid_simtime(), nest::SimulationManager::call_update_(), nest::RecordingBackendSIONlib::close_files_(), nest::EpropArchivingNodeRecurrent< false >::erase_used_firing_rate_reg_history(), nest::Na::f_numstep(), nest::K::f_numstep(), nest::correlation_detector::Parameters_::get_default_delta_tau(), nest::correlomatrix_detector::Parameters_::get_default_delta_tau(), nest::correlospinmatrix_detector::Parameters_::get_default_delta_tau(), nest::noise_generator::Parameters_::get_default_dt(), nest::EpropArchivingNode< HistEntryT >::get_eprop_history_duration(), nest::ConnectionManager::get_max_delay_time_(), nest::SimulationManager::get_status(), nest::InvalidDefaultResolution::InvalidDefaultResolution(), nest::InvalidTimeInModel::InvalidTimeInModel(), nest::AMPA::pre_run_hook(), nest::GABA::pre_run_hook(), nest::NMDA::pre_run_hook(), nest::AMPA_NMDA::pre_run_hook(), nest::Compartment::pre_run_hook(), nest::ac_generator::pre_run_hook(), nest::amat2_psc_exp::pre_run_hook(), nest::eprop_iaf::pre_run_hook(), nest::eprop_iaf_adapt::pre_run_hook(), nest::eprop_iaf_adapt_bsshslm_2020::pre_run_hook(), nest::eprop_iaf_bsshslm_2020::pre_run_hook(), nest::eprop_iaf_psc_delta::pre_run_hook(), nest::eprop_iaf_psc_delta_adapt::pre_run_hook(), nest::eprop_readout::pre_run_hook(), nest::eprop_readout_bsshslm_2020::pre_run_hook(), nest::gamma_sup_generator::pre_run_hook(), nest::gif_psc_exp::pre_run_hook(), nest::gif_psc_exp_multisynapse::pre_run_hook(), nest::glif_psc::pre_run_hook(), nest::glif_psc_double_alpha::pre_run_hook(), nest::iaf_chs_2007::pre_run_hook(), nest::iaf_psc_alpha::pre_run_hook(), nest::iaf_psc_alpha_multisynapse::pre_run_hook(), nest::iaf_psc_alpha_ps::pre_run_hook(), nest::iaf_psc_delta::pre_run_hook(), nest::iaf_psc_delta_ps::pre_run_hook(), nest::iaf_psc_exp::pre_run_hook(), nest::iaf_psc_exp_htum::pre_run_hook(), nest::iaf_psc_exp_multisynapse::pre_run_hook(), nest::iaf_psc_exp_ps::pre_run_hook(), nest::iaf_psc_exp_ps_lossless::pre_run_hook(), nest::iaf_tum_2000::pre_run_hook(), nest::inhomogeneous_poisson_generator::pre_run_hook(), nest::mat2_psc_exp::pre_run_hook(), nest::mip_generator::pre_run_hook(), nest::noise_generator::pre_run_hook(), nest::poisson_generator::pre_run_hook(), nest::pp_psc_delta::pre_run_hook(), nest::ppd_sup_generator::pre_run_hook(), nest::rate_neuron_ipn< TNonlinearities >::pre_run_hook(), nest::rate_neuron_opn< TNonlinearities >::pre_run_hook(), nest::sinusoidal_poisson_generator::pre_run_hook(), nest::SimulationManager::prepare(), nest::SimulationManager::print_progress_(), nest::SimulationManager::run_duration(), nest::SimulationManager::run_end_time(), nest::SimulationManager::run_start_time(), nest::cont_delay_synapse< targetidentifierT >::send(), nest::multimeter::Parameters_::set(), nest::izhikevich::Parameters_::set(), nest::DelayChecker::set_min_max_delay_(), nest::SimulationManager::set_status(), nest::cont_delay_synapse< targetidentifierT >::set_status(), nest::eprop_synapse_bsshslm_2020< targetidentifierT >::set_status(), nest::ConnectionManager::set_stdp_eps(), nest::StepMultipleRequired::StepMultipleRequired(), nest::iaf_psc_exp::update(), nest::iaf_tum_2000::update(), nest::GrowthCurveGaussian::update(), nest::GrowthCurveSigmoid::update(), nest::eprop_iaf_psc_delta::update(), nest::eprop_iaf_psc_delta_adapt::update(), nest::gif_psc_exp::update(), nest::gif_psc_exp_multisynapse::update(), nest::iaf_psc_delta::update(), nest::izhikevich::update(), nest::SimulationManager::update_(), nest::ConnectionManager::update_delay_extrema_(), nest::ClopathArchivingNode::write_LTP_history(), and nest::UrbanczikArchivingNode< urbanczik_parameters >::write_urbanczik_history().

Here is the call graph for this function:

◆ get_steps()

long nest::Time::get_steps ( ) const
inline

References is_neg_inf(), is_pos_inf(), LIM_NEG_INF, LIM_POS_INF, nest::Time::LimitPosInf::steps, nest::Time::LimitNegInf::steps, tics, nest::Time::Range::TICS_PER_STEP_INV, and nest::Time::Range::TICS_PER_STEP_RND.

Referenced by nest::DelayChecker::assert_two_valid_delays_steps(), nest::DelayChecker::assert_valid_delay_ms(), nest::SPManager::builder_max_delay(), nest::SPManager::builder_min_delay(), nest::ignore_and_fire::calc_initial_variables_(), nest::Connection< targetidentifierT >::calibrate(), nest::eprop_iaf_adapt_bsshslm_2020::compute_gradient(), nest::eprop_iaf_bsshslm_2020::compute_gradient(), nest::eprop_readout_bsshslm_2020::compute_gradient(), nest::RecordingBackendSIONlib::enroll(), nest::EpropArchivingNode< HistEntryT >::erase_used_eprop_history(), nest::EpropArchivingNode< HistEntryT >::get_eprop_isi_trace_cutoff(), nest::Event::get_rel_delivery_steps(), nest::correlation_detector::handle(), nest::correlomatrix_detector::handle(), nest::correlospinmatrix_detector::handle(), nest::EventDeliveryManager::init_moduli(), nest::pp_psc_delta::init_state_(), nest::IgnoreAndSpikeMechanism::initialize_interval(), nest::IgnoreAndSpikeMechanism::initialize_offset(), nest::spike_train_injector::is_active(), nest::StimulationDevice::is_active(), nest::PseudoRecordingDevice::is_active(), nest::RecordingDevice::is_active(), operator<<(), nest::FlushEventMechanism::pre_run_hook(), nest::amat2_psc_exp::pre_run_hook(), nest::eprop_iaf::pre_run_hook(), nest::eprop_iaf_adapt::pre_run_hook(), nest::eprop_iaf_adapt_bsshslm_2020::pre_run_hook(), nest::eprop_iaf_bsshslm_2020::pre_run_hook(), nest::eprop_iaf_psc_delta::pre_run_hook(), nest::eprop_iaf_psc_delta_adapt::pre_run_hook(), nest::gif_psc_exp::pre_run_hook(), nest::gif_psc_exp_multisynapse::pre_run_hook(), nest::glif_psc::pre_run_hook(), nest::glif_psc_double_alpha::pre_run_hook(), nest::iaf_psc_alpha::pre_run_hook(), nest::iaf_psc_alpha_multisynapse::pre_run_hook(), nest::iaf_psc_alpha_ps::pre_run_hook(), nest::iaf_psc_delta::pre_run_hook(), nest::iaf_psc_delta_ps::pre_run_hook(), nest::iaf_psc_exp::pre_run_hook(), nest::iaf_psc_exp_htum::pre_run_hook(), nest::iaf_psc_exp_multisynapse::pre_run_hook(), nest::iaf_psc_exp_ps::pre_run_hook(), nest::iaf_psc_exp_ps_lossless::pre_run_hook(), nest::iaf_tum_2000::pre_run_hook(), nest::mat2_psc_exp::pre_run_hook(), nest::noise_generator::pre_run_hook(), nest::pp_psc_delta::pre_run_hook(), nest::RecordingBackendMemory::DeviceData::push_back(), nest::SimulationManager::run(), nest::eprop_synapse_bsshslm_2020< targetidentifierT >::send(), nest::DelayChecker::set_min_max_delay_(), nest::eprop_iaf_adapt_bsshslm_2020::update(), nest::eprop_iaf_bsshslm_2020::update(), nest::eprop_readout_bsshslm_2020::update(), nest::pp_psc_delta::update(), nest::pulsepacket_generator::update(), nest::spike_generator::update(), nest::spike_train_injector::update(), nest::SimulationManager::update_(), nest::SPBuilder::update_delay(), nest::ConnectionManager::update_delay_extrema_(), and nest::EventDeliveryManager::update_moduli().

Here is the call graph for this function:

◆ get_tics()

tic_t nest::Time::get_tics ( ) const
inline

◆ get_tics_per_ms()

static double nest::Time::get_tics_per_ms ( )
inlinestatic

References nest::Time::Range::TICS_PER_MS.

Referenced by nest::SimulationManager::get_status(), nest::SimulationManager::set_status(), and nest::TimeConverter::TimeConverter().

Here is the caller graph for this function:

◆ get_tics_per_step()

static tic_t nest::Time::get_tics_per_step ( )
inlinestatic

References nest::Time::Range::TICS_PER_STEP.

Referenced by nest::SimulationManager::get_status(), and nest::TimeConverter::TimeConverter().

Here is the caller graph for this function:

◆ is_finite()

bool nest::Time::is_finite ( ) const
inline

References LIM_NEG_INF, LIM_POS_INF, tics, nest::Time::LimitPosInf::tics, and nest::Time::LimitNegInf::tics.

Referenced by nest::SimulationManager::assert_valid_simtime(), nest::DataLoggingRequest::get_recording_interval(), nest::DataLoggingRequest::get_recording_offset(), nest::run(), and nest::Device::Parameters_::update_().

Here is the caller graph for this function:

◆ is_grid_time()

bool nest::Time::is_grid_time ( ) const
inline

◆ is_multiple_of()

bool nest::Time::is_multiple_of ( const Time &  divisor) const
inline

References tics.

◆ is_neg_inf()

bool nest::Time::is_neg_inf ( ) const
inline

References LIM_NEG_INF, tics, and nest::Time::LimitNegInf::tics.

Referenced by get_ms(), get_steps(), and operator<<().

Here is the caller graph for this function:

◆ is_pos_inf()

bool nest::Time::is_pos_inf ( ) const
inline

References LIM_POS_INF, tics, and nest::Time::LimitPosInf::tics.

Referenced by get_ms(), get_steps(), and operator<<().

Here is the caller graph for this function:

◆ is_step()

bool nest::Time::is_step ( ) const
inline

References is_grid_time(), and tics.

Referenced by nest::correlation_detector::calibrate_time(), nest::correlomatrix_detector::calibrate_time(), nest::correlospinmatrix_detector::calibrate_time(), nest::noise_generator::calibrate_time(), nest::correlation_detector::Parameters_::Parameters_(), nest::correlomatrix_detector::Parameters_::Parameters_(), nest::correlospinmatrix_detector::Parameters_::Parameters_(), and nest::noise_generator::Parameters_::Parameters_().

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

◆ limit()

Time::Limit nest::Time::limit ( const tic_t &  )
protected

◆ max()

static Time nest::Time::max ( )
inlinestatic

References LIM_MAX, nest::Time::Limit::tics, and Time().

Referenced by nest::SimulationManager::assert_valid_simtime(), nest::SimulationManager::get_status(), reset_resolution(), and set_resolution().

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

◆ min()

static Time nest::Time::min ( )
inlinestatic

References LIM_MIN, nest::Time::Limit::tics, and Time().

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

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

◆ neg_inf()

static Time nest::Time::neg_inf ( )
inlinestatic

References LIM_NEG_INF, nest::Time::LimitNegInf::tics, and Time().

Referenced by nest::SPManager::builder_max_delay(), nest::DelayChecker::calibrate(), nest::poisson_generator_ps::init_buffers_(), nest::poisson_generator_ps::pre_run_hook(), nest::correlospinmatrix_detector::State_::reset(), and nest::poisson_generator_ps::set_status().

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

◆ operator+=()

Time & nest::Time::operator+= ( const Time &  t)
inline

References range(), and tics.

Here is the call graph for this function:

◆ pos_inf()

static Time nest::Time::pos_inf ( )
inlinestatic

References LIM_POS_INF, nest::Time::LimitPosInf::tics, and Time().

Referenced by nest::SPManager::builder_min_delay(), nest::DelayChecker::calibrate(), nest::ConnectionManager::get_min_delay_time_(), and nest::ConnectionManager::update_delay_extrema_().

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

◆ pred()

Time nest::Time::pred ( ) const
inline

◆ range()

void nest::Time::range ( )
inline

References LIM_MAX, LIM_NEG_INF, LIM_POS_INF, tics, nest::Time::Limit::tics, nest::Time::LimitPosInf::tics, nest::Time::LimitNegInf::tics, and nest::time_abs().

Referenced by advance(), calibrate(), and operator+=().

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

◆ reset_resolution()

void Time::reset_resolution ( )
static

References compute_max(), LIM_MAX, LIM_MIN, max(), nest::Time::Range::TICS_PER_STEP, nest::Time::Range::TICS_PER_STEP_DEFAULT, nest::Time::Range::TICS_PER_STEP_INV, and nest::Time::Range::TICS_PER_STEP_RND.

Referenced by nest::SimulationManager::initialize().

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

◆ reset_to_defaults()

void Time::reset_to_defaults ( )
static

◆ resolution_is_default()

static bool nest::Time::resolution_is_default ( )
inlinestatic

◆ set_resolution() [1/2]

void Time::set_resolution ( double  tics_per_ms)
static

References compute_max(), dround(), LIM_MAX, LIM_MIN, max(), nest::Time::Range::MS_PER_STEP, nest::Time::Range::STEPS_PER_MS, nest::Time::Range::TICS_PER_MS, nest::Time::Range::TICS_PER_STEP, nest::Time::Range::TICS_PER_STEP_INV, and nest::Time::Range::TICS_PER_STEP_RND.

Referenced by set_resolution(), and nest::SimulationManager::set_status().

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

◆ set_resolution() [2/2]

void Time::set_resolution ( double  tics_per_ms,
double  ms_per_step 
)
static

References nest::Time::Range::MS_PER_TIC, set_resolution(), and nest::Time::Range::TICS_PER_MS.

Here is the call graph for this function:

◆ set_to_zero()

void nest::Time::set_to_zero ( )
inline

References tics.

Referenced by nest::SimulationManager::initialize().

Here is the caller graph for this function:

◆ succ()

Time nest::Time::succ ( ) const
inline

Friends And Related Symbol Documentation

◆ ms

friend struct ms
friend

◆ ms_stamp

friend struct ms_stamp
friend

◆ operator!=

bool operator!= ( const Time &  t1,
const Time &  t2 
)
friend

◆ operator* [1/2]

Time operator* ( const long  factor,
const Time &  t 
)
friend

◆ operator* [2/2]

Time operator* ( const Time &  t,
long  factor 
)
friend

◆ operator+

Time operator+ ( const Time &  t1,
const Time &  t2 
)
friend

◆ operator-

Time operator- ( const Time &  t1,
const Time &  t2 
)
friend

◆ operator<

bool operator< ( const Time &  t1,
const Time &  t2 
)
friend

◆ operator<<)

std::ostream & operator<<) ( std::ostream &  ,
const Time &   
)
friend

◆ operator<=

bool operator<= ( const Time &  t1,
const Time &  t2 
)
friend

◆ operator==

bool operator== ( const Time &  t1,
const Time &  t2 
)
friend

◆ operator>

bool operator> ( const Time &  t1,
const Time &  t2 
)
friend

◆ operator>=

bool operator>= ( const Time &  t1,
const Time &  t2 
)
friend

◆ step

friend struct step
friend

◆ tic

friend struct tic
friend

◆ TimeConverter

friend class TimeConverter
friend

Member Data Documentation

◆ LIM_MAX

Time::Limit Time::LIM_MAX
staticprotected

◆ LIM_MIN

Time::Limit Time::LIM_MIN
staticprotected

◆ LIM_NEG_INF

◆ LIM_POS_INF

◆ tics


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