|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
16 #ifndef dealii_dof_objects_h
17 #define dealii_dof_objects_h
36 namespace DoFHandlerImplementation
76 std::vector<types::global_dof_index>
dofs;
92 template <
int dh_dim,
int spacedim>
94 set_dof_index(const ::DoFHandler<dh_dim, spacedim> &dof_handler,
95 const unsigned int obj_index,
96 const unsigned int fe_index,
97 const unsigned int local_index,
112 template <
int dh_dim,
int spacedim>
114 get_dof_index(const ::DoFHandler<dh_dim, spacedim> &dof_handler,
115 const unsigned int obj_index,
116 const unsigned int fe_index,
117 const unsigned int local_index)
const;
124 template <
int dh_dim,
int spacedim>
127 const ::DoFHandler<dh_dim, spacedim> &dof_handler,
134 template <
int dh_dim,
int spacedim>
137 const ::DoFHandler<dh_dim, spacedim> &dof_handler,
139 const unsigned int fe_index)
const;
152 template <
class Archive>
154 serialize(Archive &ar,
const unsigned int version);
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
189 ExcMessage(
"Only zero fe_index values are allowed for "
190 "non-hp DoFHandlers."));
197 template <
int dh_dim,
int spacedim>
200 const ::DoFHandler<dh_dim, spacedim> &dof_handler,
201 const unsigned int obj_index,
202 const unsigned int fe_index,
203 const unsigned int local_index)
const
209 "Only the default FE index is allowed for non-hp DoFHandler objects"));
211 local_index < dof_handler.get_fe().template n_dofs_per_object<dim>(),
214 dof_handler.get_fe().template n_dofs_per_object<dim>()));
216 dof_handler.get_fe().template n_dofs_per_object<dim>() +
221 return dofs[obj_index *
222 dof_handler.get_fe().template n_dofs_per_object<dim>() +
228 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
bool fe_index_is_active(const ::DoFHandler< dh_dim, spacedim > &dof_handler, const types::global_dof_index index, const unsigned int fe_index) const
static ::ExceptionBase & ExcIndexRange(int arg1, int arg2, int arg3)
static ::ExceptionBase & ExcMessage(std::string arg1)
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)
#define DEAL_II_NAMESPACE_OPEN
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
static ::ExceptionBase & ExcInternalError()
#define Assert(cond, exc)
#define DEAL_II_NAMESPACE_CLOSE
void serialize(Archive &ar, const unsigned int version)
TrilinosWrappers::types::int_type global_index(const Epetra_BlockMap &map, const ::types::global_dof_index i)
std::vector< types::global_dof_index > dofs