fdrmrc / Polydeal

C++ implementation of Polygonal Discontinuous Galerkin method within the deal.II Finite Element library.
https://fdrmrc.github.io/Polydeal/
Other
0 stars 0 forks source link

Fix bug when polygonal faces are not axis-aligned #59

Closed fdrmrc closed 11 months ago

fdrmrc commented 11 months ago

Fixes #58 ~(and depends on #57).~ ~The test associated to this PR will fail as the real fix has not been pushed here yet. See the linked issue for the description of the problem.~

The added test just checks that the linear solution $u=x+y-1$ is computed exactly also when faces of the polygons are not axis-aligned.

EDIT: Also a test with a quadratic FE space (and a quadratic $u$) has been added

fdrmrc commented 11 months ago

Since this PR fixed the test cases, I think it's safe to merge it. I also have another one (#60) which depends on this.