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

GroupOfElements can be Unoriented

parent 0e372f5a
No related branches found
No related tags found
No related merge requests found
...@@ -40,6 +40,9 @@ FunctionSpace::~FunctionSpace(void){ ...@@ -40,6 +40,9 @@ FunctionSpace::~FunctionSpace(void){
// Element To GoD // // Element To GoD //
if(eToGod) if(eToGod)
delete eToGod; delete eToGod;
// Unorient GroupOfElement //
goe->unoriented();
} }
void FunctionSpace::build(GroupOfElement& goe, void FunctionSpace::build(GroupOfElement& goe,
...@@ -212,7 +215,8 @@ const GroupOfDof& FunctionSpace::getGoDFromElement(const MElement& element) cons ...@@ -212,7 +215,8 @@ const GroupOfDof& FunctionSpace::getGoDFromElement(const MElement& element) cons
if(it == eToGod->end()) if(it == eToGod->end())
throw throw
Exception("Their is no GroupOfDof associated with the given MElement"); Exception("Their is no GroupOfDof associated with the given MElement: %d",
element.getNum());
else else
return *(it->second); return *(it->second);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment