From 6f7ca42dd86a023de52e34f6f4e9a491e8fd49da Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 25 Mar 2011 01:40:53 +0000 Subject: [PATCH] Move comment about the implementation to the function that actually does the (internal) implementation, rather than leaving it with the general class. git-svn-id: https://svn.dealii.org/trunk@23529 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/base/polynomial.h | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/deal.II/include/deal.II/base/polynomial.h b/deal.II/include/deal.II/base/polynomial.h index d8aee0b869..5a302a5e60 100644 --- a/deal.II/include/deal.II/base/polynomial.h +++ b/deal.II/include/deal.II/base/polynomial.h @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2010 by the deal.II authors +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2010, 2011 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -390,11 +390,7 @@ namespace Polynomials * Legendre polynomials of arbitrary degree on [0,1]. * * Constructing a Legendre polynomial of degree p, the coefficients - * will be computed by the three-term recursion formula. The - * coefficients are stored in a static data vector to be available - * when needed next time. Since the recursion is performed for the - * interval $[-1,1]$, the polynomials are shifted to $[0,1]$ by the - * scale and shift functions of Polynomial, afterwards. + * will be computed by the three-term recursion formula. * * @author Guido Kanschat, 2000 */ @@ -446,6 +442,15 @@ namespace Polynomials /** * Compute coefficients recursively. + * The coefficients are stored in a + * static data vector to be available + * when needed next time. Since the + * recursion is performed for the + * interval $[-1,1]$, the polynomials + * are shifted to $[0,1]$ by the + * scale and shift + * functions of Polynomial, + * afterwards. */ static void compute_coefficients (const unsigned int p); -- 2.39.5