mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 09:16:27 -06:00
add more flushs for output
this should make output less confusing if the stream caches some data...
This commit is contained in:
parent
3479b659aa
commit
a9ad8f1cba
@ -357,7 +357,7 @@ public:
|
||||
// Write mass balance information for rank 0
|
||||
if (this->gridView().comm().rank() == 0) {
|
||||
std::cout << "Storage: liquid=[" << storageL << "]"
|
||||
<< " gas=[" << storageG << "]\n";
|
||||
<< " gas=[" << storageG << "]\n" << std::flush;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -292,7 +292,7 @@ public:
|
||||
// Process with rank 0 informs about the total masses of all
|
||||
// components inside the domain
|
||||
if (this->gridView().comm().rank() == 0) {
|
||||
std::cout << "Mass in domain: " << storage << std::endl;
|
||||
std::cout << "Mass in domain: " << storage << std::endl << std::flush;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -377,7 +377,7 @@ public:
|
||||
|
||||
// Write mass balance information for rank 0
|
||||
if (this->gridView().comm().rank() == 0) {
|
||||
std::cout << "Storage: " << storage << std::endl;
|
||||
std::cout << "Storage: " << storage << std::endl << std::flush;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -245,7 +245,7 @@ public:
|
||||
|
||||
// Write mass balance information for rank 0
|
||||
if (this->gridView().comm().rank() == 0) {
|
||||
std::cout << "Storage: " << storage << std::endl;
|
||||
std::cout << "Storage: " << storage << std::endl << std::flush;
|
||||
}
|
||||
}
|
||||
//! \}
|
||||
|
Loading…
Reference in New Issue
Block a user