Skip to content

Commit

Permalink
Incrementing the time step of sub-apps should allow negative start ti…
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentlaboure committed Oct 29, 2020
1 parent e35be83 commit 5764238
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/src/multiapps/TransientMultiApp.C
Expand Up @@ -527,8 +527,8 @@ TransientMultiApp::incrementTStep(Real target_time)
Real app_time_offset = _apps[i]->getGlobalTimeOffset();

// Only increment the step if we are after (target_time) the
// start_time (app_time_offset) of this sub_app.
if (app_time_offset < target_time)
// start_time (added to app_time_offset) of this sub_app.
if (_apps[i]->getStartTime() + app_time_offset < target_time)
ex->incrementStepOrReject();
}
}
Expand Down

0 comments on commit 5764238

Please sign in to comment.