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

for analysis of the computations done to solve the eikonal model More...

#include <timers.h>

Collaboration diagram for opencarp::eikonal_solver_stats:

Public Member Functions

 ~eikonal_solver_stats ()
 
void init_logger (const char *filename, bool dream_mode)
 
void update_iter (const int curiter)
 
void log_stats (double time, bool cflg)
 
void update_cli (double time, bool cflg)
 

Public Attributes

int cycle = 0
 DREAM cycle. More...
 
int activeList = 0
 number of nodes currently in list More...
 
double last_minAT = 0
 previous minimum activation time More...
 
double minAT = 0
 minimum activation time in current solve More...
 
double maxAD = std::numeric_limits<double>::quiet_NaN()
 DREAM: time horizon this sweep batch may search up to. Pure Eikonal: actual latest activation time reached (inf if some node never activated). Column 2 of the eikonal statistics file. More...
 
int tot = 0
 total # iterations More...
 
int last_tot = 0
 previous total # iterations More...
 
double slvtime_A = 0.0
 total time in Step A More...
 
double lastSlvtime_A = 0.0
 last total time in Step A More...
 
double slvtime_B = 0.0
 total time in Step B More...
 
double lastSlvtime_B = 0.0
 last total time in Step B More...
 
double slvtime_D = 0.0
 total time in Step D More...
 
double lastSlvtime_D = 0.0
 last total time in Step D More...
 
int solves = 0
 #solutions performed More...
 
int totsolves = 0
 total # of solutions More...
 
bool bc_status = false
 boundary conditions were applied? More...
 
FILE_SPEC logger = NULL
 file in which to write stats More...
 

Detailed Description

for analysis of the computations done to solve the eikonal model

Definition at line 39 of file timers.h.

Constructor & Destructor Documentation

◆ ~eikonal_solver_stats()

opencarp::eikonal_solver_stats::~eikonal_solver_stats ( )
inline

Definition at line 59 of file timers.h.

Here is the call graph for this function:

Member Function Documentation

◆ init_logger()

void opencarp::eikonal_solver_stats::init_logger ( const char *  filename,
bool  dream_mode 
)
Parameters
dream_modeselects the header for the second column, which reports maxAD: a convergence horizon under DREAM ("mx AD"), the latest activation time reached under every other eikonal technique ("mx AT").

Definition at line 117 of file timers.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ log_stats()

void opencarp::eikonal_solver_stats::log_stats ( double  time,
bool  cflg 
)

Definition at line 138 of file timers.cc.

Here is the call graph for this function:

◆ update_cli()

void opencarp::eikonal_solver_stats::update_cli ( double  time,
bool  cflg 
)

Definition at line 176 of file timers.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_iter()

void opencarp::eikonal_solver_stats::update_iter ( const int  curiter)

Definition at line 170 of file timers.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ activeList

int opencarp::eikonal_solver_stats::activeList = 0

number of nodes currently in list

Definition at line 41 of file timers.h.

◆ bc_status

bool opencarp::eikonal_solver_stats::bc_status = false

boundary conditions were applied?

Definition at line 55 of file timers.h.

◆ cycle

int opencarp::eikonal_solver_stats::cycle = 0

DREAM cycle.

Definition at line 40 of file timers.h.

◆ last_minAT

double opencarp::eikonal_solver_stats::last_minAT = 0

previous minimum activation time

Definition at line 42 of file timers.h.

◆ last_tot

int opencarp::eikonal_solver_stats::last_tot = 0

previous total # iterations

Definition at line 46 of file timers.h.

◆ lastSlvtime_A

double opencarp::eikonal_solver_stats::lastSlvtime_A = 0.0

last total time in Step A

Definition at line 48 of file timers.h.

◆ lastSlvtime_B

double opencarp::eikonal_solver_stats::lastSlvtime_B = 0.0

last total time in Step B

Definition at line 50 of file timers.h.

◆ lastSlvtime_D

double opencarp::eikonal_solver_stats::lastSlvtime_D = 0.0

last total time in Step D

Definition at line 52 of file timers.h.

◆ logger

FILE_SPEC opencarp::eikonal_solver_stats::logger = NULL

file in which to write stats

Definition at line 57 of file timers.h.

◆ maxAD

double opencarp::eikonal_solver_stats::maxAD = std::numeric_limits<double>::quiet_NaN()

DREAM: time horizon this sweep batch may search up to. Pure Eikonal: actual latest activation time reached (inf if some node never activated). Column 2 of the eikonal statistics file.

Definition at line 44 of file timers.h.

◆ minAT

double opencarp::eikonal_solver_stats::minAT = 0

minimum activation time in current solve

Definition at line 43 of file timers.h.

◆ slvtime_A

double opencarp::eikonal_solver_stats::slvtime_A = 0.0

total time in Step A

Definition at line 47 of file timers.h.

◆ slvtime_B

double opencarp::eikonal_solver_stats::slvtime_B = 0.0

total time in Step B

Definition at line 49 of file timers.h.

◆ slvtime_D

double opencarp::eikonal_solver_stats::slvtime_D = 0.0

total time in Step D

Definition at line 51 of file timers.h.

◆ solves

int opencarp::eikonal_solver_stats::solves = 0

#solutions performed

Definition at line 53 of file timers.h.

◆ tot

int opencarp::eikonal_solver_stats::tot = 0

total # iterations

Definition at line 45 of file timers.h.

◆ totsolves

int opencarp::eikonal_solver_stats::totsolves = 0

total # of solutions

Definition at line 54 of file timers.h.


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