Skip to content

Commit

Permalink
Merge pull request #13373 from peterrum/mf_compute_diagonal_matrix_sm…
Browse files Browse the repository at this point in the history
…all_cleanup

MatrixFreeTools: small clean up
  • Loading branch information
kronbichler committed Feb 13, 2022
2 parents 2c726cb + 23a0d49 commit 6f159f1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion include/deal.II/matrix_free/tools.h
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ namespace MatrixFreeTools
{
integrator.reinit(cell);

unsigned int const n_filled_lanes =
const unsigned int n_filled_lanes =
matrix_free.n_active_entries_per_cell_batch(cell);

for (unsigned int v = 0; v < n_filled_lanes; ++v)
Expand Down
4 changes: 0 additions & 4 deletions tests/matrix_free/compute_diagonal_07.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,13 @@ test()
DoFTools::make_zero_boundary_constraints(dof_handler_q, constraints_q);
constraints_q.close();

constraints_q.print(std::cout);

AffineConstraints<Number> constraints_system;
DoFTools::make_hanging_node_constraints(dof_handler_system,
constraints_system);
DoFTools::make_zero_boundary_constraints(dof_handler_system,
constraints_system);
constraints_system.close();

constraints_system.print(std::cout);

typename MatrixFree<dim, Number, VectorizedArrayType>::AdditionalData
additional_data;
additional_data.mapping_update_flags = update_values | update_gradients;
Expand Down

0 comments on commit 6f159f1

Please sign in to comment.