From 4b84f3d0f7744cd5cd01a86314a55bde65de86cb Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 18 May 2020 18:12:20 -0600 Subject: [PATCH] Simplify some code. --- examples/step-70/step-70.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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; -- 2.39.5