deal.II version GIT relicensing-6834-g5b78e6bcdf 2026-10-01 11: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
partitioner.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) 2020 - 2025 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_particles_partitioner_h
14#define dealii_particles_partitioner_h
15
16#include <deal.II/base/config.h>
17
19
20#include <vector>
21
22
24
25namespace Particles
26{
27 namespace internal
28 {
40 template <int dim, int spacedim>
42 {
47
52 bool valid = false;
53
58 std::vector<types::subdomain_id> neighbors;
59
67 std::vector<unsigned int> send_pointers;
68
74 std::map<types::subdomain_id, std::vector<particle_iterator>>
76
88 std::vector<unsigned int> recv_pointers;
89
97 std::vector<particle_iterator> ghost_particles_iterators;
98
105 std::vector<char> send_data;
106
113 std::vector<char> recv_data;
114 };
115 } // namespace internal
116
117} // namespace Particles
118
120
121#endif
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39
std::map< types::subdomain_id, std::vector< particle_iterator > > ghost_particles_by_domain
Definition partitioner.h:75
std::vector< particle_iterator > ghost_particles_iterators
Definition partitioner.h:97
std::vector< types::subdomain_id > neighbors
Definition partitioner.h:58
std::vector< unsigned int > recv_pointers
Definition partitioner.h:88
std::vector< unsigned int > send_pointers
Definition partitioner.h:67