16 #ifndef dealii_dof_handler_policy_h 17 #define dealii_dof_handler_policy_h 21 #include <deal.II/base/config.h> 22 #include <deal.II/base/exceptions.h> 23 #include <deal.II/base/template_constraints.h> 24 #include <deal.II/dofs/dof_tools.h> 25 #include <deal.II/dofs/dof_renumbering.h> 31 DEAL_II_NAMESPACE_OPEN
38 namespace DoFHandlerImplementation
48 struct Implementation;
55 template <
int dim,
int spacedim>
82 std::vector<NumberCache>
92 renumber_dofs (
const std::vector<types::global_dof_index> &new_numbers)
const = 0;
105 const std::vector<types::global_dof_index> &new_numbers)
const = 0;
113 template <
class DoFHandlerType>
131 std::vector<NumberCache>
137 renumber_dofs (
const std::vector<types::global_dof_index> &new_numbers)
const;
143 const std::vector<types::global_dof_index> &new_numbers)
const;
158 template <
class DoFHandlerType>
185 std::vector<NumberCache>
199 renumber_dofs (
const std::vector<types::global_dof_index> &new_numbers)
const;
205 const std::vector<types::global_dof_index> &new_numbers)
const;
219 template <
class DoFHandlerType>
237 std::vector<NumberCache>
243 renumber_dofs (
const std::vector<types::global_dof_index> &new_numbers)
const;
249 const std::vector<types::global_dof_index> &new_numbers)
const;
263 DEAL_II_NAMESPACE_CLOSE
virtual NumberCache renumber_dofs(const std::vector< types::global_dof_index > &new_numbers) const
virtual NumberCache distribute_dofs() const
virtual NumberCache distribute_dofs() const =0
virtual std::vector< NumberCache > distribute_mg_dofs() 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
virtual NumberCache renumber_mg_dofs(const unsigned int level, const std::vector< types::global_dof_index > &new_numbers) const
ParallelDistributed(DoFHandlerType &dof_handler)
virtual std::vector< NumberCache > distribute_mg_dofs() const
Sequential(DoFHandlerType &dof_handler)
virtual NumberCache renumber_mg_dofs(const unsigned int level, const std::vector< types::global_dof_index > &new_numbers) const
virtual NumberCache distribute_dofs() const
virtual NumberCache renumber_mg_dofs(const unsigned int level, 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
virtual NumberCache renumber_dofs(const std::vector< types::global_dof_index > &new_numbers) const
virtual ~PolicyBase()=default
SmartPointer< DoFHandlerType > dof_handler
virtual std::vector< NumberCache > distribute_mg_dofs() const
ParallelShared(DoFHandlerType &dof_handler)
virtual NumberCache distribute_dofs() const
virtual NumberCache renumber_dofs(const std::vector< types::global_dof_index > &new_numbers) const
SmartPointer< DoFHandlerType > dof_handler
SmartPointer< DoFHandlerType > dof_handler