14 #ifndef _IONICSONFACE_H
15 #define _IONICSONFACE_H
20 #include "IGBheader.h"
53 void region_mask_onFace(
mesh_t meshspec,
54 std::vector<std::string> & tags_data,
70 class IonicsOnFace :
public Basic_physic
76 generic_timing_stats comp_stats;
79 std::pair<SF::emi_face<mesh_int_t,SF::tuple<mesh_int_t>>,
80 SF::emi_face<mesh_int_t,SF::tuple<mesh_int_t>>>> line_face;
82 std::pair<SF::emi_face<mesh_int_t,SF::triple<mesh_int_t>>,
83 SF::emi_face<mesh_int_t,SF::triple<mesh_int_t>>>> tri_face;
85 std::pair<SF::emi_face<mesh_int_t,SF::quadruple<mesh_int_t>>,
86 SF::emi_face<mesh_int_t,SF::quadruple<mesh_int_t>>>> quad_face;
90 std::vector<std::string> tags_data;
95 IonicsOnFace(
mesh_t gid) : ion_domain(gid)
99 name =
"Myocard IonicsOnFace";
break;
101 name =
"IonicsOnFace";
break;
106 void set_tags_onFace(std::vector<std::string> & tags_data_)
108 tags_data.assign(tags_data_.begin(),tags_data_.end());
122 line_face = line_face_;
123 tri_face = tri_face_;
124 quad_face = quad_face_;
125 map_vertex_tag_to_dof = map_vertex_tag_to_dof_;
132 intra_tags = intra_tags_;
133 map_elem_uniqueFace_to_tags = map_elem_uniqueFace_to_tags_;
146 ~IonicsOnFace() =
default;
149 double timer_val(
const int timer_id);
151 std::string timer_unit(
const int timer_id);
172 const char *start_fn,
int numadjust, IMPVariableAdjustment *adjust,
173 double time_step,
bool close);
189 struct sv_data_onFace {
203 struct gvec_data_OnFace {
212 igb_output_manager & output_manager);
215 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.