Skip to content
Snippets Groups Projects
Commit 952d4251 authored by Kutalmış Berçin's avatar Kutalmış Berçin Committed by Mark OLESEN
Browse files

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

parent 0de1df73
Branches
Tags
1 merge request!585Misc. changes in finite-area methods
......@@ -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;
......
......@@ -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;
}
......
......@@ -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;
......
......@@ -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;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment