Reference documentation for deal.II version 9.3.3
\(\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\}}\)
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<typename std::multimap<internal::LevelInd,
98 Particle<dim, spacedim>>::iterator>
100
107 std::vector<char> send_data;
108
115 std::vector<char> recv_data;
116 };
117 } // namespace internal
118
119} // namespace Particles
120
122
123#endif
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:402
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:403
std::pair< int, int > LevelInd
Definition: particle.h:42
std::map< types::subdomain_id, std::vector< particle_iterator > > ghost_particles_by_domain
Definition: partitioner.h:75
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
std::vector< typename std::multimap< internal::LevelInd, Particle< dim, spacedim > >::iterator > ghost_particles_iterators
Definition: partitioner.h:99