From 66679638fcaa3e0a11f0ec59dec0b06c898bebcd Mon Sep 17 00:00:00 2001 From: Nicolas Marsic <nicolas.marsic@gmail.com> Date: Tue, 26 Mar 2013 12:59:02 +0000 Subject: [PATCH] GroupOfElements can be Unoriented --- FunctionSpace/FunctionSpace.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/FunctionSpace/FunctionSpace.cpp b/FunctionSpace/FunctionSpace.cpp index 90e8e07cb5..0fe11bea20 100644 --- a/FunctionSpace/FunctionSpace.cpp +++ b/FunctionSpace/FunctionSpace.cpp @@ -40,6 +40,9 @@ FunctionSpace::~FunctionSpace(void){ // Element To GoD // if(eToGod) delete eToGod; + + // Unorient GroupOfElement // + goe->unoriented(); } void FunctionSpace::build(GroupOfElement& goe, @@ -212,7 +215,8 @@ const GroupOfDof& FunctionSpace::getGoDFromElement(const MElement& element) cons if(it == eToGod->end()) 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 return *(it->second); -- GitLab