ExtractParallelGridInformationToISTL.hpp
Go to the documentation of this file.
1/*
2 Copyright 2015 Dr. Markus Blatt - HPC-Simulation-Software & Services
3 Copyright 2015 NTNU
4
5 This file is part of the Open Porous Media project (OPM).
6
7 OPM is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 OPM is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with OPM. If not, see <http://www.gnu.org/licenses/>.
19*/
20#ifndef OPM_EXTRACTPARALLELGRIDINFORMATIONTOISTL_HEADER_INCLUDED
21#define OPM_EXTRACTPARALLELGRIDINFORMATIONTOISTL_HEADER_INCLUDED
22#ifdef HAVE_OPM_GRID
23
24#include <any>
25
26namespace Dune { class CpGrid; }
27
28namespace Opm
29{
30
40
41void extractParallelGridInformationToISTL(const Dune::CpGrid& grid, std::any& anyComm);
42
43// Grid is not CpGrid --> do nothing.
44template <class Grid>
45void extractParallelGridInformationToISTL(const Grid&, std::any&)
46{}
47
48} // end namespace Opm
49#endif //defined(HAVE_OPM_GRID)
50#endif // OPM_EXTRACTPARALLELGRIDINFORMATIONTOISTL_HEADER_INCLUDED
Definition: SupportsFaceTag.hpp:27
Definition: BlackoilPhases.hpp:27