15#ifndef dealii_dof_handler_policy_h
16#define dealii_dof_handler_policy_h
34template <
int dim,
int spacedim>
41 namespace DoFHandlerImplementation
58 template <
int dim,
int spacedim>
83 virtual std::vector<NumberCache>
93 const std::vector<types::global_dof_index> &new_numbers)
const = 0;
105 const unsigned int level,
106 const std::vector<types::global_dof_index> &new_numbers)
const = 0;
114 template <
int dim,
int spacedim>
130 virtual std::vector<NumberCache>
135 renumber_dofs(
const std::vector<types::global_dof_index> &new_numbers)
141 const std::vector<types::global_dof_index>
142 &new_numbers)
const override;
157 template <
int dim,
int spacedim>
182 virtual std::vector<NumberCache>
195 renumber_dofs(
const std::vector<types::global_dof_index> &new_numbers)
201 const std::vector<types::global_dof_index>
202 &new_numbers)
const override;
216 template <
int dim,
int spacedim>
232 virtual std::vector<NumberCache>
237 renumber_dofs(
const std::vector<types::global_dof_index> &new_numbers)
243 const std::vector<types::global_dof_index>
244 &new_numbers)
const override;
virtual NumberCache renumber_dofs(const std::vector< types::global_dof_index > &new_numbers) const override
ParallelDistributed(DoFHandler< dim, spacedim > &dof_handler)
virtual std::vector< NumberCache > distribute_mg_dofs() const override
virtual NumberCache renumber_mg_dofs(const unsigned int level, const std::vector< types::global_dof_index > &new_numbers) const override
virtual NumberCache distribute_dofs() const override
SmartPointer< DoFHandler< dim, spacedim > > dof_handler
virtual NumberCache distribute_dofs() const override
virtual std::vector< NumberCache > distribute_mg_dofs() const override
virtual NumberCache renumber_mg_dofs(const unsigned int level, const std::vector< types::global_dof_index > &new_numbers) const override
ParallelShared(DoFHandler< dim, spacedim > &dof_handler)
virtual NumberCache renumber_dofs(const std::vector< types::global_dof_index > &new_numbers) const override
SmartPointer< DoFHandler< dim, spacedim > > dof_handler
virtual NumberCache distribute_dofs() const =0
virtual NumberCache renumber_mg_dofs(const unsigned int level, const std::vector< types::global_dof_index > &new_numbers) const =0
virtual NumberCache renumber_dofs(const std::vector< types::global_dof_index > &new_numbers) const =0
virtual std::vector< NumberCache > distribute_mg_dofs() const =0
virtual ~PolicyBase()=default
virtual std::vector< NumberCache > distribute_mg_dofs() const override
virtual NumberCache distribute_dofs() const override
Sequential(DoFHandler< dim, spacedim > &dof_handler)
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
SmartPointer< DoFHandler< dim, spacedim > > dof_handler
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_CXX20_REQUIRES(condition)
#define DEAL_II_NAMESPACE_CLOSE