From a4bc05c327c1db7f0f5ed0e46fad17e91281cc85 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Wed, 17 Nov 2021 12:31:23 +0100 Subject: [PATCH] CellIteratorContainer: inline function --- include/deal.II/fe/fe_values.h | 13 +++++++++++++ source/fe/fe_values.cc | 12 ------------ 2 files changed, 13 insertions(+), 12 deletions(-) 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) -- 2.39.5