Commit 64deca80 authored by Lukas Riedel's avatar Lukas Riedel

time step must miss changeTime

parent 98bc2c45
......@@ -113,7 +113,7 @@ public:
dt = tEnd-time;
adapt_to_end = true;
}
else if(changeTime>0.0 && time+dt>changeTime){
else if(changeTime>0.0 && time+dt>=changeTime){
// time step adjustment to BC Change
dt = changeTime-time-eps;
adapt_to_bc = true;
......
Markdown is supported
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