Adjust the FunctionSpace for a few FiniteElements

This commit is contained in:
Veselin Dobrev
2022-03-11 11:06:38 -08:00
parent 6fa650fef5
commit 7e9b167dd7
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -4586,7 +4586,7 @@ void Nedelec1TetFiniteElement::ProjectGrad(const FiniteElement &fe,
Nedelec1WdgFiniteElement::Nedelec1WdgFiniteElement()
: VectorFiniteElement(3, Geometry::PRISM, 9, 1, H_CURL)
: VectorFiniteElement(3, Geometry::PRISM, 9, 1, H_CURL, FunctionSpace::Qk)
{
// not real nodes ...
Nodes.IntPoint(0).x = 0.5;
@@ -5783,7 +5783,7 @@ void RT0TetFiniteElement::Project (
}
RT0WdgFiniteElement::RT0WdgFiniteElement()
: VectorFiniteElement(3, Geometry::PRISM, 5, 1, H_DIV)
: VectorFiniteElement(3, Geometry::PRISM, 5, 1, H_DIV, FunctionSpace::Pk)
{
// not real nodes ...
Nodes.IntPoint(0).x = 0.33333333333333333333;