From f1ffe8076dcab5fcf53df96daf4e3afdc0e5ad37 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 15 Dec 2008 15:56:02 +0000 Subject: [PATCH] Augment a TODO. git-svn-id: https://svn.dealii.org/trunk@17951 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/dofs/dof_accessor.templates.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/deal.II/include/dofs/dof_accessor.templates.h b/deal.II/deal.II/include/dofs/dof_accessor.templates.h index 2208aa7873..a557b1e646 100644 --- a/deal.II/deal.II/include/dofs/dof_accessor.templates.h +++ b/deal.II/deal.II/include/dofs/dof_accessor.templates.h @@ -2461,7 +2461,7 @@ distribute_local_to_global (const Vector &local_source, const unsigned int n_dofs = local_source.size(); -//TODO[WB]: This function could me made more efficient. First, it allocates memory, which could be avoided by passing in another argument as a scratch array. second, the elementwise access is really slow if we use PETSc vectors/matrices. This should be fixed eventually +//TODO[WB]: This function could me made more efficient. First, it allocates memory, which could be avoided by passing in another argument as a scratch array (or by using the dof_indices cache for non-hp DoFHandlers, see the functions in the Implementation class above). second, the elementwise access is really slow if we use PETSc vectors/matrices. This should be fixed eventually // get indices of dofs std::vector dofs (n_dofs); @@ -2497,7 +2497,7 @@ distribute_local_to_global (const FullMatrix &local_source, const unsigned int n_dofs = local_source.m(); -//TODO[WB]: This function could me made more efficient. First, it allocates memory, which could be avoided by passing in another argument as a scratch array. second, the elementwise access is really slow if we use PETSc vectors/matrices. This should be fixed eventually +//TODO[WB]: This function could me made more efficient. First, it allocates memory, which could be avoided by passing in another argument as a scratch array (or by using the dof_indices cache for non-hp DoFHandlers, see the functions in the Implementation class above). second, the elementwise access is really slow if we use PETSc vectors/matrices. This should be fixed eventually // get indices of dofs std::vector dofs (n_dofs); -- 2.39.5