Reference documentation for deal.II version 9.1.0-pre
Public Member Functions | Private Attributes | List of all members
internal::DoFHandlerImplementation::Policy::ParallelDistributed< DoFHandlerType > Class Template Reference

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

Inheritance diagram for internal::DoFHandlerImplementation::Policy::ParallelDistributed< DoFHandlerType >:
[legend]

Public Member Functions

 ParallelDistributed (DoFHandlerType &dof_handler)
 
virtual NumberCache distribute_dofs () const override
 
virtual std::vector< NumberCachedistribute_mg_dofs () const override
 
virtual NumberCache renumber_dofs (const std::vector< types::global_dof_index > &new_numbers) const override
 
virtual NumberCache renumber_mg_dofs (const unsigned int level, const std::vector< types::global_dof_index > &new_numbers) const override
 
- Public Member Functions inherited from internal::DoFHandlerImplementation::Policy::PolicyBase< DoFHandlerType::dimension, DoFHandlerType::space_dimension >
virtual ~PolicyBase ()=default
 

Private Attributes

SmartPointer< DoFHandlerType > dof_handler
 

Detailed Description

template<class DoFHandlerType>
class internal::DoFHandlerImplementation::Policy::ParallelDistributed< DoFHandlerType >

This class implements the policy for operations when we use a parallel::distributed::Triangulation object.

Definition at line 66 of file tria.h.

Constructor & Destructor Documentation

template<class DoFHandlerType >
internal::DoFHandlerImplementation::Policy::ParallelDistributed< DoFHandlerType >::ParallelDistributed ( DoFHandlerType &  dof_handler)

Constructor.

Parameters
dof_handlerThe DoFHandler object upon which this policy class is supposed to work.

Definition at line 4080 of file dof_handler_policy.cc.

Member Function Documentation

template<class DoFHandlerType >
NumberCache internal::DoFHandlerImplementation::Policy::ParallelDistributed< DoFHandlerType >::distribute_dofs ( ) const
overridevirtual

Distribute degrees of freedom on the DoFHandler object associated with this policy object. The argument is a reference to the NumberCache of the DoFHandler object. The function may modify it to make DoFHandler related functions work properly when called within the policies classes. The updated NumberCache is written to that argument.

Implements internal::DoFHandlerImplementation::Policy::PolicyBase< DoFHandlerType::dimension, DoFHandlerType::space_dimension >.

Definition at line 4089 of file dof_handler_policy.cc.

template<class DoFHandlerType >
std::vector< NumberCache > internal::DoFHandlerImplementation::Policy::ParallelDistributed< DoFHandlerType >::distribute_mg_dofs ( ) const
overridevirtual

Distribute the multigrid dofs on each level of the DoFHandler associated with this policy object. Return a vector of number caches for all of the levels.

Implements internal::DoFHandlerImplementation::Policy::PolicyBase< DoFHandlerType::dimension, DoFHandlerType::space_dimension >.

Definition at line 4347 of file dof_handler_policy.cc.

template<class DoFHandlerType >
NumberCache internal::DoFHandlerImplementation::Policy::ParallelDistributed< DoFHandlerType >::renumber_dofs ( const std::vector< types::global_dof_index > &  new_numbers) const
overridevirtual

Renumber degrees of freedom as specified by the first argument.

Return an updated NumberCache for the DoFHandler after renumbering.

Implements internal::DoFHandlerImplementation::Policy::PolicyBase< DoFHandlerType::dimension, DoFHandlerType::space_dimension >.

Definition at line 4630 of file dof_handler_policy.cc.

template<class DoFHandlerType >
NumberCache internal::DoFHandlerImplementation::Policy::ParallelDistributed< DoFHandlerType >::renumber_mg_dofs ( const unsigned int  level,
const std::vector< types::global_dof_index > &  new_numbers 
) const
overridevirtual

Renumber multilevel degrees of freedom on one level of a multigrid hierarchy. The second argument specifies the set of new DoF indices.

Return an updated NumberCache for the specified level of the DoFHandler after renumbering.

Implements internal::DoFHandlerImplementation::Policy::PolicyBase< DoFHandlerType::dimension, DoFHandlerType::space_dimension >.

Definition at line 4864 of file dof_handler_policy.cc.

Member Data Documentation

template<class DoFHandlerType >
SmartPointer<DoFHandlerType> internal::DoFHandlerImplementation::Policy::ParallelDistributed< DoFHandlerType >::dof_handler
private

The DoFHandler object on which this policy object works.

Definition at line 254 of file dof_handler_policy.h.


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