Reference documentation for deal.II version 9.5.0
\(\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// Copyright (C) 2020 - 2021 by the deal.II authors
4//
5// This file is part of the deal.II library.
6//
7// The deal.II library is free software; you can use it, redistribute
8// it, and/or modify it under the terms of the GNU Lesser General
9// Public License as published by the Free Software Foundation; either
10// version 2.1 of the License, or (at your option) any later version.
11// The full text of the license can be found in the file LICENSE.md at
12// the top level directory of deal.II.
13//
14// ---------------------------------------------------------------------
15
16#ifndef dealii_particles_partitioner_h
17#define dealii_particles_partitioner_h
18
19#include <deal.II/base/config.h>
20
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:472
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:473
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