Raviart Thomas elements
I have been trying to use the Raviart Thomas element \mathcal{RT_k}
for simplices (the class RaviartThomasSimplexLocalFiniteElement
), but it thrwos a MathError
in some cases. So far I have tryied order 0 in 2d, which works, order 1 in 2d and order 0 in 3d, which don't work. The question is, for which cases does this element work? or am I doing something wrong?
This is the error message I get:
terminate called after throwing an instance of 'Dune::MathError'
what(): MathError [BasisMatrixBase:/home/saospina/Codes/DUNE_SRC/dune-localfunctions/dune/localfunctions/utility/basismatrix.hh:41]: While computing basis a singular matrix was constructed!
Aborted