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

Electrical stimulation functions. More...

#include "stimulate.h"
#include "electrics.h"
#include "SF_init.h"
#include "petsc_utils.h"
Include dependency graph for stimulate.cc:

Go to the source code of this file.

Namespaces

 opencarp
 
 opencarp::stim_info
 
 opencarp::user_globals
 

Functions

void opencarp::init_stim_info (void)
 
bool opencarp::is_voltage (stim_t type)
 uses voltage as stimulation More...
 
bool opencarp::is_current (stim_t type)
 uses current as stimulation More...
 
bool opencarp::is_dbc (stim_t type)
 whether stimulus is a dirichlet type. implies boundary conditions on matrix More...
 
bool opencarp::is_extra (stim_t type)
 whether stimulus is on extra grid (or on intra) More...
 
void opencarp::get_stim_list (const char *str_list, std::vector< double > &stlist)
 
void opencarp::sample_wave_form (stim_pulse &sp, int idx)
 sample a signal given in analytic form More...
 

Variables

std::set< int > opencarp::stim_info::voltage_stim {V_ex, GND_ex, V_ex_ol}
 
std::set< int > opencarp::stim_info::current_stim {I_tm, I_ex, I_in, I_lat}
 
std::set< int > opencarp::stim_info::dbc_stim {V_ex, GND_ex, V_ex_ol}
 
std::map< int, std::string > opencarp::stim_info::units
 

Detailed Description

Electrical stimulation functions.

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

Definition in file stimulate.cc.