// $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
/**
* 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<SmartPointer<Polynomial> > &pols);
vector<Tensor<1,dim> > &grads,
vector<Tensor<2,dim> > &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.
*/
* given to the constructor.
*/
vector<SmartPointer<Polynomial> > polynomials;
+
+ /**
+ * Number of tensor product
+ * polynomials. For $n$ 1d
+ * polynomials this is $n^dim$.
+ */
+ const unsigned int n_tensor_pols;
};