openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
opencarp::timer_eq Struct Reference

#include <timer_utils.h>

Inheritance diagram for opencarp::timer_eq:
Collaboration diagram for opencarp::timer_eq:

Public Member Functions

void initialize (const timer_manager *t, double istart, double iend, int ntrig, double iintv, 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
 
double start
 Time when we start I/O in mode _EQUDIST. More...
 
long d_start
 discrete start in multiples of dt More...
 
double end
 Time when we stop I/O in mode _EQUDIST. More...
 
long d_end
 discrete stop index in multiples of dt More...
 
double intv
 io interval in ms More...
 
long d_intv
 discrete io interval in multiples of dt More...
 
double nxt
 next output time in ms More...
 
int d_nxt
 next output index 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 216 of file timer_utils.h.

Member Function Documentation

◆ initialize()

void opencarp::timer_eq::initialize ( const timer_manager t,
double  istart,
double  iend,
int  ntrig,
double  iintv,
double  idur,
const char *  iname 
)

Definition at line 106 of file timer_utils.cc.

Here is the caller graph for this function:

◆ reset()

void opencarp::timer_eq::reset ( )
virtual

Implements opencarp::base_timer.

Definition at line 182 of file timer_utils.cc.

◆ update()

void opencarp::timer_eq::update ( )
virtual

Implements opencarp::base_timer.

Definition at line 161 of file timer_utils.cc.

Member Data Documentation

◆ d_end

long opencarp::timer_eq::d_end

discrete stop index in multiples of dt

Definition at line 223 of file timer_utils.h.

◆ d_intv

long opencarp::timer_eq::d_intv

discrete io interval in multiples of dt

Definition at line 225 of file timer_utils.h.

◆ d_nxt

int opencarp::timer_eq::d_nxt

next output index

Definition at line 227 of file timer_utils.h.

◆ d_start

long opencarp::timer_eq::d_start

discrete start in multiples of dt

Definition at line 221 of file timer_utils.h.

◆ end

double opencarp::timer_eq::end

Time when we stop I/O in mode _EQUDIST.

Definition at line 222 of file timer_utils.h.

◆ intv

double opencarp::timer_eq::intv

io interval in ms

Definition at line 224 of file timer_utils.h.

◆ mng

const timer_manager* opencarp::timer_eq::mng

Definition at line 218 of file timer_utils.h.

◆ nxt

double opencarp::timer_eq::nxt

next output time in ms

Definition at line 226 of file timer_utils.h.

◆ start

double opencarp::timer_eq::start

Time when we start I/O in mode _EQUDIST.

Definition at line 220 of file timer_utils.h.


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