BUG: regionFaModels: report min/max for all processors (fixes #2655)

This commit is contained in:
Kutalmis Bercin 2022-12-09 09:26:48 +00:00 committed by Mark OLESEN
parent 0de1df7309
commit 952d42512d
4 changed files with 7 additions and 12 deletions

View File

@ -121,9 +121,7 @@ void KirchhoffShell::solveDisplacement()
}
}
Info<< "ws_vibrationShell: "
<< "min = " << min(w_).value() << ", "
<< "max = " << max(w_).value() << endl;
Info<< w_.name() << " min/max = " << gMinMax(w_) << endl;
// Restore old time in main time
w_.oldTime() = w0;

View File

@ -162,10 +162,8 @@ void kinematicThinFilm::evolveRegion()
}
}
Info<< "Film h min/max = " << min(h_).value() << ", "
<< max(h_).value() << endl;
Info<< "Film U min/max = " << max(mag(Uf_)).value() << endl;
Info<< "Film h min/max = " << gMinMax(h_) << nl
<< "Film mag(U) min/max = " << gMinMaxMag(Uf_) << endl;
}

View File

@ -361,12 +361,11 @@ void liquidFilmModel::info()
const DimensionedField<scalar, areaMesh>& sf = regionMesh().S();
Info<< indent << "min/max(mag(Uf)) = "
<< gMin(mag(Uf_.field())) << ", "
<< gMax(mag(Uf_.field())) << nl
<< gMinMaxMag(Uf_.field()) << nl
<< indent << "min/max(delta) = "
<< gMin(h_.field()) << ", " << gMax(h_.field()) << nl
<< gMinMax(h_.field()) << nl
<< indent << "coverage = "
<< gSum(alpha()().field()*mag(sf.field()))/gSum(mag(sf.field())) << nl
<< gSum(alpha()().field()*mag(sf.field()))/gSumMag(sf.field()) << nl
<< indent << "total mass = "
<< gSum(availableMass_) << nl;

View File

@ -178,7 +178,7 @@ void thermalShell::evolveRegion()
solveEnergy();
}
Info<< "T min/max = " << min(T_) << ", " << max(T_) << endl;
Info<< T_.name() << " min/max = " << gMinMax(T_) << endl;
}