rsachetto / MonoAlg3D_C

Extensible Monodomain simulator
MIT License
16 stars 13 forks source link

Localized ToR-ORd Model #65

Closed crlgb closed 6 months ago

crlgb commented 6 months ago

Hi there, I am having trouble getting this to run.

The goal is to have a ToR-ORd model which allows localized changes of scaling factors, e.g. to simulate local drug application (local values of INa, ICaL, IKr multipliers). I am aware that the initialize_grid_with_plain_and_rectangle_mesh is unnecessary, but I might want to add further functionality there later. The idea is to have a set of scaling factors for every single cell, just like for transmurality. Every time a solver is called, I will convert this 2d construct to a single 1d construct of scalars like before, such that there is no effective change. Still I can not get this to run, "NaN on time XX" error.

Is there an obvious mistake I am making?

Thank you!

crlgb commented 6 months ago

Issue has been found, further development on forked version.