Reference documentation for deal.II version 9.3.3
|
#include <deal.II/dofs/dof_handler_policy.h>
Public Member Functions | |
Sequential (DoFHandler< dim, spacedim > &dof_handler) | |
virtual NumberCache | distribute_dofs () const override |
virtual std::vector< NumberCache > | distribute_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 |
Protected Attributes | |
SmartPointer< DoFHandler< dim, spacedim > > | dof_handler |
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.
internal::DoFHandlerImplementation::Policy::Sequential< dim, spacedim >::Sequential | ( | DoFHandler< dim, spacedim > & | dof_handler | ) |
Constructor.
dof_handler | The DoFHandler object upon which this policy class is supposed to work. |
Definition at line 2770 of file dof_handler_policy.cc.
|
overridevirtual |
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.
Implements internal::DoFHandlerImplementation::Policy::PolicyBase< dim, spacedim >.
Definition at line 2779 of file dof_handler_policy.cc.
|
overridevirtual |
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.
Implements internal::DoFHandlerImplementation::Policy::PolicyBase< dim, spacedim >.
Definition at line 2798 of file dof_handler_policy.cc.
|
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< dim, spacedim >.
Definition at line 2833 of file dof_handler_policy.cc.
|
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< dim, spacedim >.
Definition at line 2857 of file dof_handler_policy.cc.
|
protected |
The DoFHandler object on which this policy object works.
Definition at line 150 of file dof_handler_policy.h.