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);
Define multiple ionic models to be used in different regions.
A vector storing arbitrary data.
Represents the ionic model and plug-in (IMP) data structure.
The abstract physics interface we can use to trigger all physics.
const char * name
The name of the physic, each physic should have one.
generic_timing_stats comp_stats
std::string timer_unit(const int timer_id)
figure out units of a signal linked to a given timer
double timer_val(const int timer_id)
figure out current value of a signal linked to a given timer
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
void init_sv_gvec(gvec_data &GVs, limpet::MULTI_IF *miif, sf_vec &tmpl, igb_output_manager &output_manager)
void assemble_sv_gvec(gvec_data &gvecs, limpet::MULTI_IF *miif)
mesh_t
The enum identifying the different meshes we might want to load.
void compute_IIF(limpet::IonIfBase &pIF, limpet::GlobalData_t **impdata, int n)
Simulator-level utility execution control functions.
Electrical stimulation functions.
for analysis of the #iterations to solve CG
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.
SF::vector< sv_data > vecs
store sv dump indices for global vectors
unsigned int nRegs
number of imp regions
bool inclPS
include PS if exists
bool rm_dumps
remove intermediate state variable dump files
float bogus
value indicating sv not in region
void ** getsv
functions to retrieve sv
int * svInds
store sv dump indices for each global vector
char * name
Name of global composite sv vector.
int * svOff
sv size in bytes
FILE_SPEC outf
output file
char ** svNames
sv names of components forming global vector
int * svSizes
sv size in bytes
char ** imps
Name of imp to which sv belongs.
sf_vec * ordered
vector in which to place ordered data