]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Augment documentation in one place. 8624/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 22 Aug 2019 17:58:22 +0000 (11:58 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 22 Aug 2019 17:58:22 +0000 (11:58 -0600)
include/deal.II/fe/fe_poly_tensor.h

index 1fa69c4156788879e06cb69a9b0f1d878281b822..724e0534f79e1f277e8d729e4edd327eee1c4db5 100644 (file)
@@ -148,7 +148,10 @@ class FE_PolyTensor : public FiniteElement<dim, spacedim>
 {
 public:
   /**
-   * Constructor.
+   * Constructor. This constructor does a deep copy of the polynomials
+   * object via the TensorPolynomialsBase::clone() function and stores
+   * a pointer to the copy. As a consequence, the calling site can
+   * simply pass a temporary object as the first argument.
    */
   FE_PolyTensor(const TensorPolynomialsBase<dim> &polynomials,
                 const FiniteElementData<dim> &    fe_data,

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.