From d5b37c9434c6f6aab4e8d5499f49a8ed7a873959 Mon Sep 17 00:00:00 2001 From: Ralf Hartmann Date: Wed, 10 Jan 2001 18:17:23 +0000 Subject: [PATCH] New n_tensor_product_polynomials function. Small changes. git-svn-id: https://svn.dealii.org/trunk@3642 0785d39b-7218-0410-832d-ea1e28bc413d --- .../include/base/tensor_product_polynomials.h | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/deal.II/base/include/base/tensor_product_polynomials.h b/deal.II/base/include/base/tensor_product_polynomials.h index 8585176a6a..b91e5336a7 100644 --- a/deal.II/base/include/base/tensor_product_polynomials.h +++ b/deal.II/base/include/base/tensor_product_polynomials.h @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2000 by the deal.II authors +// Copyright (C) 2000, 2001 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -39,7 +39,9 @@ class TensorProductPolynomials /** * Constructor. @p{pols} is a * vector of pointers to - * one-dimensional polynomials. + * one-dimensional polynomials + * and will be copied into the + * member variable @p{polynomials}. */ TensorProductPolynomials(const vector > &pols); @@ -59,6 +61,13 @@ class TensorProductPolynomials vector > &grads, vector > &grad_grads) const; + /** + * Returns the number of tensor + * product polynomials. For $n$ + * 1d polynomials this is $n^dim$. + */ + unsigned int n_tensor_product_polynomials() const; + /** * Exception. */ @@ -73,6 +82,13 @@ class TensorProductPolynomials * given to the constructor. */ vector > polynomials; + + /** + * Number of tensor product + * polynomials. For $n$ 1d + * polynomials this is $n^dim$. + */ + const unsigned int n_tensor_pols; }; -- 2.39.5