From 485d9345455abba245a304cb60dafb65dd841f61 Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Fri, 19 Oct 2007 06:03:43 +0000 Subject: [PATCH] rely more on precollected dofs git-svn-id: https://svn.dealii.org/trunk@15351 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/numerics/matrices.cc | 51 ++------------------- 1 file changed, 4 insertions(+), 47 deletions(-) diff --git a/deal.II/deal.II/source/numerics/matrices.cc b/deal.II/deal.II/source/numerics/matrices.cc index da9de4a1b5..327b871742 100644 --- a/deal.II/deal.II/source/numerics/matrices.cc +++ b/deal.II/deal.II/source/numerics/matrices.cc @@ -1036,11 +1036,7 @@ create_boundary_mass_matrix_1 (const Mapping &mapping, std::vector dofs (dofs_per_cell); std::vector dofs_on_face_vector (dofs_per_face); - - // for each dof on the cell, have a - // flag whether it is on the face - std::vector dof_is_on_face(dofs_per_cell); - + typename DoFHandler::active_cell_iterator cell = range.first; for (; cell!=range.second; ++cell) for (unsigned int face=0; face::faces_per_cell; ++face) @@ -1198,57 +1194,18 @@ create_boundary_mass_matrix_1 (const Mapping &mapping, cell->get_dof_indices (dofs); cell->face(face)->get_dof_indices (dofs_on_face_vector); - // check for each of the - // dofs on this cell - // whether it is on the - // face - for (unsigned int i=0; i max_diag_entry) - max_diag_entry = std::fabs(cell_matrix(i,i)); -#endif - // lock the matrix Threads::ThreadMutex::ScopedLock lock (mutex); for (unsigned int i=0; i