From 2670d2bdb8a72e09b87cd18d9311cb7eb4d85577 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sun, 27 Oct 2019 15:11:44 -0400 Subject: [PATCH] Move a function definition. This puts it in the same order as its declaration. --- .../deal.II/grid/tria_accessor.templates.h | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/include/deal.II/grid/tria_accessor.templates.h b/include/deal.II/grid/tria_accessor.templates.h index 0b7c97f0a1..13d98ab322 100644 --- a/include/deal.II/grid/tria_accessor.templates.h +++ b/include/deal.II/grid/tria_accessor.templates.h @@ -3156,6 +3156,22 @@ namespace internal +template +inline TriaIterator> +CellAccessor::child(const unsigned int i) const +{ + TriaIterator> q(this->tria, + this->present_level + 1, + this->child_index(i)); + + Assert((q.state() == IteratorState::past_the_end) || q->used(), + ExcInternalError()); + + return q; +} + + + template inline TriaIterator> CellAccessor::face(const unsigned int i) const @@ -3521,22 +3537,6 @@ CellAccessor::neighbor(const unsigned int i) const -template -inline TriaIterator> -CellAccessor::child(const unsigned int i) const -{ - TriaIterator> q(this->tria, - this->present_level + 1, - this->child_index(i)); - - Assert((q.state() == IteratorState::past_the_end) || q->used(), - ExcInternalError()); - - return q; -} - - - template inline bool CellAccessor::active() const -- 2.39.5