From 0e16341d695e40ce686c6055b6dc84ae4c6ab182 Mon Sep 17 00:00:00 2001 From: hartmann Date: Mon, 27 Aug 2001 09:25:45 +0000 Subject: [PATCH] Include doc for power function. git-svn-id: https://svn.dealii.org/trunk@4914 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/tensor_product_polynomials.h | 8 +++++++- deal.II/base/source/tensor_product_polynomials.cc | 5 ----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/deal.II/base/include/base/tensor_product_polynomials.h b/deal.II/base/include/base/tensor_product_polynomials.h index 69b7fdf377..dcdace986e 100644 --- a/deal.II/base/include/base/tensor_product_polynomials.h +++ b/deal.II/base/include/base/tensor_product_polynomials.h @@ -195,7 +195,13 @@ class TensorProductPolynomials */ std::vector n_pols_to; - + /** + * Computes @p{x} to the power of + * @p{y} for unsigned int @p{x} + * and @p{y}. It is a private + * function as it is only used in + * this class. + */ static unsigned int power(const unsigned int x, const unsigned int y); }; diff --git a/deal.II/base/source/tensor_product_polynomials.cc b/deal.II/base/source/tensor_product_polynomials.cc index 6866f71d08..a1759afc37 100644 --- a/deal.II/base/source/tensor_product_polynomials.cc +++ b/deal.II/base/source/tensor_product_polynomials.cc @@ -17,11 +17,6 @@ -//TODO: [RH] Is this function only used inside this class? -// It should be inline, anyway. Also, there is no documentation. -// rather, make it a file-static function, or better in an anonymous -// namespace - template unsigned int TensorProductPolynomials::power(const unsigned int x, const unsigned int y) -- 2.39.5