From ff27f85681c769c753576555c7f12bb6a161399c Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Mon, 18 Dec 2000 12:31:18 +0000 Subject: [PATCH] new class FE_Q git-svn-id: https://svn.dealii.org/trunk@3550 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/numerics/data_out_faces.cc | 8 +++++++- deal.II/deal.II/source/numerics/data_out_rotation.cc | 7 ++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/deal.II/deal.II/source/numerics/data_out_faces.cc b/deal.II/deal.II/source/numerics/data_out_faces.cc index c04b828c60..69a915349c 100644 --- a/deal.II/deal.II/source/numerics/data_out_faces.cc +++ b/deal.II/deal.II/source/numerics/data_out_faces.cc @@ -22,6 +22,11 @@ #include #include +#include + +//Todo: Do this more clever +static MappingQ1 mapping; + #ifdef DEAL_II_USE_MT #include #endif @@ -36,7 +41,8 @@ void DataOutFaces::build_some_patches (Data data) QTrapez<1> q_trapez; QIterated patch_points (q_trapez, data.n_subdivisions); - FEFaceValues fe_patch_values(dofs->get_fe(), + FEFaceValues fe_patch_values(mapping, + dofs->get_fe(), patch_points, update_values); diff --git a/deal.II/deal.II/source/numerics/data_out_rotation.cc b/deal.II/deal.II/source/numerics/data_out_rotation.cc index 12e920c151..0450d675ed 100644 --- a/deal.II/deal.II/source/numerics/data_out_rotation.cc +++ b/deal.II/deal.II/source/numerics/data_out_rotation.cc @@ -19,9 +19,13 @@ #include #include #include +#include #include #include +//Todo: Do this more clever +static MappingQ1 mapping; + #ifdef DEAL_II_USE_MT #include #endif @@ -37,7 +41,8 @@ void DataOutRotation::build_some_patches (Data data) QTrapez<1> q_trapez; QIterated patch_points (q_trapez, data.n_subdivisions); - FEValues fe_patch_values(dofs->get_fe(), + FEValues fe_patch_values(mapping, + dofs->get_fe(), patch_points, update_values); -- 2.39.5