openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
#include <stimulate.h>
Public Member Functions | |
void | setup (int idx) |
Setup from a param stimulus index. More... | |
void | translate (int id) |
convert legacy definitions to new format More... | |
bool | value (double &v) const |
Get the current value if the stimulus is active. More... | |
bool | is_active () const |
Return whether stim is active. More... | |
Public Attributes | |
int | idx = -1 |
index in global input stimulus array More... | |
std::string | name = "unnamed" |
label stimulus More... | |
stim_pulse | pulse |
stimulus wave form More... | |
stim_protocol | ptcl |
applied stimulation protocol used More... | |
stim_physics | phys |
physics of stimulus More... | |
stim_electrode | electrode |
electrode geometry More... | |
Definition at line 166 of file stimulate.h.
bool opencarp::stimulus::is_active | ( | ) | const |
Return whether stim is active.
Definition at line 187 of file stimulate.cc.
void opencarp::stimulus::setup | ( | int | iidx | ) |
Setup from a param stimulus index.
id | The index of the stimulus used for setup. |
iidx |
Definition at line 163 of file stimulate.cc.
void opencarp::stimulus::translate | ( | int | id | ) |
convert legacy definitions to new format
map old stimulus definition to new structured definition
Definition at line 100 of file stimulate.cc.
bool opencarp::stimulus::value | ( | double & | v | ) | const |
Get the current value if the stimulus is active.
[out] | v | The current stimulus value. |
Definition at line 442 of file stimulate.cc.
stim_electrode opencarp::stimulus::electrode |
electrode geometry
Definition at line 174 of file stimulate.h.
int opencarp::stimulus::idx = -1 |
index in global input stimulus array
Definition at line 169 of file stimulate.h.
std::string opencarp::stimulus::name = "unnamed" |
label stimulus
Definition at line 170 of file stimulate.h.
stim_physics opencarp::stimulus::phys |
physics of stimulus
Definition at line 173 of file stimulate.h.
stim_protocol opencarp::stimulus::ptcl |
applied stimulation protocol used
Definition at line 172 of file stimulate.h.
stim_pulse opencarp::stimulus::pulse |
stimulus wave form
Definition at line 171 of file stimulate.h.