mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
changed: BlackoilModel parameters moved to Opm::Parameters namespace
This commit is contained in:
@@ -258,7 +258,7 @@ std::unique_ptr<Matrix> blockJacobiAdjacency(const Grid& grid,
|
||||
// Set it up manually
|
||||
ElementMapper elemMapper(simulator_.vanguard().gridView(), Dune::mcmgElementLayout());
|
||||
detail::findOverlapAndInterior(simulator_.vanguard().grid(), elemMapper, overlapRows_, interiorRows_);
|
||||
useWellConn_ = Parameters::get<TypeTag, Properties::MatrixAddWellContributions>();
|
||||
useWellConn_ = Parameters::get<TypeTag, Parameters::MatrixAddWellContributions>();
|
||||
const bool ownersFirst = Parameters::get<TypeTag, Parameters::OwnerCellsFirst>();
|
||||
if (!ownersFirst) {
|
||||
const std::string msg = "The linear solver no longer supports --owner-cells-first=false.";
|
||||
@@ -324,7 +324,7 @@ std::unique_ptr<Matrix> blockJacobiAdjacency(const Grid& grid,
|
||||
// Outch! We need to be able to scale the linear system! Hence const_cast
|
||||
matrix_ = const_cast<Matrix*>(&M);
|
||||
|
||||
useWellConn_ = Parameters::get<TypeTag, Properties::MatrixAddWellContributions>();
|
||||
useWellConn_ = Parameters::get<TypeTag, Parameters::MatrixAddWellContributions>();
|
||||
// setup sparsity pattern for jacobi matrix for preconditioner (only used for openclSolver)
|
||||
} else {
|
||||
// Pointers should not change
|
||||
|
||||
Reference in New Issue
Block a user