![]() |
Reference documentation for deal.II version 9.6.0
|
#include <deal.II/hp/fe_collection.h>
Static Public Member Functions | |
static unsigned int | next_index (const typename hp::FECollection< dim, spacedim > &fe_collection, const unsigned int fe_index) |
static unsigned int | previous_index (const typename hp::FECollection< dim, spacedim > &fe_collection, const unsigned int fe_index) |
Whenever p-adaptivity is considered in an hp-finite element program, a hierarchy of finite elements needs to be established to determine succeeding finite elements for refinement and preceding ones for coarsening.
In this struct, we supply a hierarchy that is imposed on all FECollection objects by default.
Definition at line 72 of file fe_collection.h.
|
inlinestatic |
Return the index succeeding fe_index
in the fe_collection
.
Once the last element of the fe_collection
is reached, there is no element on a higher level in the hierarchy and thus we return the last value.
Definition at line 81 of file fe_collection.h.
|
inlinestatic |
Return the index preceding fe_index
in the fe_collection
.
Once the first element of the fe_collection
is reached, there is no element on a lower level in the hierarchy and thus we return the first value.
Definition at line 95 of file fe_collection.h.