]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Move a function definition.
authorDavid Wells <drwells@email.unc.edu>
Sun, 27 Oct 2019 19:11:44 +0000 (15:11 -0400)
committerDavid Wells <drwells@email.unc.edu>
Sun, 27 Oct 2019 19:26:05 +0000 (15:26 -0400)
This puts it in the same order as its declaration.

include/deal.II/grid/tria_accessor.templates.h

index 0b7c97f0a17b99503d4b7843d49df888b0a54226..13d98ab32266c3041ba9161e215720e9c9d857f1 100644 (file)
@@ -3156,6 +3156,22 @@ namespace internal
 
 
 
+template <int dim, int spacedim>
+inline TriaIterator<CellAccessor<dim, spacedim>>
+CellAccessor<dim, spacedim>::child(const unsigned int i) const
+{
+  TriaIterator<CellAccessor<dim, spacedim>> q(this->tria,
+                                              this->present_level + 1,
+                                              this->child_index(i));
+
+  Assert((q.state() == IteratorState::past_the_end) || q->used(),
+         ExcInternalError());
+
+  return q;
+}
+
+
+
 template <int dim, int spacedim>
 inline TriaIterator<TriaAccessor<dim - 1, dim, spacedim>>
 CellAccessor<dim, spacedim>::face(const unsigned int i) const
@@ -3521,22 +3537,6 @@ CellAccessor<dim, spacedim>::neighbor(const unsigned int i) const
 
 
 
-template <int dim, int spacedim>
-inline TriaIterator<CellAccessor<dim, spacedim>>
-CellAccessor<dim, spacedim>::child(const unsigned int i) const
-{
-  TriaIterator<CellAccessor<dim, spacedim>> q(this->tria,
-                                              this->present_level + 1,
-                                              this->child_index(i));
-
-  Assert((q.state() == IteratorState::past_the_end) || q->used(),
-         ExcInternalError());
-
-  return q;
-}
-
-
-
 template <int dim, int spacedim>
 inline bool
 CellAccessor<dim, spacedim>::active() const

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.