From: Wolfgang Bangerth Date: Sat, 17 Jul 2010 03:21:58 +0000 (+0000) Subject: Make sure the FEValues::get_cell is usable. Right now it wasn't because it used the... X-Git-Tag: v8.0.0~5810 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47dbcceb47d7a16e431d8951b9c5f8442572d701;p=dealii.git 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 --- 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.