Public Member Functions | Public Attributes

internal::DoFHandler::NumberCache Struct Reference

List of all members.

Public Member Functions

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

Public Attributes

unsigned int n_global_dofs
unsigned int n_locally_owned_dofs
IndexSet locally_owned_dofs
std::vector< unsigned int > n_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 deals with.

Definition at line 33 of file number_cache.h.


Constructor & Destructor Documentation

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

Default constructor.


Member Function Documentation

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

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

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 109 of file number_cache.h.

References locally_owned_dofs, locally_owned_dofs_per_processor, n_global_dofs, n_locally_owned_dofs, and n_locally_owned_dofs_per_processor.


Member Data Documentation

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

Definition at line 53 of file number_cache.h.

Referenced by serialize().

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

Definition at line 62 of file number_cache.h.

Referenced by serialize().

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 73 of file number_cache.h.

Referenced by serialize().

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 84 of file number_cache.h.

Referenced by serialize().

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 95 of file number_cache.h.

Referenced by serialize().


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Wed May 23 2012 12:04:18 by doxygen 1.7.3