]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Expand on a TODO.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 23 Apr 2014 20:16:14 +0000 (20:16 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 23 Apr 2014 20:16:14 +0000 (20:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@32820 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 42446a05c0d516235405b33551b0d3a9cb3a0308..3e928f8cfe2b7a09c0d95c0a06833f68857951a1 100644 (file)
@@ -2859,7 +2859,7 @@ namespace internal
 
         const unsigned int n_dofs = local_source_end - local_source_begin;
 
-//TODO[WB/MK]: This function could me made more efficient because it allocates memory, which could be avoided by passing in another argument as a scratch array. This should be fixed eventually
+//TODO[WB/MK]: This function could me made more efficient because it allocates memory, which could be avoided by passing in another argument as a scratch array. This should be fixed eventually. another option would be to let the surrounding class have a (static, mutable) scratch array that is thread-local
 
         // get indices of dofs
         std::vector<types::global_dof_index> 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.