15#ifndef dealii_dof_objects_h
16#define dealii_dof_objects_h
30template <
int dim,
int spacedim>
37 namespace DoFHandlerImplementation
76 std::vector<types::global_dof_index>
dofs;
90 template <
int dh_dim,
int spacedim>
93 const unsigned int obj_index,
95 const unsigned int local_index);
102 template <
int dh_dim,
int spacedim>
111 template <
int dh_dim,
int spacedim>
129 template <
class Archive>
145 template <
int dh_dim,
int spacedim>
156 template <
int dh_dim,
int spacedim>
164 ExcMessage(
"Only zero fe_index values are allowed for "
165 "non-hp-DoFHandlers."));
172 template <
int dh_dim,
int spacedim>
176 const unsigned int obj_index,
178 const unsigned int local_index)
182 ExcMessage(
"Only the default FE index is allowed for DoFHandler "
183 "objects without hp capability"));
185 dof_handler.
get_fe().template n_dofs_per_object<dim>());
187 obj_index * dof_handler.
get_fe().template n_dofs_per_object<dim>() +
191 return dofs[obj_index *
192 dof_handler.
get_fe().template n_dofs_per_object<dim>() +
198 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