rsachetto / MonoAlg3D_C

Extensible Monodomain simulator
MIT License
16 stars 13 forks source link

New examples for MonoAlg3D introductory course #62

Closed bergolho closed 8 months ago

bergolho commented 8 months ago

Hi Sachetto,

In this pull request, there are new examples I wrote for a workshop Rodrigo and I will be participating for medics later this year. The idea is to give them a Introduction to the MonoAlg3D solver with a few examples related to arrhythmias. All the examples are located inside a new folder called "example_configs/introduction_to_monoalg3d".

To build some of the examples I implement a new version of the TT3 ("ten_tusscher_tt3_mixed_endo_mid_epi") to correctly model the transmurality of the model using a plain wave. The idea is similar to a previous example a use for the ToRORd_Land model.

In addition, there is a new "extra_data" function to model the fibrosis together with the transmurality. For the ischemia example, there is also a new multiplier for the "Ikatp" current, which I use for the hypoxia modeling.

Finally, there are new structures inside the "matrix_assembly_library/assembly_common.c" and "common_types.h" files that Albert uses to correctly run his atria example.

Best regards, Lucas