@@ -115,13 +115,13 @@ namespace aspect
115115 const DoFHandler<dim> &mesh_dof_handler = this ->get_mesh_deformation_handler ().get_mesh_deformation_dof_handler ();
116116
117117 std::vector<double > squared_distances (mesh_dof_handler.locally_owned_dofs ().size (), std::numeric_limits<double >::max ());
118- std::vector<dof_to_eval_point_data > closest_evaluation_point_and_component (mesh_dof_handler.locally_owned_dofs ().size (),
119- dof_to_eval_point_data {numbers::invalid_dof_index, numbers::invalid_unsigned_int, numbers::invalid_unsigned_int});
118+ std::vector<DofToEvalPointData > closest_evaluation_point_and_component (mesh_dof_handler.locally_owned_dofs ().size (),
119+ DofToEvalPointData {numbers::invalid_dof_index, numbers::invalid_unsigned_int, numbers::invalid_unsigned_int});
120120
121121 // TODO: do we need to support the case of more than one different mesh deformation plugin to be active?
122122 const auto boundary_ids = this ->get_mesh_deformation_boundary_indicators ();
123123
124- IndexSet boundary_dofs = DoFTools::extract_boundary_dofs (mesh_dof_handler, ComponentMask (dim, true ), boundary_ids);
124+ const IndexSet boundary_dofs = DoFTools::extract_boundary_dofs (mesh_dof_handler, ComponentMask (dim, true ), boundary_ids);
125125
126126 const unsigned int dofs_per_cell = mesh_dof_handler.get_fe ().dofs_per_cell ;
127127 std::vector<types::global_dof_index> local_dof_indices (dofs_per_cell);
@@ -134,7 +134,7 @@ namespace aspect
134134
135135
136136 // Note: We assume that process_and_evaluate() does not call our lambda concurrently, otherwise we would have write
137- // conflicts when updating vector_with_surface_velocities and one_over_distance_vec .
137+ // conflicts when updating closest_evaluation_point_and_component and squared_distances .
138138
139139 const auto eval_func = [&](const ArrayView<const unsigned int > &values,
140140 const typename Utilities::MPI::RemotePointEvaluation<dim>::CellData &cell_data)
@@ -161,7 +161,7 @@ namespace aspect
161161 squared_distances[cell_dof_indices[j]] = distance_sq;
162162 const unsigned int component = mesh_dof_handler.get_fe ().system_to_component_index (j).first ;
163163 closest_evaluation_point_and_component[cell_dof_indices[j]] =
164- dof_to_eval_point_data {cell_dof_indices[j], local_values[i], component};
164+ DofToEvalPointData {cell_dof_indices[j], local_values[i], component};
165165 }
166166 }
167167 }
0 commit comments