mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
output the well equation residual.
This commit is contained in:
parent
a44de6bb1d
commit
50938effc4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user