recon1d_eppm_cwk module reference

Piecewise Parabolic Method 1D reconstruction in model index space with linear extrapolation for first and last cells.

More…

Data Types

eppm_cwk

PPM reconstruction in index space (no grid dependence) with linear extrapolation for first and last cells.

Functions/Subroutines

reconstruct()

Calculate a 1D EPPM_CWK reconstructions based on h(:) and u(:)

unit_tests()

Runs EPPM_CWK reconstruction unit tests and returns True for any fails, False otherwise.

Detailed Description

This implementation of PPM follows Colella and Woodward, 1984, using uniform thickness and with cells resorting to PCM for local extrema. First and last cells use a PLM representation with slope set by matching the edge of the first interior cell.

Type Documentation

type recon1d_eppm_cwk/eppm_cwk

PPM reconstruction in index space (no grid dependence) with linear extrapolation for first and last cells.

Type fields:
  • % reconstruct [procedure,private] :: Implementation of the EPPM_CWK reconstruction.

  • % unit_tests [procedure,private] :: Implementation of unit tests for the EPPM_CWK reconstruction.

Function/Subroutine Documentation

subroutine recon1d_eppm_cwk/reconstruct(this, h, u)

Calculate a 1D EPPM_CWK reconstructions based on h(:) and u(:)

Parameters:
  • this :: [inout] This reconstruction

  • h :: [in] Grid spacing (thickness) [typically H]

  • u :: [in] Cell mean values [A]

function recon1d_eppm_cwk/unit_tests(this, verbose, stdout, stderr) [logical]

Runs EPPM_CWK reconstruction unit tests and returns True for any fails, False otherwise.

Parameters:
  • this :: [inout] This reconstruction

  • verbose :: [in] True, if verbose

  • stdout :: [in] I/O channel for stdout

  • stderr :: [in] I/O channel for stderr