NeoN
A framework for CFD software
Loading...
Searching...
No Matches
communicationPattern.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 NeoN authors
2//
3// SPDX-License-Identifier: MIT
4
5#pragma once
6
7#include <vector>
8
10
11#ifdef NF_WITH_MPI_SUPPORT
14
15namespace NeoN
16{
17
25struct CommunicationPattern
26{
32 std::vector<int> sendCounts;
33
40 std::vector<int> recvIdx;
41
53 std::vector<localIdx> boundaryMapVector;
54
56 mpi::Environment env;
57
69 std::vector<localIdx> offDiagRowSortPerm;
70};
71
86CommunicationPattern computeCommunicationPattern(const UnstructuredMesh& mesh);
87
88} // namespace NeoN
89
90#endif // NF_WITH_MPI_SUPPORT
Integer types used throughout NeoN.
Definition array.hpp:18