dougshidong / PHiLiP

Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
Other
45 stars 37 forks source link

Bugfix for writing higher-order data in 1D #207

Closed cpethrick closed 1 year ago

cpethrick commented 1 year ago

The changes in PR #181 introduced a bug where higher-order 1D results would either crash paraview or produce obviously incorrect results. The change in this PR yields nice, smooth plot on paraview.

For future reference, here is how to plot higher-order 1D results:

Before, 16 elements with p=7:

After: