From: Wolfgang Bangerth Date: Fri, 5 May 2017 21:39:51 +0000 (-0600) Subject: No longer use the deprecated constructor of MappingQEulerian. X-Git-Tag: v9.0.0-rc1~1618^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93fb0be929b24edd32f0945e321d9d020391f4bf;p=dealii.git No longer use the deprecated constructor of MappingQEulerian. --- diff --git a/tests/codim_one/mapping_q1_eulerian.cc b/tests/codim_one/mapping_q1_eulerian.cc index 01d5dab292..b16136ec1e 100644 --- a/tests/codim_one/mapping_q1_eulerian.cc +++ b/tests/codim_one/mapping_q1_eulerian.cc @@ -64,7 +64,7 @@ void test(std::string filename) grid_out.write_ucd (tria, logfile); QTrapez quad; - MappingQ1Eulerian,spacedim> mapping(shift, shift_dh); + MappingQ1Eulerian,spacedim> mapping(shift_dh, shift); typename Triangulation::active_cell_iterator cell=tria.begin_active(), endc=tria.end() ; diff --git a/tests/fe/rt_approximation_01.cc b/tests/fe/rt_approximation_01.cc index 7e92f6a95a..453ca41054 100644 --- a/tests/fe/rt_approximation_01.cc +++ b/tests/fe/rt_approximation_01.cc @@ -485,7 +485,7 @@ int main () hn_constraints_def.close (); { - MappingQ1Eulerian<2> mapping_euler (deformation, *dof_handler_def); + MappingQ1Eulerian<2> mapping_euler (*dof_handler_def, deformation); // Try rotating the elements for (double rotat = 0; rotat < 2 * numbers::PI; rotat += 0.25 * numbers::PI) diff --git a/tests/mappings/mapping_q1_eulerian.cc b/tests/mappings/mapping_q1_eulerian.cc index 7f3abf6016..6e0e4739e5 100644 --- a/tests/mappings/mapping_q1_eulerian.cc +++ b/tests/mappings/mapping_q1_eulerian.cc @@ -56,7 +56,7 @@ show_values(FiniteElement &fe, DoFHandler flowfield_dof_handler(tr); flowfield_dof_handler.distribute_dofs(mapping_fe); Vector map_points(flowfield_dof_handler.n_dofs()); - MappingQ1Eulerian mapping(map_points, flowfield_dof_handler); + MappingQ1Eulerian mapping(flowfield_dof_handler, map_points); QGauss quadrature_formula(2); diff --git a/tests/mappings/mapping_q1_eulerian_01.cc b/tests/mappings/mapping_q1_eulerian_01.cc index f750d053af..34ac93dd07 100644 --- a/tests/mappings/mapping_q1_eulerian_01.cc +++ b/tests/mappings/mapping_q1_eulerian_01.cc @@ -101,7 +101,7 @@ void test () Displacement(), displacements); - MappingQ1Eulerian euler(displacements, dof_handler); + MappingQ1Eulerian euler(dof_handler, displacements); // now the actual test DataOut data_out; data_out.attach_dof_handler(dof_handler); diff --git a/tests/mappings/mapping_q_eulerian_04.cc b/tests/mappings/mapping_q_eulerian_04.cc index 1bc27174e0..44aa50c204 100644 --- a/tests/mappings/mapping_q_eulerian_04.cc +++ b/tests/mappings/mapping_q_eulerian_04.cc @@ -61,7 +61,7 @@ void test() grid_out.write_ucd (tria, logfile); QTrapez quad; - MappingQ1Eulerian,spacedim> mapping(shift, shift_dh); + MappingQ1Eulerian,spacedim> mapping(shift_dh, shift); typename Triangulation::active_cell_iterator cell=tria.begin_active(), endc=tria.end() ;