From 3f5d363adafaff2e81fb1489d0084931f44f1613 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 15 Aug 2013 01:48:46 +0000 Subject: [PATCH] Patch by Armin Ghajar Jazi: Also instantiate MappingQEulerian for Trilinos vectors. git-svn-id: https://svn.dealii.org/trunk@30311 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/news/changes.h | 8 ++++++++ deal.II/source/fe/mapping_q_eulerian.cc | 3 +++ deal.II/source/fe/mapping_q_eulerian.inst.in | 11 +++++++++++ 3 files changed, 22 insertions(+) diff --git a/deal.II/doc/news/changes.h b/deal.II/doc/news/changes.h index f354c1a001..75be54c8ea 100644 --- a/deal.II/doc/news/changes.h +++ b/deal.II/doc/news/changes.h @@ -56,6 +56,14 @@ inconvenience this causes.

Specific improvements

    +
  1. + New: MappingQEulerian is now also instantiated for vector elements + of type TrilinosWrappers::Vector as well as the MPI and block + variants. +
    + (Armin Ghajar Jazi, 2013/08/14) +
  2. +
  3. Fixed: The FiniteElement::face_to_cell_index() function had a bug that made it work incorrectly for elements that have more than one diff --git a/deal.II/source/fe/mapping_q_eulerian.cc b/deal.II/source/fe/mapping_q_eulerian.cc index 4e005c2f8f..c8ba737474 100644 --- a/deal.II/source/fe/mapping_q_eulerian.cc +++ b/deal.II/source/fe/mapping_q_eulerian.cc @@ -18,6 +18,9 @@ #include #include #include +#include +#include +#include #include #include #include diff --git a/deal.II/source/fe/mapping_q_eulerian.inst.in b/deal.II/source/fe/mapping_q_eulerian.inst.in index dd64c5497f..439ef92f51 100644 --- a/deal.II/source/fe/mapping_q_eulerian.inst.in +++ b/deal.II/source/fe/mapping_q_eulerian.inst.in @@ -25,6 +25,17 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS template class MappingQEulerian; # endif +# ifdef DEAL_II_WITH_TRILINOS + template class MappingQEulerian; + template class MappingQEulerian; + template class MappingQEulerian; + template class MappingQEulerian; +# endif + #endif } -- 2.39.5