From 47dbcceb47d7a16e431d8951b9c5f8442572d701 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sat, 17 Jul 2010 03:21:58 +0000 Subject: [PATCH] Make sure the FEValues::get_cell is usable. Right now it wasn't because it used the CellIteratorBase class that is now only forward declared and had been moved into the .cc file. git-svn-id: https://svn.dealii.org/trunk@21511 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/fe/fe_values.h | 8 -------- deal.II/deal.II/source/fe/fe_values.cc | 9 +++++++++ deal.II/doc/news/changes.h | 10 ++++++++++ 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/deal.II/deal.II/include/fe/fe_values.h b/deal.II/deal.II/include/fe/fe_values.h index 41a8dc7a5f..20af1d2969 100644 --- a/deal.II/deal.II/include/fe/fe_values.h +++ b/deal.II/deal.II/include/fe/fe_values.h @@ -4509,14 +4509,6 @@ FEValuesBase::get_update_flags () const -template -const typename Triangulation::cell_iterator -FEValuesBase::get_cell () const -{ - return *present_cell; -} - - template inline const std::vector > & diff --git a/deal.II/deal.II/source/fe/fe_values.cc b/deal.II/deal.II/source/fe/fe_values.cc index 3182b3ec44..5d51ad98b3 100644 --- a/deal.II/deal.II/source/fe/fe_values.cc +++ b/deal.II/deal.II/source/fe/fe_values.cc @@ -3145,6 +3145,15 @@ void FEValuesBase::get_function_laplacians ( +template +const typename Triangulation::cell_iterator +FEValuesBase::get_cell () const +{ + return *present_cell; +} + + + template const std::vector > & FEValuesBase::get_normal_vectors () const diff --git a/deal.II/doc/news/changes.h b/deal.II/doc/news/changes.h index 22a1a6f448..c7d3e62f95 100644 --- a/deal.II/doc/news/changes.h +++ b/deal.II/doc/news/changes.h @@ -150,6 +150,16 @@ inconvenience this causes.

deal.II

    +
  1. +

    + Fixed: The FEValues::get_cell() function was unusable from user code + since its implementation used a class that was only forward declared + and not visible at the point of instantiations in user code. This is now + fixed. +
    + (WB 2010/07/16) +

    +
  2. New: The multilevel matrices for continuous elements can be built with the MeshWorker now. -- 2.39.5