output the well equation residual.

This commit is contained in:
Kai Bao 2015-10-14 12:58:06 +02:00
parent a44de6bb1d
commit 50938effc4

View File

@ -2707,6 +2707,7 @@ namespace detail {
for (int idx = 0; idx < np; ++idx) {
std::cout << " W-FLUX(" << materialName(idx).substr(0, 1) << ")";
}
std::cout << " WELL-CONT ";
std::cout << '\n';
}
const std::streamsize oprec = std::cout.precision(3);
@ -2721,6 +2722,7 @@ namespace detail {
for (int idx = 0; idx < np; ++idx) {
std::cout << std::setw(11) << well_flux_residual[idx];
}
std::cout << std::setw(11) << residualWell;
std::cout << std::endl;
std::cout.precision(oprec);
std::cout.flags(oflags);