Reference documentation for deal.II version 9.3.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\}}\)
Public Member Functions | Public Attributes | List of all members
parallel::TriangulationBase< dim, spacedim >::NumberCache Struct Reference

#include <deal.II/distributed/tria_base.h>

Public Member Functions

 NumberCache ()
 

Public Attributes

unsigned int n_locally_owned_active_cells
 
types::global_cell_index n_global_active_cells
 
unsigned int n_global_levels
 
std::set< types::subdomain_idghost_owners
 
std::set< types::subdomain_idlevel_ghost_owners
 
std::shared_ptr< const Utilities::MPI::Partitioneractive_cell_index_partitioner
 
std::vector< std::shared_ptr< const Utilities::MPI::Partitioner > > level_cell_index_partitioners
 

Detailed Description

template<int dim, int spacedim = dim>
struct parallel::TriangulationBase< dim, spacedim >::NumberCache

A structure that contains information about the distributed triangulation.

Definition at line 327 of file tria_base.h.

Constructor & Destructor Documentation

◆ NumberCache()

template<int dim, int spacedim>
parallel::TriangulationBase< dim, spacedim >::NumberCache::NumberCache ( )

Definition at line 112 of file tria_base.cc.

Member Data Documentation

◆ n_locally_owned_active_cells

template<int dim, int spacedim = dim>
unsigned int parallel::TriangulationBase< dim, spacedim >::NumberCache::n_locally_owned_active_cells

Number of locally owned active cells of this MPI rank.

Definition at line 332 of file tria_base.h.

◆ n_global_active_cells

template<int dim, int spacedim = dim>
types::global_cell_index parallel::TriangulationBase< dim, spacedim >::NumberCache::n_global_active_cells

The total number of active cells (sum of n_locally_owned_active_cells).

Definition at line 337 of file tria_base.h.

◆ n_global_levels

template<int dim, int spacedim = dim>
unsigned int parallel::TriangulationBase< dim, spacedim >::NumberCache::n_global_levels

The global number of levels computed as the maximum number of levels taken over all MPI ranks, so n_levels()<=n_global_levels = max(n_levels() on proc i).

Definition at line 343 of file tria_base.h.

◆ ghost_owners

template<int dim, int spacedim = dim>
std::set<types::subdomain_id> parallel::TriangulationBase< dim, spacedim >::NumberCache::ghost_owners

A set containing the subdomain_id (MPI rank) of the owners of the ghost cells on this processor.

Definition at line 348 of file tria_base.h.

◆ level_ghost_owners

template<int dim, int spacedim = dim>
std::set<types::subdomain_id> parallel::TriangulationBase< dim, spacedim >::NumberCache::level_ghost_owners

A set containing the MPI ranks of the owners of the level ghost cells on this processor (for all levels).

Definition at line 353 of file tria_base.h.

◆ active_cell_index_partitioner

template<int dim, int spacedim = dim>
std::shared_ptr<const Utilities::MPI::Partitioner> parallel::TriangulationBase< dim, spacedim >::NumberCache::active_cell_index_partitioner

Partitioner for the global active cell indices.

Definition at line 359 of file tria_base.h.

◆ level_cell_index_partitioners

template<int dim, int spacedim = dim>
std::vector<std::shared_ptr<const Utilities::MPI::Partitioner> > parallel::TriangulationBase< dim, spacedim >::NumberCache::level_cell_index_partitioners

Partitioner for the global level cell indices for each level.

Definition at line 365 of file tria_base.h.


The documentation for this struct was generated from the following files: