Reference documentation for deal.II version 9.3.3
|
#include <deal.II/dofs/dof_handler_policy.h>
Public Member Functions | |
ParallelShared (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 |
Private Attributes | |
SmartPointer< DoFHandler< dim, spacedim > > | dof_handler |
This class implements the policy for operations when we use a parallel::shared::Triangulation object.
Definition at line 160 of file dof_handler_policy.h.
internal::DoFHandlerImplementation::Policy::ParallelShared< dim, spacedim >::ParallelShared | ( | DoFHandler< dim, spacedim > & | dof_handler | ) |
Constructor.
dof_handler | The DoFHandler object upon which this policy class is supposed to work. |
Definition at line 2873 of file dof_handler_policy.cc.
|
overridevirtual |
Distribute degrees of freedom on the object given as first argument.
On distribution, DoFs are renumbered subdomain-wise and number_cache.n_locally_owned_dofs_per_processor[i] and number_cache.locally_owned_dofs are updated consistently.
Implements internal::DoFHandlerImplementation::Policy::PolicyBase< dim, spacedim >.
Definition at line 3014 of file dof_handler_policy.cc.
|
overridevirtual |
This function is not yet implemented.
Implements internal::DoFHandlerImplementation::Policy::PolicyBase< dim, spacedim >.
Definition at line 3159 of file dof_handler_policy.cc.
|
overridevirtual |
Renumber degrees of freedom as specified by the first argument.
The input argument new_numbers
may either have as many entries as there are global degrees of freedom (i.e. dof_handler.n_dofs() ) or dof_handler.locally_owned_dofs().n_elements(). Therefore it can be utilized with renumbering functions implemented for the parallel::distributed case.
Implements internal::DoFHandlerImplementation::Policy::PolicyBase< dim, spacedim >.
Definition at line 3347 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 3497 of file dof_handler_policy.cc.
|
private |
The DoFHandler object on which this policy object works.
Definition at line 210 of file dof_handler_policy.h.