33 #include "IGBheader.h" 75 name =
"Myocard Ionics";
break;
77 name =
"Ionics";
break;
112 double setup_MIIF(
int nnodes,
int nreg, IMPregion* impreg,
int* mask,
113 const char *start_fn,
int numadjust, IMPVariableAdjustment *adjust,
114 double time_step,
bool close);
float bogus
value indicating sv not in region
sf_vec * ordered
vector in which to place ordered data
double timer_val(const int timer_id)
figure out current value of a signal linked to a given timer
unsigned int nRegs
number of imp regions
bool rm_dumps
remove intermediate state variable dump files
char ** imps
Name of imp to which sv belongs.
FILE_SPEC outf
output file
const char * name
The name of the physic, each physic should have one.
mesh_t
The enum identifying the different meshes we might want to load.
void region_mask(mesh_t meshspec, SF::vector< RegionSpecs > ®spec, SF::vector< int > ®ionIDs, bool mask_elem, const char *reglist)
classify elements/points as belonging to a region
int * svInds
store sv dump indices for each global vector
void ** getsv
functions to retrieve sv
void compute_IIF(limpet::IonIfBase &pIF, limpet::GlobalData_t **impdata, int n)
SF::vector< sv_data > vecs
store sv dump indices for global vectors
Define multiple ionic models to be used in different regions.
for analysis of the #iterations to solve CG
void assemble_sv_gvec(gvec_data &gvecs, limpet::MULTI_IF *miif)
Represents the ionic model and plug-in (IMP) data structure.
The abstract physics interface we can use to trigger all physics.
char ** svNames
sv names of components forming global vector
generic_timing_stats comp_stats
int * svOff
sv size in bytes
std::string timer_unit(const int timer_id)
figure out units of a signal linked to a given timer
Electrical stimulation functions.
void init_sv_gvec(gvec_data &GVs, limpet::MULTI_IF *miif, sf_vec &tmpl, igb_output_manager &output_manager)
A vector storing arbitrary data.
char * name
Name of global composite sv vector.
int * svSizes
sv size in bytes
bool inclPS
include PS if exists
SF::vector< int > plugin_idx
if we use a plugin, its index in the plugins list of the IMP will be stored here, else -1...
Simulator-level utility execution control functions.