Skip to content
Snippets Groups Projects
Commit 0549d2eb authored by Nora Abi Akar's avatar Nora Abi Akar Committed by Sam Yates
Browse files

Modcc: refactor function expander and inliner (#912)

* Rewrite the function expander which lowers function calls and function arguments, such that both steps are done in the same visitor, and both visitors are applied to the entire procedure. 
* Rewrite the function inliner such that it is also applied to an entire procedure, after all functions have been expanded. The function inliner iterates over the body of the procedure, inlining one function call at a time, until all function calls have been inlined. 
* Conductivity and current accumulations are also modified to be done in one step at the end of `nrn_current`
parent ea96693f
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment