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

Bug Fix with projection: sorting of a sorted vector -- element with same orientation were permuted

parent 5da875ba
No related branches found
No related tags found
No related merge requests found
...@@ -49,6 +49,9 @@ void FunctionSpace::build(GroupOfElement& goe, ...@@ -49,6 +49,9 @@ void FunctionSpace::build(GroupOfElement& goe,
this->goe = &goe; this->goe = &goe;
this->mesh = &(goe.getMesh()); this->mesh = &(goe.getMesh());
// Orient All Elements //
goe.orientAllElements(basis); // NOT SEXY: TO BE REMOVED
// Get Geo Data (WARNING HOMOGENE MESH REQUIRED)// // Get Geo Data (WARNING HOMOGENE MESH REQUIRED)//
const MElement& element = goe.get(0); const MElement& element = goe.get(0);
MElement& myElement = MElement& myElement =
......
...@@ -34,7 +34,8 @@ ...@@ -34,7 +34,8 @@
the Dof%s and GroupOfDof%s related to its geometrical @em Support. the Dof%s and GroupOfDof%s related to its geometrical @em Support.
@todo @todo
Allow Hybrid Mesh Allow Hybrid Mesh@n
Remove call to GroupOfElement:::orientAllElements()
*/ */
class Mesh; class Mesh;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment