Reference documentation for deal.II version 9.0.0
|
#include <deal.II/dofs/dof_handler_policy.h>
Public Member Functions | |
virtual | ~PolicyBase ()=default |
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 NumberCache | renumber_mg_dofs (const unsigned int level, const std::vector< types::global_dof_index > &new_numbers) const =0 |
A class that implements policies for how the DoFHandler::distribute_dofs and DoFHandler::renumber_dofs functions should work.
Definition at line 54 of file dof_handler.h.
|
virtualdefault |
Destructor.
|
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< DoFHandlerType >, internal::DoFHandlerImplementation::Policy::ParallelShared< DoFHandlerType >, and internal::DoFHandlerImplementation::Policy::Sequential< DoFHandlerType >.
|
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< DoFHandlerType >, internal::DoFHandlerImplementation::Policy::ParallelShared< DoFHandlerType >, and internal::DoFHandlerImplementation::Policy::Sequential< DoFHandlerType >.
|
pure virtual |
Renumber degrees of freedom as specified by the first argument.
Return an updated NumberCache for the DoFHandler after renumbering.
Implemented in internal::DoFHandlerImplementation::Policy::ParallelDistributed< DoFHandlerType >, internal::DoFHandlerImplementation::Policy::ParallelShared< DoFHandlerType >, and internal::DoFHandlerImplementation::Policy::Sequential< DoFHandlerType >.
|
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< DoFHandlerType >, internal::DoFHandlerImplementation::Policy::ParallelShared< DoFHandlerType >, and internal::DoFHandlerImplementation::Policy::Sequential< DoFHandlerType >.