collecting the NaN and too large well residuals

make sure all the processes will throw if there is any of the processes
found abnormal residual values.
This commit is contained in:
Kai Bao
2017-08-22 14:49:30 +02:00
parent 8abe48a693
commit 355be6c26c
5 changed files with 102 additions and 25 deletions

View File

@@ -168,6 +168,8 @@ namespace Opm {
// later, might make share_ptr const later.
std::vector<WellInterfacePtr > well_container_;
using ConvergenceReport = typename WellInterface<TypeTag>::ConvergenceReport;
// create the well container
static std::vector<WellInterfacePtr > createWellContainer(const Wells* wells,
const std::vector<const Well*>& wells_ecl,