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

Struct used for debugging purposes. More...

#include <electrics_eikonal.h>

Collaboration diagram for opencarp::node_stats:

Public Types

enum  status { in = 1, out = 0 }
 
enum  reason { none = 0, nbn = 1, conv = 2, stim = 3 }
 

Public Member Functions

 ~node_stats ()
 
void init_logger (const char *filename)
 
void log_stats (double tm, bool cflg)
 
void update_status (enum status s, enum reason r)
 

Public Attributes

mesh_int_t idX
 node index More...
 
mesh_int_t cycle = 0
 DREAM cycle. More...
 
mesh_int_t idXNB = std::numeric_limits<Int>::min()
 neighboring node index responsible for list entry More...
 
SF_real T_A = std::numeric_limits<double>::quiet_NaN()
 current activation time More...
 
SF_real nbn_T_A = std::numeric_limits<double>::quiet_NaN()
 activation time of neighboring node More...
 
SF_real T_A_ = std::numeric_limits<double>::quiet_NaN()
 previous activation time More...
 
SF_real T_R = std::numeric_limits<double>::quiet_NaN()
 repolarization time More...
 
SF_real D_I = std::numeric_limits<double>::quiet_NaN()
 diastolic interval More...
 
const char * status = "out"
 current list status More...
 
const char * reasonIn = "-"
 reason for list entry More...
 
const char * reasonOut = "-"
 reason for list entry More...
 
FILE_SPEC logger = NULL
 

Detailed Description

Struct used for debugging purposes.

Uses the log_msg interface to write detailed information of a single node into a file.

Definition at line 47 of file electrics_eikonal.h.

Member Enumeration Documentation

◆ reason

Enumerator
none 
nbn 
conv 
stim 

Definition at line 50 of file electrics_eikonal.h.

◆ status

Enumerator
in 
out 

Definition at line 48 of file electrics_eikonal.h.

Constructor & Destructor Documentation

◆ ~node_stats()

opencarp::node_stats::~node_stats ( )
inline

Definition at line 68 of file electrics_eikonal.h.

Member Function Documentation

◆ init_logger()

void opencarp::node_stats::init_logger ( const char *  filename)

Definition at line 1948 of file electrics_eikonal.cc.

Here is the caller graph for this function:

◆ log_stats()

void opencarp::node_stats::log_stats ( double  tm,
bool  cflg 
)

Definition at line 1964 of file electrics_eikonal.cc.

Here is the caller graph for this function:

◆ update_status()

void opencarp::node_stats::update_status ( enum status  s,
enum reason  r 
)

Definition at line 2003 of file electrics_eikonal.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ cycle

mesh_int_t opencarp::node_stats::cycle = 0

DREAM cycle.

Definition at line 55 of file electrics_eikonal.h.

◆ D_I

SF_real opencarp::node_stats::D_I = std::numeric_limits<double>::quiet_NaN()

diastolic interval

Definition at line 61 of file electrics_eikonal.h.

◆ idX

mesh_int_t opencarp::node_stats::idX

node index

Definition at line 54 of file electrics_eikonal.h.

◆ idXNB

mesh_int_t opencarp::node_stats::idXNB = std::numeric_limits<Int>::min()

neighboring node index responsible for list entry

Definition at line 56 of file electrics_eikonal.h.

◆ logger

FILE_SPEC opencarp::node_stats::logger = NULL

Definition at line 66 of file electrics_eikonal.h.

◆ nbn_T_A

SF_real opencarp::node_stats::nbn_T_A = std::numeric_limits<double>::quiet_NaN()

activation time of neighboring node

Definition at line 58 of file electrics_eikonal.h.

◆ reasonIn

const char* opencarp::node_stats::reasonIn = "-"

reason for list entry

Definition at line 63 of file electrics_eikonal.h.

◆ reasonOut

const char* opencarp::node_stats::reasonOut = "-"

reason for list entry

Definition at line 64 of file electrics_eikonal.h.

◆ status

const char* opencarp::node_stats::status = "out"

current list status

Definition at line 62 of file electrics_eikonal.h.

◆ T_A

SF_real opencarp::node_stats::T_A = std::numeric_limits<double>::quiet_NaN()

current activation time

Definition at line 57 of file electrics_eikonal.h.

◆ T_A_

SF_real opencarp::node_stats::T_A_ = std::numeric_limits<double>::quiet_NaN()

previous activation time

Definition at line 59 of file electrics_eikonal.h.

◆ T_R

SF_real opencarp::node_stats::T_R = std::numeric_limits<double>::quiet_NaN()

repolarization time

Definition at line 60 of file electrics_eikonal.h.


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