From 4eb77bebb49465a3b371033a8c328d7f04538d49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Tue, 16 Jun 2015 10:42:50 +0200 Subject: [PATCH] Further cleanup: includes, copyright, whitespace. --- opm/autodiff/NewtonIterationBlackoilCPR.cpp | 24 +----------- .../NewtonIterationBlackoilInterleaved.cpp | 39 ------------------- 2 files changed, 2 insertions(+), 61 deletions(-) diff --git a/opm/autodiff/NewtonIterationBlackoilCPR.cpp b/opm/autodiff/NewtonIterationBlackoilCPR.cpp index 87294fc9a..721b260c1 100644 --- a/opm/autodiff/NewtonIterationBlackoilCPR.cpp +++ b/opm/autodiff/NewtonIterationBlackoilCPR.cpp @@ -27,33 +27,16 @@ #include #include #include -#include -#include #include -#include #include - -#include - -// #include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - #if HAVE_UMFPACK #include #else #include #endif + namespace Opm { @@ -61,8 +44,6 @@ namespace Opm typedef AutoDiffBlock ADB; typedef ADB::V V; typedef ADB::M M; - typedef Dune::FieldMatrix MatrixBlockType; - typedef Dune::BCRSMatrix Mat; @@ -191,8 +172,7 @@ namespace Opm // Copy solver output to dx. std::copy(x.begin(), x.end(), dx.data()); - if( hasWells ) - { + if ( hasWells ) { // Compute full solution using the eliminated equations. // Recovery in inverse order of elimination. dx = recoverVariable(elim_eqs[1], dx, np); diff --git a/opm/autodiff/NewtonIterationBlackoilInterleaved.cpp b/opm/autodiff/NewtonIterationBlackoilInterleaved.cpp index 834681277..0758c3cf1 100644 --- a/opm/autodiff/NewtonIterationBlackoilInterleaved.cpp +++ b/opm/autodiff/NewtonIterationBlackoilInterleaved.cpp @@ -1,26 +1,5 @@ /* Copyright 2015 SINTEF ICT, Applied Mathematics. - - This file is part of the Open Porous Media project (OPM). - - OPM is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - OPM is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with OPM. If not, see . -*/ - -/* - Copyright 2014 SINTEF ICT, Applied Mathematics. - Copyright 2015 Dr. Blatt - HPC-Simulation-Software & Services - Copyright 2015 NTNU Copyright 2015 Statoil AS This file is part of the Open Porous Media project (OPM). @@ -46,24 +25,6 @@ #include #include #include -#include -#include -#include -#include -#include -#include - -// #include -#include -#include -#include -#include -#include -#include -#include -#include - -#include #if HAVE_UMFPACK #include