]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make TensorProductPolynomialsConst a friend of TensorProductPolynomials
authorgrahambenharper <grahambenharper@gmail.com>
Mon, 16 Sep 2019 16:15:20 +0000 (10:15 -0600)
committergrahambenharper <grahambenharper@gmail.com>
Mon, 16 Sep 2019 22:23:44 +0000 (16:23 -0600)
include/deal.II/base/tensor_product_polynomials.h

index 10223103038834f49b2bb1f5058c143282dc6dd0..28f7c9d03672bbd6aca46f6c2d3ae6c302012c63 100644 (file)
 
 DEAL_II_NAMESPACE_OPEN
 
+// Forward declarations for friends
+// TODO: We may be able to modify these classes so they aren't
+// required to be friends
 template <int dim>
 class TensorProductPolynomialsBubbles;
+template <int dim>
+class TensorProductPolynomialsConst;
 
 /**
  * @addtogroup Polynomials
@@ -236,6 +241,12 @@ protected:
    * so we declare it as a friend class.
    */
   friend class TensorProductPolynomialsBubbles<dim>;
+
+  /**
+   * TensorProductPolynomialsConst has a TensorProductPolynomials class
+   * so we declare it as a friend class.
+   */
+  friend class TensorProductPolynomialsConst<dim>;
 };
 
 

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.