Reference documentation for deal.II version 9.2.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
 

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 257 of file tria_base.h.

Constructor & Destructor Documentation

◆ NumberCache()

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

Definition at line 110 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 262 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 267 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 273 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 278 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 283 of file tria_base.h.


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