Reference documentation for deal.II version GIT 9042b9283b 2023-12-02 14:50:02+00:00
\(\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\}}\)
dof_accessor.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 1998 - 2023 by the deal.II authors
4 //
5 // This file is part of the deal.II library.
6 //
7 // The deal.II library is free software; you can use it, redistribute
8 // it, and/or modify it under the terms of the GNU Lesser General
9 // Public License as published by the Free Software Foundation; either
10 // version 2.1 of the License, or (at your option) any later version.
11 // The full text of the license can be found in the file LICENSE.md at
12 // the top level directory of deal.II.
13 //
14 // ---------------------------------------------------------------------
15 
16 #ifndef dealii_dof_accessor_h
17 #define dealii_dof_accessor_h
18 
19 
20 #include <deal.II/base/config.h>
21 
24 
26 
28 
29 #include <boost/container/small_vector.hpp>
30 
31 #include <set>
32 #include <vector>
33 
35 
36 // Forward declarations
37 #ifndef DOXYGEN
38 template <typename number>
39 class FullMatrix;
40 template <typename number>
41 class Vector;
42 template <typename number>
43 class AffineConstraints;
44 
45 template <typename Accessor>
46 class TriaRawIterator;
47 
48 template <int, int>
49 class FiniteElement;
50 
51 namespace internal
52 {
53  namespace DoFCellAccessorImplementation
54  {
55  struct Implementation;
56  }
57 
58  namespace DoFHandlerImplementation
59  {
60  struct Implementation;
61  namespace Policy
62  {
63  struct Implementation;
64  }
65  } // namespace DoFHandlerImplementation
66 
67  namespace hp
68  {
69  namespace DoFHandlerImplementation
70  {
71  struct Implementation;
72  }
73  } // namespace hp
74 } // namespace internal
75 #endif
76 
77 // note: the file dof_accessor.templates.h is included at the end of
78 // this file. this includes a lot of templates and thus makes
79 // compilation slower, but at the same time allows for more aggressive
80 // inlining and thus faster code.
81 
82 
83 namespace internal
84 {
85  namespace DoFAccessorImplementation
86  {
103  template <int structdim, int dim, int spacedim>
104  struct Inheritance
105  {
111  };
112 
113 
119  template <int dim, int spacedim>
120  struct Inheritance<dim, dim, spacedim>
121  {
127  };
128 
129  struct Implementation;
130  } // namespace DoFAccessorImplementation
131 } // namespace internal
132 
133 
134 /* -------------------------------------------------------------------------- */
135 
136 
137 
210 template <int structdim, int dim, int spacedim, bool level_dof_access>
211 class DoFAccessor : public ::internal::DoFAccessorImplementation::
212  Inheritance<structdim, dim, spacedim>::BaseClass
213 {
214 public:
219  static constexpr unsigned int dimension = dim;
220 
225  static constexpr unsigned int space_dimension = spacedim;
226 
231  using BaseClass = typename ::internal::DoFAccessorImplementation::
232  Inheritance<structdim, dimension, space_dimension>::BaseClass;
233 
238 
250 
267  const int level,
268  const int index,
270 
275  default;
276 
280  DoFAccessor( // NOLINT
282  default; // NOLINT
283 
287  ~DoFAccessor() = default;
288 
301  template <int structdim2, int dim2, int spacedim2>
303 
308  template <int structdim2, int dim2, int spacedim2, bool level_dof_access2>
311 
315  template <bool level_dof_access2>
317 
329  delete;
330 
335  operator=( // NOLINT
337  default; // NOLINT
338 
348 
352  template <bool level_dof_access2>
353  void
355 
360  void
362 
367  static bool
369 
381  child(const unsigned int c) const;
382 
388  typename ::internal::DoFHandlerImplementation::
389  Iterators<dim, spacedim, level_dof_access>::line_iterator
390  line(const unsigned int i) const;
391 
397  typename ::internal::DoFHandlerImplementation::
398  Iterators<dim, spacedim, level_dof_access>::quad_iterator
399  quad(const unsigned int i) const;
400 
446  void
448  std::vector<types::global_dof_index> &dof_indices,
450 
457  void
459  const int level,
460  std::vector<types::global_dof_index> &dof_indices,
462 
466  void
468  const int level,
469  const std::vector<types::global_dof_index> &dof_indices,
471 
495  const unsigned int vertex,
496  const unsigned int i,
498 
506  const int level,
507  const unsigned int vertex,
508  const unsigned int i,
510 
539  dof_index(const unsigned int i,
541 
546  mg_dof_index(const int level, const unsigned int i) const;
547 
569  unsigned int
571 
580  nth_active_fe_index(const unsigned int n) const;
581 
588  std::set<types::fe_index>
590 
600  bool
602 
610 
621  "This accessor object has not been "
622  "associated with any DoFHandler object.");
655 
656 protected:
661 
662 public:
676  template <int structdim2, int dim2, int spacedim2, bool level_dof_access2>
677  bool
680 
684  template <int structdim2, int dim2, int spacedim2, bool level_dof_access2>
685  bool
688 
689 protected:
693  void
695 
714  void
716  const unsigned int i,
717  const types::global_dof_index index,
719 
720  void
722  const unsigned int i,
723  const types::global_dof_index index) const;
724 
725  void
727  const int level,
728  const unsigned int vertex,
729  const unsigned int i,
730  const types::global_dof_index index,
732 
733  // Iterator classes need to be friends because they need to access
734  // operator== and operator!=.
735  template <typename>
736  friend class TriaRawIterator;
737  template <int, int, int, bool>
738  friend class DoFAccessor;
739 
740 private:
741  // Make the DoFHandler class a friend so that it can call the set_xxx()
742  // functions.
743  friend class DoFHandler<dim, spacedim>;
744 
745  friend struct ::internal::DoFHandlerImplementation::Policy::
746  Implementation;
747  friend struct ::internal::DoFHandlerImplementation::Implementation;
748  friend struct ::internal::hp::DoFHandlerImplementation::Implementation;
749  friend struct ::internal::DoFCellAccessorImplementation::Implementation;
750  friend struct ::internal::DoFAccessorImplementation::Implementation;
751 };
752 
753 
754 
762 template <int spacedim, bool level_dof_access>
763 class DoFAccessor<0, 1, spacedim, level_dof_access>
764  : public TriaAccessor<0, 1, spacedim>
765 {
766 public:
771  static constexpr unsigned int dimension = 1;
772 
777  static constexpr unsigned int space_dimension = spacedim;
778 
784 
789 
801 
820  const typename TriaAccessor<0, 1, spacedim>::VertexKind vertex_kind,
821  const unsigned int vertex_index,
823 
831  const int = 0,
832  const int = 0,
834 
847  template <int structdim2, int dim2, int spacedim2>
849 
854  template <int structdim2, int dim2, int spacedim2, bool level_dof_access2>
857 
862 
866  // NOLINTNEXTLINE OSX does not compile with noexcept
868 
872  ~DoFAccessor() = default;
873 
885 
891  default;
892 
900  const DoFHandler<1, spacedim> &
902 
906  template <bool level_dof_access2>
907  void
908  copy_from(const DoFAccessor<0, 1, spacedim, level_dof_access2> &a);
909 
914  void
915  copy_from(const TriaAccessorBase<0, 1, spacedim> &da);
916 
929  TriaIterator<DoFAccessor<0, 1, spacedim, level_dof_access>>
930  child(const unsigned int c) const;
931 
938  typename ::internal::DoFHandlerImplementation::
939  Iterators<1, spacedim, level_dof_access>::line_iterator
940  line(const unsigned int i) const;
941 
948  typename ::internal::DoFHandlerImplementation::
949  Iterators<1, spacedim, level_dof_access>::quad_iterator
950  quad(const unsigned int i) const;
951 
995  void
997  std::vector<types::global_dof_index> &dof_indices,
999 
1006  void
1008  const int level,
1009  std::vector<types::global_dof_index> &dof_indices,
1010  const types::fe_index fe_index = numbers::invalid_fe_index) const;
1011 
1032  const unsigned int vertex,
1033  const unsigned int i,
1034  const types::fe_index fe_index = numbers::invalid_fe_index) const;
1035 
1054  dof_index(const unsigned int i,
1055  const types::fe_index fe_index = numbers::invalid_fe_index) const;
1056 
1075  unsigned int
1077 
1085  types::fe_index
1086  nth_active_fe_index(const unsigned int n) const;
1087 
1096  bool
1098 
1104  const FiniteElement<1, spacedim> &
1106 
1117  "This accessor object has not been "
1118  "associated with any DoFHandler object.");
1151 
1152 protected:
1156  DoFHandler<1, spacedim> *dof_handler;
1157 
1161  template <int structdim2, int dim2, int spacedim2, bool level_dof_access2>
1162  bool
1163  operator==(
1164  const DoFAccessor<structdim2, dim2, spacedim2, level_dof_access2> &) const;
1165 
1169  template <int structdim2, int dim2, int spacedim2, bool level_dof_access2>
1170  bool
1171  operator!=(
1172  const DoFAccessor<structdim2, dim2, spacedim2, level_dof_access2> &) const;
1173 
1177  void
1178  set_dof_handler(DoFHandler<1, spacedim> *dh);
1179 
1198  void
1200  const unsigned int i,
1201  const types::global_dof_index index,
1202  const types::fe_index fe_index = numbers::invalid_fe_index) const;
1203 
1204  // Iterator classes need to be friends because they need to access
1205  // operator== and operator!=.
1206  template <typename>
1207  friend class TriaRawIterator;
1208 
1209 
1210  // Make the DoFHandler class a friend so that it can call the set_xxx()
1211  // functions.
1212  friend class DoFHandler<1, spacedim>;
1213 
1214  friend struct ::internal::DoFHandlerImplementation::Policy::
1215  Implementation;
1216  friend struct ::internal::DoFHandlerImplementation::Implementation;
1217  friend struct ::internal::hp::DoFHandlerImplementation::Implementation;
1218  friend struct ::internal::DoFCellAccessorImplementation::Implementation;
1219 };
1220 
1221 
1222 
1223 /* -------------------------------------------------------------------------- */
1224 
1225 
1246 template <int structdim, int dim, int spacedim = dim>
1247 class DoFInvalidAccessor : public InvalidAccessor<structdim, dim, spacedim>
1248 {
1249 public:
1255 
1263  DoFInvalidAccessor(const void *parent = nullptr,
1264  const int level = -1,
1265  const int index = -1,
1266  const AccessorData *local_data = nullptr);
1267 
1276 
1281  template <typename OtherAccessor>
1282  DoFInvalidAccessor(const OtherAccessor &);
1283 
1290  dof_index(const unsigned int i,
1291  const types::fe_index fe_index =
1293 
1299  void
1300  set_dof_index(
1301  const unsigned int i,
1302  const types::global_dof_index index,
1304 };
1305 
1306 
1307 
1308 /* -------------------------------------------------------------------------- */
1309 
1310 
1322 template <int dimension_, int space_dimension_, bool level_dof_access>
1323 class DoFCellAccessor : public DoFAccessor<dimension_,
1324  dimension_,
1325  space_dimension_,
1326  level_dof_access>
1327 {
1328 public:
1332  static const unsigned int dim = dimension_;
1333 
1337  static const unsigned int spacedim = space_dimension_;
1338 
1339 
1344 
1349  using BaseClass =
1351 
1356 
1361  using face_iterator = TriaIterator<DoFAccessor<dimension_ - 1,
1362  dimension_,
1363  space_dimension_,
1364  level_dof_access>>;
1365 
1377  const int level,
1378  const int index,
1379  const AccessorData *local_data);
1380 
1393  template <int structdim2, int dim2, int spacedim2>
1395 
1400  template <int structdim2, int dim2, int spacedim2, bool level_dof_access2>
1403 
1409  default;
1410 
1414  DoFCellAccessor( // NOLINT
1416  &&) = default; // NOLINT
1417 
1421  ~DoFCellAccessor() = default;
1422 
1435  delete;
1436 
1441  operator=( // NOLINT
1443  &&) = default; // NOLINT
1444 
1459  parent() const;
1460 
1474  neighbor(const unsigned int i) const;
1475 
1482  periodic_neighbor(const unsigned int i) const;
1483 
1490  neighbor_or_periodic_neighbor(const unsigned int i) const;
1491 
1498  child(const unsigned int i) const;
1499 
1503  boost::container::small_vector<
1504  TriaIterator<
1508 
1516  face(const unsigned int i) const;
1517 
1521  boost::container::small_vector<face_iterator,
1524 
1532  neighbor_child_on_subface(const unsigned int face_no,
1533  const unsigned int subface_no) const;
1534 
1542  periodic_neighbor_child_on_subface(const unsigned int face_no,
1543  const unsigned int subface_no) const;
1544 
1573  template <class InputVector, typename number>
1574  void
1575  get_dof_values(const InputVector &values, Vector<number> &local_values) const;
1576 
1594  template <typename Number, typename ForwardIterator>
1595  void
1597  ForwardIterator local_values_begin,
1598  ForwardIterator local_values_end) const;
1599 
1620  template <class InputVector, typename ForwardIterator>
1621  void
1624  const InputVector &values,
1625  ForwardIterator local_values_begin,
1626  ForwardIterator local_values_end) const;
1627 
1652  template <class OutputVector, typename number>
1653  void
1654  set_dof_values(const Vector<number> &local_values,
1655  OutputVector &values) const;
1656 
1688  template <typename Number>
1689  void
1690  get_interpolated_dof_values(
1691  const ReadVector<Number> &values,
1692  Vector<Number> &interpolated_values,
1694 
1756  template <class OutputVector, typename number>
1757  void
1758  set_dof_values_by_interpolation(
1759  const Vector<number> &local_values,
1760  OutputVector &values,
1762  const bool perform_check = false) const;
1763 
1773  template <class OutputVector, typename number>
1774  void
1775  distribute_local_to_global_by_interpolation(
1776  const Vector<number> &local_values,
1777  OutputVector &values,
1779 
1794  template <typename number, typename OutputVector>
1795  void
1797  OutputVector &global_destination) const;
1798 
1813  template <typename ForwardIterator, typename OutputVector>
1814  void
1815  distribute_local_to_global(ForwardIterator local_source_begin,
1816  ForwardIterator local_source_end,
1817  OutputVector &global_destination) const;
1818 
1832  template <typename ForwardIterator, typename OutputVector>
1833  void
1836  ForwardIterator local_source_begin,
1837  ForwardIterator local_source_end,
1838  OutputVector &global_destination) const;
1839 
1846  template <typename number, typename OutputMatrix>
1847  void
1849  OutputMatrix &global_destination) const;
1850 
1855  template <typename number, typename OutputMatrix, typename OutputVector>
1856  void
1858  const Vector<number> &local_vector,
1859  OutputMatrix &global_matrix,
1860  OutputVector &global_vector) const;
1861 
1886  void
1888  std::vector<types::global_dof_index> &dof_indices) const;
1889 
1921  void
1922  get_dof_indices(std::vector<types::global_dof_index> &dof_indices) const;
1923 
1928  void
1929  get_mg_dof_indices(std::vector<types::global_dof_index> &dof_indices) const;
1930 
1956  get_fe() const;
1957 
1985 
2012  void
2022  void
2023  set_dof_indices(const std::vector<types::global_dof_index> &dof_indices);
2024 
2028  void
2029  set_mg_dof_indices(const std::vector<types::global_dof_index> &dof_indices);
2030 
2057  get_future_fe() const;
2058 
2079 
2088  void
2090 
2097  bool
2099 
2108  void
2114 private:
2115  friend struct ::internal::DoFCellAccessorImplementation::Implementation;
2116 };
2117 
2118 
2119 template <int structdim, int dim, int spacedim, bool level_dof_access>
2120 inline bool
2122 {
2123  return level_dof_access;
2124 }
2125 
2126 
2127 
2128 template <int structdim, int dim, int spacedim>
2129 template <typename OtherAccessor>
2131  const OtherAccessor &)
2132 {
2133  Assert(false,
2134  ExcMessage("You are attempting an illegal conversion between "
2135  "iterator/accessor types. The constructor you call "
2136  "only exists to make certain template constructs "
2137  "easier to write as dimension independent code but "
2138  "the conversion is not valid in the current context."));
2139 }
2140 
2141 
2142 
2144 
2145 // include more templates
2146 #include <deal.II/dofs/dof_accessor.templates.h>
2147 
2148 
2149 #endif
DoFAccessor(const InvalidAccessor< structdim2, dim2, spacedim2 > &)
DoFAccessor(const Triangulation< 1, spacedim > *, const int=0, const int=0, const DoFHandler< 1, spacedim > *dof_handler=0)
DoFAccessor(DoFAccessor< 0, 1, spacedim, level_dof_access > &&)=default
DoFAccessor(const Triangulation< 1, spacedim > *tria, const typename TriaAccessor< 0, 1, spacedim >::VertexKind vertex_kind, const unsigned int vertex_index, const DoFHandler< 1, spacedim > *dof_handler)
DoFAccessor< 0, 1, spacedim, level_dof_access > & operator=(DoFAccessor< 0, 1, spacedim, level_dof_access > &&) noexcept=default
DoFAccessor(const DoFAccessor< 0, 1, spacedim, level_dof_access > &)=default
DoFAccessor(const DoFAccessor< structdim2, dim2, spacedim2, level_dof_access2 > &)
DoFAccessor< 0, 1, spacedim, level_dof_access > & operator=(const DoFAccessor< 0, 1, spacedim, level_dof_access > &da)=delete
static constexpr unsigned int space_dimension
Definition: dof_accessor.h:225
void set_mg_dof_index(const int level, const unsigned int i, const types::global_dof_index index) const
const FiniteElement< dim, spacedim > & get_fe(const types::fe_index fe_index) const
DoFAccessor< structdim, dim, spacedim, level_dof_access > & operator=(DoFAccessor< structdim, dim, spacedim, level_dof_access > &&)
types::fe_index nth_active_fe_index(const unsigned int n) const
DoFAccessor(DoFAccessor< structdim, dim, spacedim, level_dof_access > &&)
DoFAccessor(const DoFAccessor< structdim, dim, spacedim, level_dof_access2 > &)
const DoFHandler< dim, spacedim > & get_dof_handler() const
void set_mg_vertex_dof_index(const int level, const unsigned int vertex, const unsigned int i, const types::global_dof_index index, const types::fe_index fe_index=numbers::invalid_fe_index) const
~DoFAccessor()=default
static constexpr unsigned int dimension
Definition: dof_accessor.h:219
void set_dof_handler(DoFHandler< dim, spacedim > *dh)
DoFAccessor(const DoFAccessor< structdim2, dim2, spacedim2, level_dof_access2 > &)
typename ::internal::DoFHandlerImplementation::Iterators< dim, spacedim, level_dof_access >::quad_iterator quad(const unsigned int i) const
std::set< types::fe_index > get_active_fe_indices() const
DoFAccessor(const DoFAccessor< structdim, dim, spacedim, level_dof_access > &)=default
void set_mg_dof_indices(const int level, const std::vector< types::global_dof_index > &dof_indices, const types::fe_index fe_index=numbers::invalid_fe_index)
void get_mg_dof_indices(const int level, std::vector< types::global_dof_index > &dof_indices, const types::fe_index fe_index=numbers::invalid_fe_index) const
types::global_dof_index mg_vertex_dof_index(const int level, const unsigned int vertex, const unsigned int i, const types::fe_index fe_index=numbers::invalid_fe_index) const
TriaIterator< DoFAccessor< structdim, dim, spacedim, level_dof_access > > child(const unsigned int c) const
DoFAccessor(const Triangulation< dim, spacedim > *tria, const int level, const int index, const DoFHandler< dim, spacedim > *dof_handler)
bool operator!=(const DoFAccessor< structdim2, dim2, spacedim2, level_dof_access2 > &) const
void copy_from(const TriaAccessorBase< structdim, dim, spacedim > &da)
types::global_dof_index dof_index(const unsigned int i, const types::fe_index fe_index=numbers::invalid_fe_index) const
void copy_from(const DoFAccessor< structdim, dim, spacedim, level_dof_access2 > &a)
typename ::internal::DoFHandlerImplementation::Iterators< dim, spacedim, level_dof_access >::line_iterator line(const unsigned int i) const
void get_dof_indices(std::vector< types::global_dof_index > &dof_indices, const types::fe_index fe_index=numbers::invalid_fe_index) const
bool operator==(const DoFAccessor< structdim2, dim2, spacedim2, level_dof_access2 > &) const
types::global_dof_index mg_dof_index(const int level, const unsigned int i) const
void set_dof_index(const unsigned int i, const types::global_dof_index index, const types::fe_index fe_index=numbers::invalid_fe_index) const
unsigned int n_active_fe_indices() const
DoFAccessor< structdim, dim, spacedim, level_dof_access > & operator=(const DoFAccessor< structdim, dim, spacedim, level_dof_access > &da)=delete
static bool is_level_cell()
typename ::internal::DoFAccessorImplementation::Inheritance< structdim, dimension, space_dimension >::BaseClass BaseClass
Definition: dof_accessor.h:232
types::global_dof_index vertex_dof_index(const unsigned int vertex, const unsigned int i, const types::fe_index fe_index=numbers::invalid_fe_index) const
DoFHandler< dim, spacedim > * dof_handler
Definition: dof_accessor.h:660
DoFAccessor(const InvalidAccessor< structdim2, dim2, spacedim2 > &)
bool fe_index_is_active(const types::fe_index fe_index) const
boost::container::small_vector< TriaIterator< DoFCellAccessor< dimension_, space_dimension_, level_dof_access > >, GeometryInfo< dimension_ >::max_children_per_cell > child_iterators() const
DoFCellAccessor< dimension_, space_dimension_, level_dof_access > & operator=(DoFCellAccessor< dimension_, space_dimension_, level_dof_access > &&)=default
DoFCellAccessor(DoFCellAccessor< dimension_, space_dimension_, level_dof_access > &&)=default
void get_active_or_mg_dof_indices(std::vector< types::global_dof_index > &dof_indices) const
void get_dof_values(const InputVector &values, Vector< number > &local_values) const
face_iterator face(const unsigned int i) const
types::fe_index future_fe_index() const
DoFCellAccessor(const Triangulation< dimension_, space_dimension_ > *tria, const int level, const int index, const AccessorData *local_data)
void set_future_fe_index(const types::fe_index i) const
void distribute_local_to_global(const Vector< number > &local_source, OutputVector &global_destination) const
void get_dof_values(const AffineConstraints< typename InputVector::value_type > &constraints, const InputVector &values, ForwardIterator local_values_begin, ForwardIterator local_values_end) const
void distribute_local_to_global(const FullMatrix< number > &local_source, OutputMatrix &global_destination) const
TriaIterator< DoFCellAccessor< dimension_, space_dimension_, level_dof_access > > child(const unsigned int i) const
boost::container::small_vector< face_iterator, GeometryInfo< dimension_ >::faces_per_cell > face_iterators() const
void set_active_fe_index(const types::fe_index i) const
const FiniteElement< dimension_, space_dimension_ > & get_future_fe() const
DoFCellAccessor< dimension_, space_dimension_, level_dof_access > & operator=(const DoFCellAccessor< dimension_, space_dimension_, level_dof_access > &da)=delete
DoFCellAccessor(const DoFAccessor< structdim2, dim2, spacedim2, level_dof_access2 > &)
TriaIterator< DoFCellAccessor< dimension_, space_dimension_, level_dof_access > > neighbor(const unsigned int i) const
DoFCellAccessor(const InvalidAccessor< structdim2, dim2, spacedim2 > &)
void clear_future_fe_index() const
void distribute_local_to_global(const FullMatrix< number > &local_matrix, const Vector< number > &local_vector, OutputMatrix &global_matrix, OutputVector &global_vector) const
void distribute_local_to_global(const AffineConstraints< typename OutputVector::value_type > &constraints, ForwardIterator local_source_begin, ForwardIterator local_source_end, OutputVector &global_destination) const
void set_dof_values(const Vector< number > &local_values, OutputVector &values) const
DoFCellAccessor(const DoFCellAccessor< dimension_, space_dimension_, level_dof_access > &)=default
const FiniteElement< dimension_, space_dimension_ > & get_fe() const
void distribute_local_to_global(ForwardIterator local_source_begin, ForwardIterator local_source_end, OutputVector &global_destination) const
void get_dof_values(const ReadVector< Number > &values, ForwardIterator local_values_begin, ForwardIterator local_values_end) const
~DoFCellAccessor()=default
TriaIterator< DoFCellAccessor< dimension_, space_dimension_, level_dof_access > > parent() const
bool future_fe_index_set() const
types::fe_index active_fe_index() const
DoFInvalidAccessor(const void *parent=nullptr, const int level=-1, const int index=-1, const AccessorData *local_data=nullptr)
Definition: dof_accessor.cc:44
typename InvalidAccessor< structdim, dim, spacedim >::AccessorData AccessorData
Definition: vector.h:110
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:477
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:478
unsigned int level
Definition: grid_out.cc:4617
#define DeclException0(Exception0)
Definition: exceptions.h:472
static ::ExceptionBase & ExcVectorDoesNotMatch()
#define Assert(cond, exc)
Definition: exceptions.h:1631
static ::ExceptionBase & ExcNotActive()
#define DeclExceptionMsg(Exception, defaulttext)
Definition: exceptions.h:495
static ::ExceptionBase & ExcInvalidObject()
static ::ExceptionBase & ExcMatrixDoesNotMatch()
static ::ExceptionBase & ExcCantCompareIterators()
static ::ExceptionBase & ExcVectorNotEmpty()
static ::ExceptionBase & ExcMessage(std::string arg1)
Definition: hp.h:118
const types::fe_index invalid_fe_index
Definition: types.h:244
Definition: types.h:33
unsigned int global_dof_index
Definition: types.h:82
unsigned short int fe_index
Definition: types.h:60
const ::Triangulation< dim, spacedim > & tria