void nest::iaf_cond_alpha::handle( CurrentEvent& e ) { assert( e.get_delay_steps() > 0 ); // add weighted current; HEP 2002-10-04 B_.currents_.add_value( e.get_rel_delivery_steps( kernel().simulation_manager.get_slice_origin() ), e.get_weight() * e.get_current() ); }
void iaf_psc_alpha::handle( CurrentEvent& e ) { assert( e.get_delay_steps() > 0 ); const double I = e.get_current(); const double w = e.get_weight(); B_.currents_.add_value( e.get_rel_delivery_steps( kernel().simulation_manager.get_slice_origin() ), w * I ); }
void nest::amat2_psc_exp::handle( CurrentEvent& e ) { assert( e.get_delay_steps() > 0 ); const double c = e.get_current(); const double w = e.get_weight(); // add weighted current; HEP 2002-10-04 B_.currents_.add_value( e.get_rel_delivery_steps( kernel().simulation_manager.get_slice_origin() ), w * c ); }
void iaf_psc_delta_canon::handle( CurrentEvent& e ) { assert( e.get_delay_steps() > 0 ); const double c = e.get_current(); const double w = e.get_weight(); // add stepwise constant current; MH 2009-10-14 B_.currents_.add_value( e.get_rel_delivery_steps( kernel().simulation_manager.get_slice_origin() ), w * c ); }