29 #ifndef _IONICSONFACE_H
30 #define _IONICSONFACE_H
35 #include "IGBheader.h"
68 void region_mask_onFace(
mesh_t meshspec,
69 std::vector<std::string> & tags_data,
85 class IonicsOnFace :
public Basic_physic
91 generic_timing_stats comp_stats;
94 std::pair<SF::emi_face<mesh_int_t,SF::tuple<mesh_int_t>>,
95 SF::emi_face<mesh_int_t,SF::tuple<mesh_int_t>>>> line_face;
97 std::pair<SF::emi_face<mesh_int_t,SF::triple<mesh_int_t>>,
98 SF::emi_face<mesh_int_t,SF::triple<mesh_int_t>>>> tri_face;
100 std::pair<SF::emi_face<mesh_int_t,SF::quadruple<mesh_int_t>>,
101 SF::emi_face<mesh_int_t,SF::quadruple<mesh_int_t>>>> quad_face;
105 std::vector<std::string> tags_data;
110 IonicsOnFace(
mesh_t gid) : ion_domain(gid)
114 name =
"Myocard IonicsOnFace";
break;
116 name =
"IonicsOnFace";
break;
121 void set_tags_onFace(std::vector<std::string> & tags_data_)
123 tags_data.assign(tags_data_.begin(),tags_data_.end());
137 line_face = line_face_;
138 tri_face = tri_face_;
139 quad_face = quad_face_;
140 map_vertex_tag_to_dof = map_vertex_tag_to_dof_;
147 intra_tags = intra_tags_;
148 map_elem_uniqueFace_to_tags = map_elem_uniqueFace_to_tags_;
161 ~IonicsOnFace() =
default;
164 double timer_val(
const int timer_id);
166 std::string timer_unit(
const int timer_id);
187 const char *start_fn,
int numadjust, IMPVariableAdjustment *adjust,
188 double time_step,
bool close);
204 struct sv_data_onFace {
218 struct gvec_data_OnFace {
227 igb_output_manager & output_manager);
230 void assemble_sv_gvec_onFace(gvec_data_OnFace & gvecs,
limpet::MULTI_IF *miif);
Define multiple ionic models to be used in different regions.
opencarp::local_index_t mesh_int_t
A vector storing arbitrary data.
Represents the ionic model and plug-in (IMP) data structure.
opencarp::local_index_t node_count_t
opencarp::local_index_t node_index_t
std::map< int, std::string > units
mesh_t
The enum identifying the different meshes we might want to load.
SF::abstract_vector< SF_int, SF_real > sf_vec
Simulator-level utility execution control functions.
Electrical stimulation functions.