|
openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
#include <electrics_eikonal.h>
Public Types | |
| enum | grid_t { intra_grid = 0 , extra_grid } |
| An electrics grid identifier to distinguish between intra and extra grids. More... | |
| enum | linsys_t { elliptic_sys , parabolic_sys } |
| enum | eikonal_t { EIKONAL = 0 , REp = 1 , REm = 2 , DREAM = 3 } |
Public Member Functions | |
| Eikonal () | |
| Most of the initialization is done with initialize() More... | |
| void | initialize () |
| Initialize the Eikonal class. More... | |
| void | destroy () |
| Currently we only need to close the file logger. More... | |
| void | compute_step () |
| void | output_step () |
| void | output_timings () |
| ~Eikonal () | |
| double | timer_val (const int timer_id) |
| figure out current value of a signal linked to a given timer More... | |
| std::string | timer_unit (const int timer_id) |
| figure out units of a signal linked to a given timer More... | |
Public Attributes | |
| MaterialType | mtype [2] |
| the material types of intra_grid and extra_grid grids. More... | |
| SF::vector< stimulus > | stimuli |
| the electrical stimuli More... | |
| sf_vec * | phie_dummy = nullptr |
| no elliptic solver needed, but we need a dummy for phie to use parabolic solver More... | |
| Ionics | ion |
| parabolic_solver | parab_solver |
| Solver for the parabolic bidomain equation. More... | |
| eikonal_solver | eik_solver |
| Solver for the eikonal equation. More... | |
| eikonal_t | eik_tech = EIKONAL |
| LAT_detector | lat |
| the activation time detector More... | |
| gvec_data | gvec |
| datastruct holding global IMP state variable output More... | |
| igb_output_manager | output_manager_time |
| class handling the igb output More... | |
| igb_output_manager | output_manager_cycle |
| bool | do_output_eikonal = false |
| generic_timing_stats | IO_stats |
Public Attributes inherited from opencarp::Basic_physic | |
| const char * | name = NULL |
| The name of the physic, each physic should have one. More... | |
| FILE_SPEC | logger = NULL |
| The logger of the physic, each physic should have one. More... | |
| int | timer_idx = -1 |
| the timer index received from the timer manager More... | |
| double | initialize_time = 0.0 |
| double | compute_time = 0.0 |
| double | output_time = 0.0 |
Definition at line 428 of file electrics_eikonal.h.
| Enumerator | |
|---|---|
| EIKONAL | |
| REp | |
| REm | |
| DREAM | |
Definition at line 461 of file electrics_eikonal.h.
An electrics grid identifier to distinguish between intra and extra grids.
The indexing of the enum is used to access the MaterialType array.
| Enumerator | |
|---|---|
| intra_grid | |
| extra_grid | |
Definition at line 437 of file electrics_eikonal.h.
| Enumerator | |
|---|---|
| elliptic_sys | |
| parabolic_sys | |
Definition at line 439 of file electrics_eikonal.h.
|
inline |
Most of the initialization is done with initialize()
Definition at line 484 of file electrics_eikonal.h.
| opencarp::Eikonal::~Eikonal | ( | ) |
|
virtual |
Implements opencarp::Basic_physic.
Definition at line 212 of file electrics_eikonal.cc.
|
virtual |
Currently we only need to close the file logger.
Implements opencarp::Basic_physic.
Definition at line 264 of file electrics_eikonal.cc.
|
virtual |
Initialize the Eikonal class.
This could also be a constructor. But it might be better to expicitely call the initialization. This way we can instanciate electrics structs without calling the full setup as well.
Implements opencarp::Basic_physic.
Definition at line 38 of file electrics_eikonal.cc.
|
virtual |
Implements opencarp::Basic_physic.
Definition at line 234 of file electrics_eikonal.cc.
|
inlinevirtual |
Reimplemented from opencarp::Basic_physic.
Definition at line 503 of file electrics_eikonal.h.
|
virtual |
figure out units of a signal linked to a given timer
determine unit of a stimulus
Implements opencarp::Basic_physic.
Definition at line 456 of file electrics_eikonal.cc.
|
virtual |
figure out current value of a signal linked to a given timer
determine current value of a stimulus signal
Implements opencarp::Basic_physic.
Definition at line 441 of file electrics_eikonal.cc.
| bool opencarp::Eikonal::do_output_eikonal = false |
Definition at line 477 of file electrics_eikonal.h.
| eikonal_solver opencarp::Eikonal::eik_solver |
Solver for the eikonal equation.
Definition at line 459 of file electrics_eikonal.h.
Definition at line 465 of file electrics_eikonal.h.
| gvec_data opencarp::Eikonal::gvec |
datastruct holding global IMP state variable output
Definition at line 471 of file electrics_eikonal.h.
| generic_timing_stats opencarp::Eikonal::IO_stats |
Definition at line 479 of file electrics_eikonal.h.
| Ionics opencarp::Eikonal::ion |
The ionics physics is managed as a member of the Electrics. This allows for thighter coupling in the Electrics compute step.
Definition at line 453 of file electrics_eikonal.h.
| LAT_detector opencarp::Eikonal::lat |
the activation time detector
Definition at line 468 of file electrics_eikonal.h.
| MaterialType opencarp::Eikonal::mtype[2] |
the material types of intra_grid and extra_grid grids.
Definition at line 443 of file electrics_eikonal.h.
| igb_output_manager opencarp::Eikonal::output_manager_cycle |
Definition at line 475 of file electrics_eikonal.h.
| igb_output_manager opencarp::Eikonal::output_manager_time |
class handling the igb output
Definition at line 474 of file electrics_eikonal.h.
| parabolic_solver opencarp::Eikonal::parab_solver |
Solver for the parabolic bidomain equation.
Definition at line 456 of file electrics_eikonal.h.
| sf_vec* opencarp::Eikonal::phie_dummy = nullptr |
no elliptic solver needed, but we need a dummy for phie to use parabolic solver
Definition at line 449 of file electrics_eikonal.h.
| SF::vector<stimulus> opencarp::Eikonal::stimuli |
the electrical stimuli
Definition at line 446 of file electrics_eikonal.h.