From: Wolfgang Bangerth Date: Mon, 13 Feb 2006 23:24:28 +0000 (+0000) Subject: Use the implicit Q1 mapping instead of specifying one explicitly. This gets us around... X-Git-Tag: v8.0.0~12303 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=728b1a99866469bbfe6c304de87f5976a647e04f;p=dealii.git Use the implicit Q1 mapping instead of specifying one explicitly. This gets us around the problem of possibly having to initialize an hp::MappingCollection from mapping, depending on whether we deal with hp or not... git-svn-id: https://svn.dealii.org/trunk@12379 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/data_out.cc b/deal.II/deal.II/source/numerics/data_out.cc index c569e92ee1..063de31820 100644 --- a/deal.II/deal.II/source/numerics/data_out.cc +++ b/deal.II/deal.II/source/numerics/data_out.cc @@ -388,14 +388,8 @@ void DataOut::build_some_patches (Data data) QTrapez<1> q_trapez; QIterated patch_points (q_trapez, data.n_subdivisions); - // since most output formats can't - // handle cells that are not - // transformed using a Q1 mapping, - // we don't support anything else - // as well - static const MappingQ1 mapping; typename SelectFEValues >::FEValues - x_fe_patch_values (mapping, this->dofs->get_fe(), + x_fe_patch_values (this->dofs->get_fe(), patch_points, update_values); const unsigned int n_q_points = patch_points.n_quadrature_points; 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 dbd7e69189..94bec62608 100644 --- a/deal.II/deal.II/source/numerics/data_out_faces.cc +++ b/deal.II/deal.II/source/numerics/data_out_faces.cc @@ -35,14 +35,8 @@ void DataOutFaces::build_some_patches (Data data) QTrapez<1> q_trapez; QIterated patch_points (q_trapez, data.n_subdivisions); - // since most output formats can't - // handle cells that are not - // transformed using a Q1 mapping, - // we don't support anything else - // as well - static const MappingQ1 mapping; typename SelectFEValues >::FEFaceValues - x_fe_patch_values (mapping, this->dofs->get_fe(), + x_fe_patch_values (this->dofs->get_fe(), patch_points, update_values); const unsigned int n_q_points = patch_points.n_quadrature_points; diff --git a/deal.II/deal.II/source/numerics/data_out_stack.cc b/deal.II/deal.II/source/numerics/data_out_stack.cc index 89760b939a..41fb42845a 100644 --- a/deal.II/deal.II/source/numerics/data_out_stack.cc +++ b/deal.II/deal.II/source/numerics/data_out_stack.cc @@ -257,14 +257,8 @@ void DataOutStack::build_patches (const unsigned int n_subdivisions) QTrapez<1> q_trapez; QIterated patch_points (q_trapez, n_subdivisions); - // since most output formats can't - // handle cells that are not - // transformed using a Q1 mapping, - // we don't support anything else - // as well - static const MappingQ1 mapping; typename SelectFEValues >::FEValues - x_fe_patch_values (mapping, dof_handler->get_fe(), + x_fe_patch_values (dof_handler->get_fe(), patch_points, update_values); const unsigned int n_q_points = patch_points.n_quadrature_points; std::vector patch_values (n_q_points);