]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
use Polynomials::LagrangeEquidistant
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 8 Aug 2011 10:41:19 +0000 (10:41 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 8 Aug 2011 10:41:19 +0000 (10:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@24030 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/fe/fe_face.h
deal.II/source/fe/fe_face.cc

index 1e4f0fa7b3cc5329af480664c2975127797ecddb..d6bda39f2289a729ad9f3dac83dc6e9db31b096a 100644 (file)
@@ -1,7 +1,7 @@
 //---------------------------------------------------------------------------
 //    $Id$
 //
-//    Copyright (C) 2009, 2010 by the deal.II authors
+//    Copyright (C) 2009, 2010, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -20,15 +20,27 @@ DEAL_II_NAMESPACE_OPEN
 
 
 /**
- * @warning This class has not been tested
- *
  * A finite element, which is a tensor product polynomial on each face
- * and undefined in the interior of the cells.
+ * and undefined in the interior of the cells. The basis functions on
+ * the faces are from Polynomials::LagrangeEquidistant
  *
  * This finite element is the trace space of FE_RaviartThomas on the
  * faces and serves in hybridized methods.
  *
- * @author Guido Kanschat, 2009
+ * @note Since these are only finite elements on faces, only
+ * FEFaceValues and FESubfaceValues will be able to extract reasonable
+ * values from any face polynomial. In order to make the use of
+ * FESystem simpler, FEValues objects will not fail using this finite
+ * element space, but all shape function values extracted will equal
+ * to zero.
+ *
+ * @todo Polynomials::LagrangeEquidistant should be and will be
+ * replaced by Polynomials::LagrangeGaussLobatto as soon as such a
+ * polynomial set exists.
+ *
+ * @ingroup fe
+ * @author Guido Kanschat
+ * @date 2009, 2011
  */
 template <int dim, int spacedim=dim>
 class FE_FaceQ : public FE_PolyFace<TensorProductPolynomials<dim-1>, dim, spacedim>
index 13c1f4dc5ecd4060b991715827acf21d2df1734b..248163be00dc1542dbf2680e934d58c9a4f7e80a 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2009 by the deal.II authors
+//    Copyright (C) 2009, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -21,7 +21,7 @@ template <int dim, int spacedim>
 FE_FaceQ<dim,spacedim>::FE_FaceQ (const unsigned int degree)
                :
                 FE_PolyFace<TensorProductPolynomials<dim-1>, dim, spacedim> (
-                 TensorProductPolynomials<dim-1>(Polynomials::Legendre::generate_complete_basis(degree)),
+                 TensorProductPolynomials<dim-1>(Polynomials::LagrangeEquidistant::generate_complete_basis(degree)),
                  FiniteElementData<dim>(get_dpo_vector(degree), 1, degree, FiniteElementData<dim>::L2),
                  std::vector<bool>(1,true))
 {}

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.