add more flushs for output

this should make output less confusing if the stream caches some data...
This commit is contained in:
Andreas Lauser
2014-03-06 19:32:04 +01:00
parent 3479b659aa
commit a9ad8f1cba
5 changed files with 6 additions and 6 deletions

View File

@@ -250,7 +250,7 @@ public:
if (this->gridView().comm().rank() == 0) {
std::cout << "Storage in " << FluidSystem::phaseName(phaseIdx)
<< "Phase: [" << phaseStorage << "]"
<< "\n";
<< "\n" << std::flush;
}
}
@@ -261,7 +261,7 @@ public:
// Write mass balance information for rank 0
if (this->gridView().comm().rank() == 0) {
std::cout << "Storage total: [" << storage << "]"
<< "\n";
<< "\n" << std::flush;
}
}