rsachetto / MonoAlg3D_C

Extensible Monodomain simulator
MIT License
16 stars 13 forks source link

Updating some cell models #29

Closed bergolho closed 3 years ago

bergolho commented 3 years ago

Hello Sachetto,

In this pull request, I updated the Trovato model with the correct variable names and rewrite my version of the ToRORd model in a way that can be used in a simulation with the 3 different cell types and a tagged mesh.

The idea was similar to the "ten_tusscher_2004_mixed_endo_mid_epi" model that was already implemented. The only addition was to include an extra_data function to not only tag the cells in the mesh, but also initialize the state vector with the correct steady-state values for each cell type. The example that I included is a transmural experiment similar to the one found in the original paper, there is a version using a cable and another for a plain mesh.