mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
output the well equation residual.
This commit is contained in:
@@ -2707,6 +2707,7 @@ namespace detail {
|
|||||||
for (int idx = 0; idx < np; ++idx) {
|
for (int idx = 0; idx < np; ++idx) {
|
||||||
std::cout << " W-FLUX(" << materialName(idx).substr(0, 1) << ")";
|
std::cout << " W-FLUX(" << materialName(idx).substr(0, 1) << ")";
|
||||||
}
|
}
|
||||||
|
std::cout << " WELL-CONT ";
|
||||||
std::cout << '\n';
|
std::cout << '\n';
|
||||||
}
|
}
|
||||||
const std::streamsize oprec = std::cout.precision(3);
|
const std::streamsize oprec = std::cout.precision(3);
|
||||||
@@ -2721,6 +2722,7 @@ namespace detail {
|
|||||||
for (int idx = 0; idx < np; ++idx) {
|
for (int idx = 0; idx < np; ++idx) {
|
||||||
std::cout << std::setw(11) << well_flux_residual[idx];
|
std::cout << std::setw(11) << well_flux_residual[idx];
|
||||||
}
|
}
|
||||||
|
std::cout << std::setw(11) << residualWell;
|
||||||
std::cout << std::endl;
|
std::cout << std::endl;
|
||||||
std::cout.precision(oprec);
|
std::cout.precision(oprec);
|
||||||
std::cout.flags(oflags);
|
std::cout.flags(oflags);
|
||||||
|
|||||||
Reference in New Issue
Block a user