Merge pull request #2013 from akva2/janitoring

Some janitoring
This commit is contained in:
Atgeirr Flø Rasmussen 2019-09-18 15:57:21 +02:00 committed by GitHub
commit 03e7e0be52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -551,7 +551,6 @@ protected:
#if HAVE_MPI #if HAVE_MPI
if (parallelInformation_.type() == typeid(ParallelISTLInformation)) if (parallelInformation_.type() == typeid(ParallelISTLInformation))
{ {
typedef Dune::OwnerOverlapCopyCommunication<int,int> Comm;
const ParallelISTLInformation& info = const ParallelISTLInformation& info =
boost::any_cast<const ParallelISTLInformation&>( parallelInformation_); boost::any_cast<const ParallelISTLInformation&>( parallelInformation_);
Comm istlComm(info.communicator()); Comm istlComm(info.communicator());

View File

@ -259,7 +259,7 @@ M setupAnisotropic2d(int N, Dune::ParallelIndexSet<G,L,s>& indices, const Dune::
//BOOST_AUTO_TEST_CASE(runBlackoilAmgLaplace) //BOOST_AUTO_TEST_CASE(runBlackoilAmgLaplace)
void runBlackoilAmgLaplace() void runBlackoilAmgLaplace()
{ {
const int BS=2, N=100; constexpr int BS=2, N=100;
typedef Dune::FieldMatrix<double,BS,BS> MatrixBlock; typedef Dune::FieldMatrix<double,BS,BS> MatrixBlock;
typedef Dune::BCRSMatrix<MatrixBlock> BCRSMat; typedef Dune::BCRSMatrix<MatrixBlock> BCRSMat;
typedef Dune::FieldVector<double,BS> VectorBlock; typedef Dune::FieldVector<double,BS> VectorBlock;