]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update the list of requirements a template argument has to satisfy.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 10 Dec 2015 16:38:05 +0000 (10:38 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 10 Dec 2015 16:38:05 +0000 (10:38 -0600)
include/deal.II/fe/fe_poly.h

index 01db90689f36c714c13451b58ad77f297182547d..b39690899585ba966c25e1e61329dca4ee4a0579 100644 (file)
@@ -36,21 +36,26 @@ DEAL_II_NAMESPACE_OPEN
  * @code
  * static const unsigned int dimension;
  *
+ *  void compute (const Point<dim>            &unit_point,
+ *                std::vector<double>         &values,
+ *                std::vector<Tensor<1,dim> > &grads,
+ *                std::vector<Tensor<2,dim> > &grad_grads,
+ *                std::vector<Tensor<3,dim> > &third_derivatives,
+ *                std::vector<Tensor<4,dim> > &fourth_derivatives) const;
+ *
  * double compute_value (const unsigned int i,
  *                       const Point<dim> &p) const;
  *
- * Tensor<1,dim> compute_grad (const unsigned int i,
- *                             const Point<dim> &p) const;
- *
- * Tensor<2,dim> compute_grad_grad (const unsigned int i,
- *                                  const Point<dim> &p) const;
+ *  template <int order>
+ *  Tensor<order,dim> compute_derivative (const unsigned int i,
+ *                                        const Point<dim> &p) const;
  * @endcode
  * Example classes are TensorProductPolynomials, PolynomialSpace or
  * PolynomialsP.
  *
  * This class is not a fully implemented FiniteElement class. Instead there
  * are several pure virtual functions declared in the FiniteElement and
- * FiniteElement classes which cannot implemented by this class but are left
+ * FiniteElement classes which cannot be implemented by this class but are left
  * for implementation in derived classes.
  *
  * Furthermore, this class assumes that shape functions of the FiniteElement

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.