openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
#include <timer_utils.h>
Public Member Functions | |
void | initialize (const timer_manager *t, const std::vector< double > &itrig, const double idur, const char *iname) |
void | update () |
void | reset () |
![]() | |
void | assign_pool (const char *poolname) |
Public Attributes | |
const timer_manager * | mng |
std::vector< double > | trig |
the times that the timer will trigger More... | |
std::vector< long > | d_trig |
the discrete times associated to trig More... | |
![]() | |
t_timer | type |
type of timer, continuous equidistant, or non-equidistant More... | |
const char * | name |
timer name More... | |
bool | triggered |
flag indicating trigger at current time step More... | |
int | trigger_count |
count number of triggered IO events More... | |
int | numIOs |
total number of triggers during simulation More... | |
double | trigger_dur |
triggered event duration (e.g.,stim duration) More... | |
long | d_trigger_dur |
discrete duration More... | |
int | active |
count down to end of a trigger with duration More... | |
std::string | pool |
label of pool (IO || TS || STIM || ...) to which timer belongs More... | |
Definition at line 235 of file timer_utils.h.
void opencarp::timer_neq::initialize | ( | const timer_manager * | t, |
const std::vector< double > & | itrig, | ||
const double | idur, | ||
const char * | iname | ||
) |
|
virtual |
Implements opencarp::base_timer.
Definition at line 259 of file timer_utils.cc.
|
virtual |
Implements opencarp::base_timer.
Definition at line 239 of file timer_utils.cc.
std::vector<long> opencarp::timer_neq::d_trig |
the discrete times associated to trig
Definition at line 240 of file timer_utils.h.
const timer_manager* opencarp::timer_neq::mng |
Definition at line 237 of file timer_utils.h.
std::vector<double> opencarp::timer_neq::trig |
the times that the timer will trigger
Definition at line 239 of file timer_utils.h.