StandardPreconditioners_gpu_mpi.hpp
Go to the documentation of this file.
1/*
2 Copyright 2025 Equinor ASA
3
4 This file is part of the Open Porous Media project (OPM).
5 OPM is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9 OPM is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13 You should have received a copy of the GNU General Public License
14 along with OPM. If not, see <http://www.gnu.org/licenses/>.
15*/
16
17#ifndef OPM_STANDARDPRECONDITIONERS_GPU_MPI_HEADER
18#define OPM_STANDARDPRECONDITIONERS_GPU_MPI_HEADER
19
20
21namespace Opm {
22
23
24template <class Operator, class Comm>
25struct StandardPreconditioners<Operator, Comm, typename std::enable_if_t<Opm::is_gpu_operator_v<Operator>>>
26{
27 static void add()
28 {
29 // No standard preconditioners for this type of operator.
30 }
31};
32
33
34}// namespace Opm
35
36
37#endif // OPM_STANDARDPRECONDITIONERS_GPU_MPI_HEADER
Dune::OwnerOverlapCopyCommunication< int, int > Comm
Definition: FlexibleSolver_impl.hpp:304
Definition: blackoilboundaryratevector.hh:39
Definition: StandardPreconditioners_mpi.hpp:128