]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add some docs.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Apr 2005 15:38:57 +0000 (15:38 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Apr 2005 15:38:57 +0000 (15:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@10479 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/fe/fe_dgp.h

index b2ac891b533afe23459927b302fcd62c7354b4d0..67644969862141d74324809d90ab10801482e8ac 100644 (file)
@@ -30,6 +30,20 @@ template <int dim> class MappingQ;
  * polynomials form a Legendre basis on the unit square. Thus, the
  * mass matrix is diagonal, if the grid cells are parallelograms.
  *
+ * The shape functions of this element are composed of the Lagrange
+ * polynomials <tt>L<sub>i</sub>(x)</tt>. In 2d, they form the basis
+ * <tt>L<sub>i</sub>(x) L<sub>j</sub>(y)</tt> where
+ * <tt>i<p,j<p,i+j<p</tt>, with <tt>p</tt> the order of the finite
+ * element as given to the constructor. For example, for p=1, there
+ * are the finite element space on each cell is spanned by the three
+ * functions <tt>1,x,y</tt>, although the actual shape functions may
+ * be linear combinations of these. Note that unlike the FE_DGQ
+ * element, the function <tt>xy</tt> is not part of the basis. 
+ *
+ * Similarly, in 3d, the shape functions are <tt>L<sub>i</sub>(x)
+ * L<sub>j</sub>(y) L<sub>k</sub>(z)</tt> where
+ * <tt>i<p,j<p,k<p,i+j+k<p</tt>.
+ *
  * @author Guido Kanschat, 2001, 2002, Ralf Hartmann 2004
  */
 template <int 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.