diff --git a/source/solvers/tracer.cc b/source/solvers/tracer.cc index 09d15c9a9a..dac0ac46a2 100644 --- a/source/solvers/tracer.cc +++ b/source/solvers/tracer.cc @@ -142,9 +142,6 @@ Tracer::assemble_system_matrix_dg() const unsigned int &face_no, TracerScratchData &scratch_data, StabilizedDGMethodsCopyData ©_data) { - // Identify which boundary condition corresponds to the boundary id. If - // this boundary condition is not identified, then exit the simulation - // instead of assuming an outlet. const auto &triangulation_boundary_id = cell->face(face_no)->boundary_id(); const unsigned int boundary_index = @@ -219,12 +216,12 @@ Tracer::assemble_system_matrix_dg() this->inner_face_assembler->assemble_matrix(scratch_data, copy_data); }; - const auto copier = [&](const StabilizedDGMethodsCopyData &c) { - this->copy_local_matrix_to_global_matrix(c); + const auto copier = [&](const StabilizedDGMethodsCopyData ©_data) { + this->copy_local_matrix_to_global_matrix(copy_data); const AffineConstraints &constraints_used = this->zero_constraints; - for (const auto &cdf : c.face_data) + for (const auto &cdf : copy_data.face_data) { constraints_used.distribute_local_to_global(cdf.face_matrix, cdf.joint_dof_indices, diff --git a/source/solvers/tracer_assemblers.cc b/source/solvers/tracer_assemblers.cc index 9aaa0d56c7..60d8fc534f 100644 --- a/source/solvers/tracer_assemblers.cc +++ b/source/solvers/tracer_assemblers.cc @@ -633,7 +633,6 @@ TracerAssemblerBoundaryNitsche::assemble_rhs( // If the boundary condition is an outlet, assumes that advection comes // out since there is no inflow - if (boundary_conditions_tracer.type[boundary_index] == BoundaryConditions::BoundaryType::outlet) {