Skip to content

Add PPM reconstruction#7103

Open
nilsdeppe wants to merge 3 commits into
sxs-collaboration:developfrom
nilsdeppe:fd_ppm
Open

Add PPM reconstruction#7103
nilsdeppe wants to merge 3 commits into
sxs-collaboration:developfrom
nilsdeppe:fd_ppm

Conversation

@nilsdeppe
Copy link
Copy Markdown
Member

Proposed changes

Implements a finite-difference Piecewise Parabolic Method (PPM) reconstructor using degree-2 quadratic interpolation through three point values, followed by the Colella & Woodward (1984) §1.4 monotonicity limiter adapted for FD point values (not FV cell averages).

Upgrade instructions

Code review checklist

  • The code is documented and the documentation renders correctly. Run
    make doc to generate the documentation locally into BUILD_DIR/docs/html.
    Then open index.html.
  • The code follows the stylistic and code quality guidelines listed in the
    code review guide.
  • The PR lists upgrade instructions and is labeled bugfix or
    new feature if appropriate.

Further comments

#include "Helpers/NumericalAlgorithms/FiniteDifference/Exact.hpp"
#include "Helpers/NumericalAlgorithms/FiniteDifference/Python.hpp"
#include "NumericalAlgorithms/FiniteDifference/Ppm.hpp"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor comment: since this test file uses std::array, gsl::not_null, gsl::span, and DataVector, we could include <array>, "Utilities/Gsl.hpp" and "DataStructures/DataVector.hpp"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've rebased and squashed in adding the includes. Did you get a chance to try this reconstructor out?

nilsdeppe and others added 3 commits March 29, 2026 12:58
Implements a finite-difference Piecewise Parabolic Method (PPM)
reconstructor using degree-2 quadratic interpolation through three
point values, followed by the Colella & Woodward (1984) §1.4
monotonicity limiter adapted for FD point values (not FV cell averages).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds PpmPrim, a piecewise parabolic method (PPM) reconstructor for the
GRMHD ValenciaDivClean system, following the same structure as
MonotonisedCentralPrim. PPM uses a 3-point stencil with the Colella &
Woodward monotonicity limiter (ghost_zone_size = 2, no adaptive order).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds PpmPrim, a piecewise parabolic method (PPM) reconstructor for the
GRMHD GhValenciaDivClean system, following the same structure as
MonotonisedCentralPrim. PPM uses a 3-point stencil with the Colella &
Woodward monotonicity limiter (ghost_zone_size = 2, no adaptive order).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants