namespace ppm_functions

Overview

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

namespace ppm_functions {

// global functions

subroutine, public ppm_reconstruction(
    N N,
    h h,
    u u,
    ppoly_E ppoly_E,
    ppoly_coef ppoly_coef,
    h_neglect h_neglect
    );

subroutine, public ppm_boundary_extrapolation(
    N N,
    h h,
    u u,
    ppoly_E ppoly_E,
    ppoly_coef ppoly_coef,
    h_neglect h_neglect
    );

} // namespace ppm_functions

Detailed Documentation

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

Global Functions

subroutine, public ppm_reconstruction(
    N N,
    h h,
    u u,
    ppoly_E ppoly_E,
    ppoly_coef ppoly_coef,
    h_neglect h_neglect
    )

Builds quadratic polynomials coefficients from cell mean and edge values.

Parameters:

n

Number of cells

h

Cell widths

u

Cell averages

ppoly_e

Edge values, with the same units as u.

ppoly_coef

Polynomial coefficients, mainly with the same units as u.

h_neglect

A negligibly small width in the same units as h.

subroutine, public ppm_boundary_extrapolation(
    N N,
    h h,
    u u,
    ppoly_E ppoly_E,
    ppoly_coef ppoly_coef,
    h_neglect h_neglect
    )

Reconstruction by parabolas within boundary cells.

Parameters:

n

Number of cells

h

cell widths (size N)

u

cell averages (size N)

ppoly_e

edge values of piecewise polynomials, with the same units as u.

ppoly_coef

coefficients of piecewise polynomials, mainly with the same units as u.

h_neglect

A negligibly small width for the purpose of cell reconstructions in the same units as h.