]> https://gitweb.dealii.org/ - dealii.git/commit
Correction to BDM degree method 1767/head
authorAlistair Bentley <alistairbntl@gmail.com>
Tue, 20 Oct 2015 19:57:50 +0000 (15:57 -0400)
committerAlistair Bentley <alistairbntl@gmail.com>
Sat, 24 Oct 2015 19:35:40 +0000 (15:35 -0400)
commitbe5538632c5745c95d7d72ad78dc3dbec9079795
treec34340a64135d47764d9e13c7933276d8cff2e85
parent62a7c20f8d00e2e263d6e89a66b920da8b311507
Correction to BDM degree method

* The documentation says this function should return one less than
    the highest polynomial degree. This is consistent with the
    notation used in the literature on BDM polynomials and is what I
    would expect the function to return.
* However, the function actually returns the degree of the highest
    polynomial degree because it calls PolynomialSpace.degree() (note:
    in this context, PolynomialSpace is the complete polynomial space
    of degree k, next then we add elements from k+1 to complete the
    BDM space) which specifically states it does not return the
    Maxmial degree of the polynomial, but the number of polynomials
    given to the constructor.
* If I understand correctly, since the number of polynomials given
    to the constructor includes constants, this returns degree+1.
* To correct this, one needs to be subtracted from the degree of the
    polynomial_space.
* A typo in the 3D bdm_grad functions has also been corrected
* Made a correction in the compute method to reflect the change in the
    degree method.
* Corrected out in the test polynomials_bdm_01.output file
* Edited some names in the test bdm_1.cc
doc/news/changes.h
include/deal.II/base/polynomials_bdm.h
source/base/polynomials_bdm.cc
tests/base/polynomials_bdm_01.cc
tests/base/polynomials_bdm_01.output
tests/fe/bdm_1.cc

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.