recon1d_eppm_cwk module reference
Piecewise Parabolic Method 1D reconstruction in model index space with linear extrapolation for first and last cells.
Data Types
PPM reconstruction in index space (no grid dependence) with linear extrapolation for first and last cells. |
Functions/Subroutines
Calculate a 1D EPPM_CWK reconstructions based on h(:) and u(:) |
|
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, privateImplementation of the EPPM_CWK reconstruction.% unit_tests ::
procedure, privateImplementation 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 ::
this[inout] This reconstructionh ::
h[in] Grid spacing (thickness) [typically H]u ::
u[in] Cell mean values [A]
- function recon1d_eppm_cwk/unit_tests(this, verbose, stdout, stderr)
Runs EPPM_CWK reconstruction unit tests and returns True for any fails, False otherwise.
- Parameters:
this ::
this[inout] This reconstructionverbose ::
verbose[in] True, if verbosestdout ::
stdout[in] I/O channel for stdoutstderr ::
stderr[in] I/O channel for stderr