openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
Public Member Functions | Public Attributes | List of all members
opencarp::timer_neq Struct Reference

#include <timer_utils.h>

Inheritance diagram for opencarp::timer_neq:
Collaboration diagram for opencarp::timer_neq:

Public Member Functions

void initialize (const timer_manager *t, const std::vector< double > &itrig, const double idur, const char *iname)
 
void update ()
 
void reset ()
 
- Public Member Functions inherited from opencarp::base_timer
void assign_pool (const char *poolname)
 

Public Attributes

const timer_managermng
 
std::vector< double > trig
 the times that the timer will trigger More...
 
std::vector< long > d_trig
 the discrete times associated to trig More...
 
- Public Attributes inherited from opencarp::base_timer
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...
 

Detailed Description

Definition at line 235 of file timer_utils.h.

Member Function Documentation

◆ initialize()

void opencarp::timer_neq::initialize ( const timer_manager t,
const std::vector< double > &  itrig,
const double  idur,
const char *  iname 
)

Definition at line 189 of file timer_utils.cc.

Here is the caller graph for this function:

◆ reset()

void opencarp::timer_neq::reset ( )
virtual

Implements opencarp::base_timer.

Definition at line 259 of file timer_utils.cc.

◆ update()

void opencarp::timer_neq::update ( )
virtual

Implements opencarp::base_timer.

Definition at line 239 of file timer_utils.cc.

Member Data Documentation

◆ d_trig

std::vector<long> opencarp::timer_neq::d_trig

the discrete times associated to trig

Definition at line 240 of file timer_utils.h.

◆ mng

const timer_manager* opencarp::timer_neq::mng

Definition at line 237 of file timer_utils.h.

◆ trig

std::vector<double> opencarp::timer_neq::trig

the times that the timer will trigger

Definition at line 239 of file timer_utils.h.


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