Reference documentation for deal.II version 8.5.1
Public Member Functions | List of all members
internal::DoFHandler::Policy::PolicyBase< dim, spacedim > Class Template Referenceabstract

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

Inheritance diagram for internal::DoFHandler::Policy::PolicyBase< dim, spacedim >:
[legend]

Public Member Functions

virtual ~PolicyBase ()
 
virtual void distribute_dofs (::DoFHandler< dim, spacedim > &dof_handler, NumberCache &number_cache) const =0
 
virtual void distribute_mg_dofs (::DoFHandler< dim, spacedim > &dof_handler, std::vector< NumberCache > &number_caches) const =0
 
virtual void renumber_dofs (const std::vector< types::global_dof_index > &new_numbers, ::DoFHandler< dim, spacedim > &dof_handler, NumberCache &number_cache) const =0
 

Detailed Description

template<int dim, int spacedim>
class internal::DoFHandler::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 53 of file dof_handler.h.

Constructor & Destructor Documentation

◆ ~PolicyBase()

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

Destructor.

Definition at line 936 of file dof_handler_policy.cc.

Member Function Documentation

◆ distribute_dofs()

template<int dim, int spacedim>
virtual void internal::DoFHandler::Policy::PolicyBase< dim, spacedim >::distribute_dofs ( ::DoFHandler< dim, spacedim > &  dof_handler,
NumberCache number_cache 
) const
pure virtual

Distribute degrees of freedom on the object given as first argument. The reference to the NumberCache of the DoFHandler object has to be passed in a second argument. It could then be modified to make DoFHandler related functions work properly when called within the policies classes. The updated NumberCache is written to that argument.

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

◆ distribute_mg_dofs()

template<int dim, int spacedim>
virtual void internal::DoFHandler::Policy::PolicyBase< dim, spacedim >::distribute_mg_dofs ( ::DoFHandler< dim, spacedim > &  dof_handler,
std::vector< NumberCache > &  number_caches 
) const
pure virtual

◆ renumber_dofs()

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

Renumber degrees of freedom as specified by the first argument. The reference to the NumberCache of the DoFHandler object has to be passed in a second argument. It could then be modified to make DoFHandler related functions work properly when called within the policies classes. The updated NumberCache is written to that argument.

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


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