From: Peter Munch Date: Wed, 17 Nov 2021 11:31:23 +0000 (+0100) Subject: CellIteratorContainer: inline function X-Git-Tag: v9.4.0-rc1~826^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4bc05c327c1db7f0f5ed0e46fad17e91281cc85;p=dealii.git CellIteratorContainer: inline function --- diff --git a/include/deal.II/fe/fe_values.h b/include/deal.II/fe/fe_values.h index 07c9cbfa9d..191333295a 100644 --- a/include/deal.II/fe/fe_values.h +++ b/include/deal.II/fe/fe_values.h @@ -5496,6 +5496,19 @@ namespace FEValuesViews +template +template +inline FEValuesBase::CellIteratorContainer:: + CellIteratorContainer( + const TriaIterator> &cell) + : initialized(true) + , cell(cell) + , dof_handler(&cell->get_dof_handler()) + , level_dof_access(lda) +{} + + + template inline const FEValuesViews::Scalar & FEValuesBase::operator[]( diff --git a/source/fe/fe_values.cc b/source/fe/fe_values.cc index af32d666f7..7f555928cd 100644 --- a/source/fe/fe_values.cc +++ b/source/fe/fe_values.cc @@ -2602,18 +2602,6 @@ FEValuesBase::CellIteratorContainer::CellIteratorContainer() -template -template -FEValuesBase::CellIteratorContainer::CellIteratorContainer( - const TriaIterator> &cell) - : initialized(true) - , cell(cell) - , dof_handler(&cell->get_dof_handler()) - , level_dof_access(lda) -{} - - - template FEValuesBase::CellIteratorContainer::CellIteratorContainer( const typename Triangulation::cell_iterator &cell)