Skip to content
Snippets Groups Projects
Commit 45982d97 authored by sergio's avatar sergio
Browse files

BUG: Correct evaluate function for ddt0 in CrankNicolson scheme. Fixes

The function evaluate was returning true every outer loop, triggering
the re-calculation of ddt0 in every outer loop.

The evaluation of the term ddt0 should be performed once per time step.
The corrected function updates the timeIndex of ddt0 to avoid the
re-evaluation of this term in the outer loops.
parent be058bec
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