Skip to content
Snippets Groups Projects
Commit a0fd1f43 authored by Nicolas Marsic's avatar Nicolas Marsic
Browse files

Bug in getKeys: Forgot parent element global Id

parent 0be00737
No related branches found
No related tags found
No related merge requests found
......@@ -232,7 +232,7 @@ vector<Dof> FunctionSpace::getKeys(const MElement& elem) const{
int parentTag = ElementType::ParentTypeFromTag(elem.getTypeForMSH());
int lowOrderTag = ElementType::getTag(parentTag, 1, false);
MElement* permElement = factory.create(lowOrderTag, vertex);
MElement* permElement = factory.create(lowOrderTag, vertex, element.getNum());
// Get Dofs from permuted Element //
vector<Dof> myDofs = getUnorderedKeys(*permElement);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment