16#ifndef dealii_dof_objects_h
17#define dealii_dof_objects_h
31template <
int dim,
int spacedim>
38 namespace DoFHandlerImplementation
77 std::vector<types::global_dof_index>
dofs;
91 template <
int dh_dim,
int spacedim>
94 const unsigned int obj_index,
96 const unsigned int local_index);
103 template <
int dh_dim,
int spacedim>
112 template <
int dh_dim,
int spacedim>
130 template <
class Archive>
146 template <
int dh_dim,
int spacedim>
157 template <
int dh_dim,
int spacedim>
165 ExcMessage(
"Only zero fe_index values are allowed for "
166 "non-hp-DoFHandlers."));
173 template <
int dh_dim,
int spacedim>
177 const unsigned int obj_index,
179 const unsigned int local_index)
183 ExcMessage(
"Only the default FE index is allowed for DoFHandler "
184 "objects without hp capability"));
186 dof_handler.
get_fe().template n_dofs_per_object<dim>());
188 obj_index * dof_handler.
get_fe().template n_dofs_per_object<dim>() +
192 return dofs[obj_index *
193 dof_handler.
get_fe().template n_dofs_per_object<dim>() +
199 template <
class Archive>
const FiniteElement< dim, spacedim > & get_fe(const types::fe_index index=0) const
types::global_dof_index & access_dof_index(const DoFHandler< dh_dim, spacedim > &dof_handler, const unsigned int obj_index, const types::fe_index fe_index, const unsigned int local_index)
unsigned int n_active_fe_indices(const DoFHandler< dh_dim, spacedim > &dof_handler, const types::global_dof_index index) const
std::size_t memory_consumption() const
std::vector< types::global_dof_index > dofs
bool fe_index_is_active(const DoFHandler< dh_dim, spacedim > &dof_handler, const types::global_dof_index index, const types::fe_index fe_index) const
void serialize(Archive &ar, const unsigned int version)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_CXX20_REQUIRES(condition)
#define DEAL_II_NAMESPACE_CLOSE
#define Assert(cond, exc)
#define AssertIndexRange(index, range)
static ::ExceptionBase & ExcMessage(std::string arg1)
unsigned short int fe_index