From: David Wells Date: Sun, 27 Oct 2019 19:11:44 +0000 (-0400) Subject: Move a function definition. X-Git-Tag: v9.2.0-rc1~935^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2670d2bdb8a72e09b87cd18d9311cb7eb4d85577;p=dealii.git Move a function definition. This puts it in the same order as its declaration. --- 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