mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
EclProblem: print "checking conservativeness" messages in debug mode
This commit is contained in:
parent
0be0de38cb
commit
7868e420c0
@ -898,7 +898,9 @@ public:
|
|||||||
// the right thing (i.e., the mass change inside the whole reservoir must be
|
// the right thing (i.e., the mass change inside the whole reservoir must be
|
||||||
// equivalent to the fluxes over the grid's boundaries plus the source rates
|
// equivalent to the fluxes over the grid's boundaries plus the source rates
|
||||||
// specified by the problem)
|
// specified by the problem)
|
||||||
|
std::cout << "checking conservativeness of solution\n";
|
||||||
this->model().checkConservativeness(/*tolerance=*/-1, /*verbose=*/true);
|
this->model().checkConservativeness(/*tolerance=*/-1, /*verbose=*/true);
|
||||||
|
std::cout << "solution is sufficiently conservative\n";
|
||||||
}
|
}
|
||||||
#endif // NDEBUG
|
#endif // NDEBUG
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user