Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
Output space mapping: clear the sols list at the start of the optimiz…
Browse files Browse the repository at this point in the history
…ation. In case the previous optimization cycle did not converge, OutputSpaceMapping::iterationsConverged() is not called. Therefore, the sols list is not cleared and has a different size as the coarseResiduals list and fineResiduals list. Closes #26
  • Loading branch information
David Blom committed Mar 30, 2015
1 parent ded0291 commit 08582e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fsi/OutputSpaceMapping.C
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ void OutputSpaceMapping::performPostProcessing(
R.setZero();
coarseResiduals.clear();
fineResiduals.clear();
sols.clear();

if ( timeIndex == 0 )
{
Expand Down

0 comments on commit 08582e2

Please sign in to comment.