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
std::size_t memory_consumption() const
std::vector< types::global_dof_index > cell_dof_indices_cache
#define Assert(cond, exc)
DoFObjects< dim > dof_object
unsigned int global_dof_index
const types::global_dof_index * get_cell_cache_start(const unsigned int obj_index, const unsigned int dofs_per_cell) const
void serialize(Archive &ar, const unsigned int version)
std::enable_if< std::is_fundamental< T >::value, std::size_t >::type memory_consumption(const T &t)
static ::ExceptionBase & ExcInternalError()