openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
Namespaces | Functions
electrics.cc File Reference

Tissue level electrics, main Electrics physics class. More...

#include "electrics.h"
#include "petsc_utils.h"
#include "timers.h"
#include "stimulate.h"
#include "electric_integrators.h"
#include "SF_init.h"
Include dependency graph for electrics.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 opencarp
 

Functions

void opencarp::set_elec_tissue_properties (MaterialType *mtype, Electrics::grid_t g, FILE_SPEC logger)
 Fill the RegionSpec of an electrics grid with the associated inputs from the param parameters. More...
 
void opencarp::balance_electrode (elliptic_solver &ellip, SF::vector< stimulus > &stimuli, int balance_from, int balance_to)
 
void opencarp::apply_stim_to_vector (const stimulus &s, sf_vec &vec, bool add)
 
void opencarp::compute_restr_idx (sf_mesh &mesh, SF::vector< mesh_int_t > &inp_idx, SF::vector< mesh_int_t > &idx)
 
void opencarp::compute_restr_idx_async (sf_mesh &mesh, SF::vector< mesh_int_t > &inp_idx, SF::vector< mesh_int_t > &idx)
 
void opencarp::setup_dataout (const int dataout, std::string dataout_vtx, mesh_t grid, SF::vector< mesh_int_t > *&restr, bool async)
 
int opencarp::stimidx_from_timeridx (const SF::vector< stimulus > &stimuli, const int timer_id)
 determine link between timer and stimulus More...
 
void opencarp::get_kappa (sf_vec &kappa, IMPregion *ir, limpet::MULTI_IF &miif, double k)
 compute the vector $\kappa = \frac{\beta C_m}{\Delta t}$ More...
 
void opencarp::set_cond_type (MaterialType &m, cond_t type)
 
bool opencarp::have_dbc_stims (const SF::vector< stimulus > &stimuli)
 return wheter any stimuli require dirichlet boundary conditions More...
 
const char * opencarp::get_tsav_ext (double time)
 
void opencarp::print_act_log (FILE_SPEC logger, const SF::vector< Activation > &acts, int idx)
 
int opencarp::output_all_activations (FILE_SPEC fp, int *ibuf, double *act_tbuf, int nlacts)
 
void opencarp::recover_phie_std (sf_vec &vm, phie_recovery_data &rcv)
 
int opencarp::postproc_recover_phie ()
 
void opencarp::setup_phie_recovery_data (phie_recovery_data &data)
 
void opencarp::constant_total_stimulus_current (SF::vector< stimulus > &simuli, sf_mat &mass_i, sf_mat &mass_e, limpet::MULTI_IF *miif, FILE_SPEC logger)
 Scales stimulus current to maintain constant total current across affected regions. More...
 

Detailed Description

Tissue level electrics, main Electrics physics class.

Author
Aurel Neic, Gernot Plank, Edward Vigmond
Version
Date
2019-10-25

Definition in file electrics.cc.