Fixed sign of 2D BDM basis functions and added some documentation to BDM
polynomial description.
* <i>(x<sup>k-i</sup>yz<sup>i+1</sup>,0,0)</i> and
* <i>(0,x<sup>i+1</sup>y<sup>k-i</sup>z,0)</i> </dl>
*
+ * Note the curl of a scalar function is given by
+ * $\text{curl}(f(x,y)) = \begin{pmatrix} f_{y}(x,y) \\ -f_{x}(x,y) \end{pmatrix}$.
* @todo Second derivatives in 3D are missing.
*
* @ingroup Polynomials
* @todo Restriction matrices are missing.
*
* The matching pressure space for FE_BDM of order <i>k</i> is the element
- * FE_DGP of order <i>k</i>.
+ * FE_DGP of order <i>k-1</i>.
*
* The BDM element of order @p p has <i>p+1</i> degrees of freedom on each
* face. These are implemented as the function values in the <i>p+1</i> Gauss
{
values[start][0] = monovali[0][0];
values[start][1] = -unit_point(1) * monovali[0][1];
- values[start+1][0] = -unit_point(0) * monovali[1][1];
- values[start+1][1] = monovali[1][0];
+ values[start+1][0] = unit_point(0) * monovali[1][1];
+ values[start+1][1] = -monovali[1][0];
}
if (grads.size() != 0)
{
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