From: Wolfgang Bangerth Date: Tue, 19 May 2020 00:12:20 +0000 (-0600) Subject: Simplify some code. X-Git-Tag: v9.2.0-rc3~1^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b84f3d0f7744cd5cd01a86314a55bde65de86cb;p=dealii.git Simplify some code. --- diff --git a/examples/step-70/step-70.cc b/examples/step-70/step-70.cc index 0f19d3f9f2..ccb6b5491a 100644 --- a/examples/step-70/step-70.cc +++ b/examples/step-70/step-70.cc @@ -1634,9 +1634,6 @@ namespace Step70 ".prm", ParameterHandler::Short); - ComponentMask velocity_mask(spacedim + 1, true); - velocity_mask.set(spacedim, false); - const double time_step = par.final_time / (par.number_of_time_steps - 1); double time = 0; unsigned int output_cycle = 0; @@ -1696,7 +1693,7 @@ namespace Step70 tracer_particle_handler, locally_relevant_solution, tracer_particle_velocities, - velocity_mask); + fluid_fe->component_mask(FEValuesExtractors::Vector(0))); tracer_particle_velocities *= time_step;