# ppm_functions module reference¶

Provides functions used with the Piecewise-Parabolic-Method in the vertical ALE algorithm.

More…

## Functions/Subroutines¶

 ppm_reconstruction() Builds quadratic polynomials coefficients from cell mean and edge values. ppm_limiter_standard() Adjusts edge values using the standard PPM limiter (Colella & Woodward, JCP 1984) after first checking that the edge values are bounded by neighbors cell averages and that the edge values are monotonic between cell averages. ppm_boundary_extrapolation() Reconstruction by parabolas within boundary cells.

## Detailed Description¶

Provides functions used with the Piecewise-Parabolic-Method in the vertical ALE algorithm.

## Function/Subroutine Documentation¶

subroutine ppm_functions/ppm_reconstruction(N, h, u, edge_values, ppoly_coef, h_neglect, answers_2018)

Builds quadratic polynomials coefficients from cell mean and edge values.

Parameters
• n :: [in] Number of cells

• h :: [in] Cell widths [H]

• u :: [in] Cell averages [A]

• edge_values :: [inout] Edge values [A]

• ppoly_coef :: [inout] Polynomial coefficients, mainly [A]

• h_neglect :: [in] A negligibly small width [H]

• answers_2018 :: [in] If true use older, less acccurate expressions.

Call to

ppm_limiter_standard

Called from
subroutine ppm_functions/ppm_limiter_standard(N, h, u, edge_values, h_neglect, answers_2018)

Adjusts edge values using the standard PPM limiter (Colella & Woodward, JCP 1984) after first checking that the edge values are bounded by neighbors cell averages and that the edge values are monotonic between cell averages.

Parameters
• n :: [in] Number of cells

• h :: [in] cell widths (size N) [H]

• u :: [in] cell average properties (size N) [A]

• edge_values :: [inout] Potentially modified edge values [A]

• h_neglect :: [in] A negligibly small width [H]

• answers_2018 :: [in] If true use older, less acccurate expressions.

Call to
Called from

ppm_reconstruction

subroutine ppm_functions/ppm_boundary_extrapolation(N, h, u, edge_values, ppoly_coef, h_neglect)

Reconstruction by parabolas within boundary cells.

Parameters
• n :: [in] Number of cells

• h :: [in] cell widths (size N) [H]

• u :: [in] cell averages (size N) [A]

• edge_values :: [inout] edge values of piecewise polynomials [A]

• ppoly_coef :: [inout] coefficients of piecewise polynomials, mainly [A]

• h_neglect :: [in] A negligibly small width for the purpose of cell reconstructions [H]

Call to

hneglect_dflt

Called from