PPM_functions module reference

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

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_monotonicity

Adjusts edge values using the original monotonicity constraint (Colella & Woodward, JCP 1984) Based on hybgen_ppm_coefs

PPM_boundary_extrapolation

Reconstruction by parabolas within boundary cells

Functions/Subroutine Documentation

subroutine 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 [in]

    Cell widths [H]

  • u [in]

    Cell averages in arbitrary coordinates [A]

  • edge_values [inout]

    Edge values [A]

  • ppoly_coef [inout]

    Polynomial coefficients, mainly [A]

  • h_neglect [in]

    A negligibly small width [H]

  • answer_date [in]

    The vintage of the expressions to use

Callees call graph
Callees of ppm_functions::ppm_reconstruction calls cluster_ppm_functions PPM_functions ppm_functions::ppm_limiter_standard PPM_limiter_standard [private/internal] ppm_functions::ppm_reconstruction PPM_reconstruction ppm_functions::ppm_reconstruction->ppm_functions::ppm_limiter_standard
Text view
Callers call graph
Callers of ppm_functions::ppm_reconstruction calls cluster_mom_ale MOM_ALE cluster_mom_remapping MOM_remapping cluster_ppm_functions PPM_functions cluster_regrid_interp regrid_interp mom_ale::ts_ppm_edge_values TS_PPM_edge_values ppm_functions::ppm_reconstruction PPM_reconstruction mom_ale::ts_ppm_edge_values->ppm_functions::ppm_reconstruction mom_remapping::build_reconstructions_1d build_reconstructions_1d mom_remapping::build_reconstructions_1d->ppm_functions::ppm_reconstruction mom_remapping::remapping_unit_tests remapping_unit_tests mom_remapping::remapping_unit_tests->ppm_functions::ppm_reconstruction regrid_interp::regridding_set_ppolys regridding_set_ppolys regrid_interp::regridding_set_ppolys->ppm_functions::ppm_reconstruction
Text view
subroutine 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 [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]

  • answer_date [in]

    The vintage of the expressions to use

Callees call graph
Callees of ppm_functions::ppm_limiter_standard calls cluster_ppm_functions PPM_functions cluster_regrid_edge_values regrid_edge_values ppm_functions::ppm_limiter_standard PPM_limiter_standard [private/internal] regrid_edge_values::bound_edge_values bound_edge_values ppm_functions::ppm_limiter_standard->regrid_edge_values::bound_edge_values regrid_edge_values::check_discontinuous_edge_values check_discontinuous_edge_values ppm_functions::ppm_limiter_standard->regrid_edge_values::check_discontinuous_edge_values
Text view
Callers call graph
Callers of ppm_functions::ppm_limiter_standard calls cluster_ppm_functions PPM_functions ppm_functions::ppm_limiter_standard PPM_limiter_standard [private/internal] ppm_functions::ppm_reconstruction PPM_reconstruction ppm_functions::ppm_reconstruction->ppm_functions::ppm_limiter_standard
Text view
subroutine 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 [in]

    cell average properties (size N) [A]

  • edge_values [inout]

    Potentially modified edge values [A]

Callers call graph
Callers of ppm_functions::ppm_monotonicity calls cluster_mom_remapping MOM_remapping cluster_ppm_functions PPM_functions cluster_regrid_interp regrid_interp mom_remapping::build_reconstructions_1d build_reconstructions_1d ppm_functions::ppm_monotonicity PPM_monotonicity mom_remapping::build_reconstructions_1d->ppm_functions::ppm_monotonicity regrid_interp::regridding_set_ppolys regridding_set_ppolys regrid_interp::regridding_set_ppolys->ppm_functions::ppm_monotonicity
Text view
subroutine 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]

Callers call graph
Callers of ppm_functions::ppm_boundary_extrapolation calls cluster_mom_ale MOM_ALE cluster_mom_remapping MOM_remapping cluster_ppm_functions PPM_functions cluster_regrid_interp regrid_interp mom_ale::ts_ppm_edge_values TS_PPM_edge_values ppm_functions::ppm_boundary_extrapolation PPM_boundary_extrapolation mom_ale::ts_ppm_edge_values->ppm_functions::ppm_boundary_extrapolation mom_remapping::build_reconstructions_1d build_reconstructions_1d mom_remapping::build_reconstructions_1d->ppm_functions::ppm_boundary_extrapolation regrid_interp::regridding_set_ppolys regridding_set_ppolys regrid_interp::regridding_set_ppolys->ppm_functions::ppm_boundary_extrapolation
Text view
API generated with Flint · Rendered from reStructuredText