Replies: 8 comments
-
That is a very complex change and is unlikely to be accomplished in the forseeable future. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, it seems multisplit (or splitcell) are incompatible with cvode. This is specified in the same documentation (linked above). |
Beta Was this translation helpful? Give feedback.
-
My apologies. Cvode ( when the model is a set of ODE), multisplit, and parallel are allowed together and the reference needs to be updated. The presence of extracellular generates a DAE model which cannot |
Beta Was this translation helpful? Give feedback.
-
Understood. Going forward, in terms of solutions excluding cvode, it seems DAE models could be implemented in multisplit using Sundials IDA. I suppose another possibility would be to convert the extracellular DAE to an ODE model, but that is likely non-trivial. |
Beta Was this translation helpful? Give feedback.
-
Hi Michael, I would like to devote some renewed attention to this issue. I think it is critical for the future solvability of myelinated axons. If there are no better options, perhaps you can instruct me on what needs to be done? -Charles. |
Beta Was this translation helpful? Give feedback.
-
At a sufficiently conceptual level the tree solver is the same for fixed step , CVODE, and IDA without extracellular or LinearMechanism instances and without multisplit. Addition of multisplit into the fixed step and CVODE mix involves Now, the addition of extracellular does not much modify this conceptually. Ie each node needs to be considered not as a single state but as a short vector of size equal to the number 1 (internal) + number of extracellular layers. (default extracellular with two layers means a size of 3). The processing is that each multiplication, addition, subtraction, and division is not for scalar matrix elements but 3x3 matrix matrix elements. (at least for connection points and perhaps for the entire backbones and reduced tree). Not clear what the precise performance impact would be. Now I have to throw another software maintenance technicality into the mix. Ie I'm stuck at the end of a long languishing |
Beta Was this translation helpful? Give feedback.
-
I'm happy to read some progress has been made. It even sounds like it may be possible under the current architecture. I guess, for one, I am not sure how I can help at this point in the process. For another, I am not quite sure I understood what is preventing completion. You mention, "the extra states and equations are highly unsatisfying". Maybe this is something I can help with? |
Beta Was this translation helpful? Give feedback.
-
I should mention that for multisplit solving they also add n-1 to the rank of the matrix matrix elements so those elements are then 5x5 matrices instead of just 3x3 (for two extracellular layers) You are welcome to jump into the swamp with me:) The extra states really did resolve the initialization issues for LinearMechanism (extra state for two nodes connected by a capacitor or inductor) and I don't think there is any substantive problem for the extracellular case (always an extra state due to membrane capacitance and occasionally an extra state if extracellular capacitors between extracellular layers are non-zero). I expect the problem is a bug that I can't see but will be obvious when I do see it. These long-languishing branches are a pain since when one starts up with them again it is necessary to merge a dramatically changed master into them. Also need to do the transformation from autotools to cmake so the sundials part can be a submodule (actually, I can't remember if I did that already). Anyway, the best way to start is to have conversations where I give you a tour of the code (and relearn what is there myself). Then you will be better able to assess whether the effort is reasonable. |
Beta Was this translation helpful? Give feedback.
-
The following is a request to allow cells split by splitcell or, preferably, multisplit, to be run with the extracellular mechanism inserted. At present, this is not possible (see warning in documentation for multisplit and splitcell).
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions