16 #ifndef dealii_dof_levels_h
17 #define dealii_dof_levels_h
20 #include <deal.II/base/config.h>
22 #include <deal.II/base/exceptions.h>
23 #include <deal.II/base/memory_consumption.h>
25 #include <deal.II/dofs/dof_objects.h>
30 DEAL_II_NAMESPACE_OPEN
35 namespace DoFHandlerImplementation
96 const unsigned int dofs_per_cell)
const;
109 template <
class Archive>
111 serialize(Archive &ar,
const unsigned int version);
119 const unsigned int dofs_per_cell)
const
121 Assert(obj_index * dofs_per_cell + dofs_per_cell <=
122 cell_dof_indices_cache.size(),
125 return cell_dof_indices_cache.data() + (obj_index * dofs_per_cell);
140 template <
class Archive>
144 ar &cell_dof_indices_cache;
150 DEAL_II_NAMESPACE_CLOSE