Reference documentation for deal.II version 8.5.0
Public Member Functions | Public Attributes | List of all members
internal::DoFHandler::NumberCache Struct Reference

#include <deal.II/dofs/number_cache.h>

Public Member Functions

 NumberCache ()
std::size_t memory_consumption () const
void clear ()
template<class Archive >
void serialize (Archive &ar, const unsigned int version)

Public Attributes

types::global_dof_index n_global_dofs
types::global_dof_index n_locally_owned_dofs
IndexSet locally_owned_dofs
std::vector< types::global_dof_indexn_locally_owned_dofs_per_processor
std::vector< IndexSetlocally_owned_dofs_per_processor

Detailed Description

A structure used by the DoFHandler classes to store information about the degrees of freedom they deal with.

Definition at line 35 of file number_cache.h.

Constructor & Destructor Documentation

internal::DoFHandler::NumberCache::NumberCache ( )

Default constructor.

Definition at line 25 of file

Member Function Documentation

std::size_t internal::DoFHandler::NumberCache::memory_consumption ( ) const

Determine an estimate for the memory consumption (in bytes) of this object.

Definition at line 42 of file

void internal::DoFHandler::NumberCache::clear ( )

This function resets all the stored information.

Definition at line 32 of file

template<class Archive >
void internal::DoFHandler::NumberCache::serialize ( Archive &  ar,
const unsigned int  version 

Read or write the data of this object to or from a stream for the purpose of serialization

Definition at line 98 of file number_cache.h.

Member Data Documentation

types::global_dof_index internal::DoFHandler::NumberCache::n_global_dofs

Total number of dofs, accumulated over all processors that may participate on this mesh.

Definition at line 57 of file number_cache.h.

types::global_dof_index internal::DoFHandler::NumberCache::n_locally_owned_dofs

Number of dofs owned by this MPI process. If this is a sequential computation, then this equals n_global_dofs.

Definition at line 63 of file number_cache.h.

IndexSet internal::DoFHandler::NumberCache::locally_owned_dofs

An index set denoting the set of locally owned dofs. If this is a sequential computation, then it contains the entire range [0,n_global_dofs).

Definition at line 70 of file number_cache.h.

std::vector<types::global_dof_index> internal::DoFHandler::NumberCache::n_locally_owned_dofs_per_processor

The number of dofs owned by each of the various MPI processes. If this is a sequential job, then the vector contains a single element equal to n_global_dofs.

Definition at line 77 of file number_cache.h.

std::vector<IndexSet> internal::DoFHandler::NumberCache::locally_owned_dofs_per_processor

The dofs owned by each of the various MPI processes. If this is a sequential job, then the vector has a single element equal to locally_owned_dofs.

Definition at line 84 of file number_cache.h.

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