ppm_functions module reference
Provides functions used with the Piecewise-Parabolic-Method in the vertical ALE algorithm.
Functions/Subroutines
Builds quadratic polynomials coefficients from cell mean and edge values. |
|
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. |
|
Adjusts edge values using the original monotonicity constraint (Colella & Woodward, JCP 1984) Based on hybgen_ppm_coefs. |
|
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, answer_date)
Builds quadratic polynomials coefficients from cell mean and edge values.
- Parameters:
n :: [in] Number of cells
h ::
h[in] Cell widths [H]u ::
u[in] Cell averages in arbitrary coordinates [A]edge_values ::
edge_values[inout] Edge values [A]ppoly_coef ::
ppoly_coef[inout] Polynomial coefficients, mainly [A]h_neglect ::
h_neglect[in] A negligibly small width [H]answer_date ::
answer_date[in] The vintage of the expressions to use
- Call to:
- Called from:
- subroutine ppm_functions/ppm_limiter_standard(N, h, u, edge_values, h_neglect, answer_date)
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 ::
h[in] cell widths (size N) [H]u ::
u[in] cell average properties (size N) [A]edge_values ::
edge_values[inout] Potentially modified edge values [A]h_neglect ::
h_neglect[in] A negligibly small width [H]answer_date ::
answer_date[in] The vintage of the expressions to use
- Call to:
regrid_edge_values::bound_edge_valuesregrid_edge_values::check_discontinuous_edge_values- Called from:
- subroutine ppm_functions/ppm_monotonicity(N, u, edge_values)
Adjusts edge values using the original monotonicity constraint (Colella & Woodward, JCP 1984) Based on hybgen_ppm_coefs.
- Parameters:
n :: [in] Number of cells
u ::
u[in] cell average properties (size N) [A]edge_values ::
edge_values[inout] Potentially modified edge values [A]
- Called from:
mom_remapping::build_reconstructions_1dregrid_interp::regridding_set_ppolys
- 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 ::
h[in] cell widths (size N) [H]u ::
u[in] cell averages (size N) [A]edge_values ::
edge_values[inout] edge values of piecewise polynomials [A]ppoly_coef ::
ppoly_coef[inout] coefficients of piecewise polynomials, mainly [A]h_neglect ::
h_neglect[in] A negligibly small width for the purpose of cell reconstructions [H]
- Called from: