Reference documentation for deal.II version 9.2.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\}}\)
Public Member Functions | Protected Attributes | List of all members
internal::DoFHandlerImplementation::Policy::Sequential< DoFHandlerType > Class Template Reference

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

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

Public Member Functions

 Sequential (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
 
virtual NumberCache distribute_dofs () const=0
 
virtual std::vector< NumberCachedistribute_mg_dofs () const=0
 

Protected Attributes

SmartPointer< DoFHandlerType > dof_handler
 

Detailed Description

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

This class implements the default policy for sequential operations, i.e. for the case where all cells get degrees of freedom.

Definition at line 117 of file dof_handler_policy.h.

Constructor & Destructor Documentation

◆ Sequential()

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

Constructor.

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

Definition at line 3041 of file dof_handler_policy.cc.

Member Function Documentation

◆ distribute_dofs()

template<class DoFHandlerType >
NumberCache internal::DoFHandlerImplementation::Policy::Sequential< DoFHandlerType >::distribute_dofs
overridevirtual

Definition at line 3049 of file dof_handler_policy.cc.

◆ distribute_mg_dofs()

template<class DoFHandlerType >
std::vector< NumberCache > internal::DoFHandlerImplementation::Policy::Sequential< DoFHandlerType >::distribute_mg_dofs
overridevirtual

Definition at line 3068 of file dof_handler_policy.cc.

◆ renumber_dofs()

template<class DoFHandlerType >
NumberCache internal::DoFHandlerImplementation::Policy::Sequential< 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 3105 of file dof_handler_policy.cc.

◆ renumber_mg_dofs()

template<class DoFHandlerType >
NumberCache internal::DoFHandlerImplementation::Policy::Sequential< 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 3129 of file dof_handler_policy.cc.

Member Data Documentation

◆ dof_handler

template<class DoFHandlerType >
SmartPointer<DoFHandlerType> internal::DoFHandlerImplementation::Policy::Sequential< DoFHandlerType >::dof_handler
protected

The DoFHandler object on which this policy object works.

Definition at line 151 of file dof_handler_policy.h.


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