deal.II version GIT relicensing-6809-ge913b9bb34 2026-09-25 17:20:01+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
communication_pattern_base.h
Go to the documentation of this file.
1// -----------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
4// Copyright (C) 2021 - 2023 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Detailed license information governing the source code and contributions
9// can be found in LICENSE.md and CONTRIBUTING.md at the top level directory.
10//
11// -----------------------------------------------------------------------------
12
13#ifndef dealii_base_communication_pattern_base_h
14#define dealii_base_communication_pattern_base_h
15
16#include <deal.II/base/config.h>
17
19
21
22// Forward declaration
23#ifndef DOXYGEN
24class IndexSet;
25#endif
26
27namespace Utilities
28{
29 namespace MPI
30 {
65 {
66 public:
70 virtual ~CommunicationPatternBase() = default;
71
85 virtual void
86 reinit(const IndexSet &locally_owned_indices,
87 const IndexSet &ghost_indices,
88 const MPI_Comm communicator) = 0;
89
93 virtual MPI_Comm
95 };
96
97 } // namespace MPI
98
99} // namespace Utilities
100
102
103#endif
virtual void reinit(const IndexSet &locally_owned_indices, const IndexSet &ghost_indices, const MPI_Comm communicator)=0
virtual MPI_Comm get_mpi_communicator() const =0
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39