From 3b67990064ed93f5df4877f800254d860c473629 Mon Sep 17 00:00:00 2001 From: guido Date: Wed, 18 Jul 2001 10:42:16 +0000 Subject: [PATCH] TODO more explicit git-svn-id: https://svn.dealii.org/trunk@4852 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/function_derivative.cc | 7 ++++--- deal.II/base/source/job_identifier.cc | 4 +++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/deal.II/base/source/function_derivative.cc b/deal.II/base/source/function_derivative.cc index 6ee9b01cc9..a78ab3a6f3 100644 --- a/deal.II/base/source/function_derivative.cc +++ b/deal.II/base/source/function_derivative.cc @@ -56,8 +56,6 @@ FunctionDerivative::set_formula (DifferenceFormula form) formula = form; } -//TODO:[?] Discussion on an efficient implementation of Point additions. - template double FunctionDerivative::value (const Point &p, @@ -88,7 +86,10 @@ FunctionDerivative::value (const Point &p, using namespace std; #endif -//TODO:[?] Optimize construction of vectors thread-safe +//TODO:[WB] Optimize construction of vectors thread-safe +// Right now, vectors are allocated each time value_list is called. +// This costs a lot of time and should be replaced by a static object, +// but that would not be thread-safe anymore. template void diff --git a/deal.II/base/source/job_identifier.cc b/deal.II/base/source/job_identifier.cc index c8d78afef8..f9697b2781 100644 --- a/deal.II/base/source/job_identifier.cc +++ b/deal.II/base/source/job_identifier.cc @@ -28,7 +28,9 @@ JobIdentifier::JobIdentifier() id = std::string(program_id()); //TODO:[GK] try to avoid this hack - +// It should be possible not to check DEBUG, but there is this +// tedious -ansi, which causes problems with linux headers + #if (HAVE_GETHOSTNAME && (!DEBUG)) char name[100]; gethostname(name,99); -- 2.39.5