craffael / lehrfempp

Simple Finite Element Framework for research and education
MIT License
29 stars 16 forks source link

Quad Refinement doesn't preserve orientation #139

Open craffael opened 5 years ago

craffael commented 5 years ago

If we refine the this mesh with MeshHierarchy::RefineRegular(), the refined mesh contains quads with positive and negative orientation even though the original file had only positive orientations.

hiptmair commented 5 years ago

Orientations are not preserved by refinement and it was never supposed to do so, because this was not part of the specification. It would be a very big effort to change this, and error prone, moreover.

If this is a problem for visualization, then it has to be fixed by correction for different orientations a posteriori.