mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 02:00:59 -06:00
Omit fluid in place messages on non-root process
This commit is contained in:
parent
fd24070931
commit
d4b818c948
@ -280,11 +280,14 @@ namespace Opm
|
|||||||
FIPUnitConvert(eclipse_state_->getUnits(), COIP);
|
FIPUnitConvert(eclipse_state_->getUnits(), COIP);
|
||||||
V OOIP_totals = FIPTotals(OOIP, state);
|
V OOIP_totals = FIPTotals(OOIP, state);
|
||||||
V COIP_totals = FIPTotals(COIP, state);
|
V COIP_totals = FIPTotals(COIP, state);
|
||||||
|
|
||||||
|
if ( terminal_output_ )
|
||||||
|
{
|
||||||
outputFluidInPlace(OOIP_totals, COIP_totals,eclipse_state_->getUnits(), 0);
|
outputFluidInPlace(OOIP_totals, COIP_totals,eclipse_state_->getUnits(), 0);
|
||||||
for (size_t reg = 0; reg < OOIP.size(); ++reg) {
|
for (size_t reg = 0; reg < OOIP.size(); ++reg) {
|
||||||
outputFluidInPlace(OOIP[reg], COIP[reg], eclipse_state_->getUnits(), reg+1);
|
outputFluidInPlace(OOIP[reg], COIP[reg], eclipse_state_->getUnits(), reg+1);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// accumulate total time
|
// accumulate total time
|
||||||
stime += st;
|
stime += st;
|
||||||
|
Loading…
Reference in New Issue
Block a user