16#ifndef dealii_dof_objects_h
17#define dealii_dof_objects_h
36 namespace DoFHandlerImplementation
75 std::vector<types::global_dof_index>
dofs;
89 template <
int dh_dim,
int spacedim>
92 const unsigned int obj_index,
93 const unsigned int fe_index,
94 const unsigned int local_index);
101 template <
int dh_dim,
int spacedim>
104 const ::DoFHandler<dh_dim, spacedim> &dof_handler,
111 template <
int dh_dim,
int spacedim>
114 const ::DoFHandler<dh_dim, spacedim> &dof_handler,
116 const unsigned int fe_index)
const;
130 template <
class Archive>
146 template <
int dh_dim,
int spacedim>
149 const ::DoFHandler<dh_dim, spacedim> &,
158 template <
int dh_dim,
int spacedim>
161 const ::DoFHandler<dh_dim, spacedim> &,
163 const unsigned int fe_index)
const
168 ExcMessage(
"Only zero fe_index values are allowed for "
169 "non-hp-DoFHandlers."));
176 template <
int dh_dim,
int spacedim>
179 const ::DoFHandler<dh_dim, spacedim> &dof_handler,
180 const unsigned int obj_index,
181 const unsigned int fe_index,
182 const unsigned int local_index)
188 "Only the default FE index is allowed for non-hp-DoFHandler objects"));
190 local_index < dof_handler.get_fe().template n_dofs_per_object<dim>(),
193 dof_handler.get_fe().template n_dofs_per_object<dim>()));
195 dof_handler.get_fe().template n_dofs_per_object<dim>() +
200 return dofs[obj_index *
201 dof_handler.get_fe().template n_dofs_per_object<dim>() +
207 template <
class Archive>
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
types::global_dof_index & access_dof_index(const ::DoFHandler< dh_dim, spacedim > &dof_handler, const unsigned int obj_index, const unsigned int fe_index, const unsigned int local_index)
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 unsigned int fe_index) const
void serialize(Archive &ar, const unsigned int version)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define Assert(cond, exc)
static ::ExceptionBase & ExcInternalError()
static ::ExceptionBase & ExcIndexRange(std::size_t arg1, std::size_t arg2, std::size_t arg3)
static ::ExceptionBase & ExcMessage(std::string arg1)