Reference documentation for deal.II version 9.6.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\}}\)
Loading...
Searching...
No Matches
internal::DoFHandlerImplementation::Policy::PolicyBase< dim, spacedim > Class Template Referenceabstract

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

Inheritance diagram for internal::DoFHandlerImplementation::Policy::PolicyBase< dim, spacedim >:

Public Member Functions

virtual ~PolicyBase ()=default
 
virtual NumberCache distribute_dofs () const =0
 
virtual std::vector< NumberCachedistribute_mg_dofs () const =0
 
virtual NumberCache renumber_dofs (const std::vector< types::global_dof_index > &new_numbers) const =0
 
virtual NumberCache renumber_mg_dofs (const unsigned int level, const std::vector< types::global_dof_index > &new_numbers) const =0
 

Detailed Description

template<int dim, int spacedim>
class internal::DoFHandlerImplementation::Policy::PolicyBase< dim, spacedim >

A class that implements policies for how the DoFHandler::distribute_dofs and DoFHandler::renumber_dofs functions should work.

Definition at line 59 of file dof_handler_policy.h.

Constructor & Destructor Documentation

◆ ~PolicyBase()

template<int dim, int spacedim>
virtual internal::DoFHandlerImplementation::Policy::PolicyBase< dim, spacedim >::~PolicyBase ( )
virtualdefault

Destructor.

Member Function Documentation

◆ distribute_dofs()

template<int dim, int spacedim>
virtual NumberCache internal::DoFHandlerImplementation::Policy::PolicyBase< dim, spacedim >::distribute_dofs ( ) const
pure virtual

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.

Implemented in internal::DoFHandlerImplementation::Policy::ParallelDistributed< dim, spacedim >, internal::DoFHandlerImplementation::Policy::ParallelShared< dim, spacedim >, and internal::DoFHandlerImplementation::Policy::Sequential< dim, spacedim >.

◆ distribute_mg_dofs()

template<int dim, int spacedim>
virtual std::vector< NumberCache > internal::DoFHandlerImplementation::Policy::PolicyBase< dim, spacedim >::distribute_mg_dofs ( ) const
pure virtual

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.

Implemented in internal::DoFHandlerImplementation::Policy::ParallelDistributed< dim, spacedim >, internal::DoFHandlerImplementation::Policy::ParallelShared< dim, spacedim >, and internal::DoFHandlerImplementation::Policy::Sequential< dim, spacedim >.

◆ renumber_dofs()

template<int dim, int spacedim>
virtual NumberCache internal::DoFHandlerImplementation::Policy::PolicyBase< dim, spacedim >::renumber_dofs ( const std::vector< types::global_dof_index > & new_numbers) const
pure virtual

◆ renumber_mg_dofs()

template<int dim, int spacedim>
virtual NumberCache internal::DoFHandlerImplementation::Policy::PolicyBase< dim, spacedim >::renumber_mg_dofs ( const unsigned int level,
const std::vector< types::global_dof_index > & new_numbers ) const
pure virtual

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.

Implemented in internal::DoFHandlerImplementation::Policy::ParallelDistributed< dim, spacedim >, internal::DoFHandlerImplementation::Policy::ParallelShared< dim, spacedim >, and internal::DoFHandlerImplementation::Policy::Sequential< dim, spacedim >.


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