]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Augment a TODO.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 15 Dec 2008 15:56:02 +0000 (15:56 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 15 Dec 2008 15:56:02 +0000 (15:56 +0000)
git-svn-id: https://svn.dealii.org/trunk@17951 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/dofs/dof_accessor.templates.h

index 2208aa78732176f1d5292307f16f287b75437248..a557b1e646f1ad42cadf69f9a002a8360914ef3c 100644 (file)
@@ -2461,7 +2461,7 @@ distribute_local_to_global (const Vector<number> &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<unsigned int> dofs (n_dofs);
@@ -2497,7 +2497,7 @@ distribute_local_to_global (const FullMatrix<number> &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<unsigned int> dofs (n_dofs);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.