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

for analysis of the #iterations to solve CG More...

#include <timers.h>

Collaboration diagram for opencarp::lin_solver_stats:

Public Member Functions

 ~lin_solver_stats ()
 
void init_logger (const char *filename)
 
void update_iter (const int curiter)
 
void log_stats (double tm, bool cflg)
 

Public Attributes

int min = INT_MAX
 minimum #interations More...
 
int max = 0
 maximum #iterations More...
 
int tot = 0
 total # More...
 
int last_tot = 0
 previous total # More...
 
int iter = 0
 its previous solver step More...
 
int solves = 0
 #solutions performed More...
 
int totsolves = 0
 total # of solutions More...
 
double slvtime = 0.0
 total solver time More...
 
double lastSlvtime = 0.0
 total solver time More...
 
FILE_SPEC logger = NULL
 file in which to write stats More...
 

Detailed Description

for analysis of the #iterations to solve CG

Definition at line 11 of file timers.h.

Constructor & Destructor Documentation

◆ ~lin_solver_stats()

opencarp::lin_solver_stats::~lin_solver_stats ( )
inline

Definition at line 23 of file timers.h.

Member Function Documentation

◆ init_logger()

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

Definition at line 9 of file timers.cc.

Here is the caller graph for this function:

◆ log_stats()

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

Definition at line 25 of file timers.cc.

Here is the caller graph for this function:

◆ update_iter()

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

Definition at line 67 of file timers.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ iter

int opencarp::lin_solver_stats::iter = 0

its previous solver step

Definition at line 16 of file timers.h.

◆ last_tot

int opencarp::lin_solver_stats::last_tot = 0

previous total #

Definition at line 15 of file timers.h.

◆ lastSlvtime

double opencarp::lin_solver_stats::lastSlvtime = 0.0

total solver time

Definition at line 20 of file timers.h.

◆ logger

FILE_SPEC opencarp::lin_solver_stats::logger = NULL

file in which to write stats

Definition at line 21 of file timers.h.

◆ max

int opencarp::lin_solver_stats::max = 0

maximum #iterations

Definition at line 13 of file timers.h.

◆ min

int opencarp::lin_solver_stats::min = INT_MAX

minimum #interations

Definition at line 12 of file timers.h.

◆ slvtime

double opencarp::lin_solver_stats::slvtime = 0.0

total solver time

Definition at line 19 of file timers.h.

◆ solves

int opencarp::lin_solver_stats::solves = 0

#solutions performed

Definition at line 17 of file timers.h.

◆ tot

int opencarp::lin_solver_stats::tot = 0

total #

Definition at line 14 of file timers.h.

◆ totsolves

int opencarp::lin_solver_stats::totsolves = 0

total # of solutions

Definition at line 18 of file timers.h.


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