16#ifndef dealii_dof_objects_h
17#define dealii_dof_objects_h
36 namespace DoFHandlerImplementation
75 std::vector<types::global_dof_index>
dofs;
91 template <
int dh_dim,
int spacedim>
93 set_dof_index(const ::DoFHandler<dh_dim, spacedim> &dof_handler,
94 const unsigned int obj_index,
95 const unsigned int fe_index,
96 const unsigned int local_index,
111 template <
int dh_dim,
int spacedim>
114 const unsigned int obj_index,
115 const unsigned int fe_index,
116 const unsigned int local_index)
const;
123 template <
int dh_dim,
int spacedim>
126 const ::DoFHandler<dh_dim, spacedim> &dof_handler,
133 template <
int dh_dim,
int spacedim>
136 const ::DoFHandler<dh_dim, spacedim> &dof_handler,
138 const unsigned int fe_index)
const;
152 template <
class Archive>
168 template <
int dh_dim,
int spacedim>
171 const ::DoFHandler<dh_dim, spacedim> &,
180 template <
int dh_dim,
int spacedim>
183 const ::DoFHandler<dh_dim, spacedim> &,
185 const unsigned int fe_index)
const
190 ExcMessage(
"Only zero fe_index values are allowed for "
191 "non-hp-DoFHandlers."));
198 template <
int dh_dim,
int spacedim>
201 const ::DoFHandler<dh_dim, spacedim> &dof_handler,
202 const unsigned int obj_index,
203 const unsigned int fe_index,
204 const unsigned int local_index)
const
210 "Only the default FE index is allowed for non-hp-DoFHandler objects"));
212 local_index < dof_handler.get_fe().template n_dofs_per_object<dim>(),
215 dof_handler.get_fe().template n_dofs_per_object<dim>()));
217 dof_handler.get_fe().template n_dofs_per_object<dim>() +
222 return dofs[obj_index *
223 dof_handler.get_fe().template n_dofs_per_object<dim>() +
229 template <
class Archive>
types::global_dof_index get_dof_index(const ::DoFHandler< dh_dim, spacedim > &dof_handler, const unsigned int obj_index, const unsigned int fe_index, const unsigned int local_index) const
unsigned int n_active_fe_indices(const ::DoFHandler< dh_dim, spacedim > &dof_handler, const types::global_dof_index index) const
void set_dof_index(const ::DoFHandler< dh_dim, spacedim > &dof_handler, const unsigned int obj_index, const unsigned int fe_index, const unsigned int local_index, const types::global_dof_index global_index)
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 unsigned int fe_index) const
void serialize(Archive &ar, const unsigned int version)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcIndexRange(int arg1, int arg2, int arg3)
#define Assert(cond, exc)
static ::ExceptionBase & ExcInternalError()
static ::ExceptionBase & ExcMessage(std::string arg1)
TrilinosWrappers::types::int_type global_index(const Epetra_BlockMap &map, const ::types::global_dof_index i)