 |
Reference documentation for deal.II version 9.1.1
|
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
16 #include <deal.II/base/exceptions.h>
17 #include <deal.II/base/memory_consumption.h>
19 #include <deal.II/dofs/dof_handler.h>
20 #include <deal.II/dofs/dof_objects.h>
22 #include <deal.II/fe/fe.h>
24 DEAL_II_NAMESPACE_OPEN
28 namespace DoFHandlerImplementation
40 template <
int dh_dim,
int spacedim>
43 const ::DoFHandler<dh_dim, spacedim> &dof_handler,
44 const unsigned int obj_index,
45 const unsigned int fe_index,
46 const unsigned int local_index,
53 "Only the default FE index is allowed for non-hp DoFHandler objects"));
55 local_index < dof_handler.get_fe().template n_dofs_per_object<dim>(),
58 dof_handler.get_fe().template n_dofs_per_object<dim>()));
60 dof_handler.get_fe().template n_dofs_per_object<dim>() +
65 dofs[obj_index * dof_handler.get_fe().template n_dofs_per_object<dim>() +
66 local_index] = global_index;
75 namespace DoFHandlerImplementation
77 #include "dof_objects.inst"
81 DEAL_II_NAMESPACE_CLOSE
std::size_t memory_consumption() const
static ::ExceptionBase & ExcIndexRange(int arg1, int arg2, int arg3)
static ::ExceptionBase & ExcMessage(std::string arg1)
unsigned int global_dof_index
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::enable_if< std::is_fundamental< T >::value, std::size_t >::type memory_consumption(const T &t)
static ::ExceptionBase & ExcInternalError()
#define Assert(cond, exc)