Recon1d_EPPM_CWK module reference
Piecewise Parabolic Method 1D reconstruction in model index space with linear extrapolation for first and last cells
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.
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
Type Documentation
- type, extends(PPM_CWK) :: EPPM_CWK
PPM reconstruction in index space (no grid dependence) with linear extrapolation for first and last cells.
Implemented by extending recon1d_ppm_cwk.
The source for the methods ultimately used by this class are:
init() -> recon1d_ppm_cwk.init()
reconstruct() *locally defined
average() -> recon1d_ppm_cwk.average()
f() -> recon1d_ppm_cwk.f()
dfdx() -> recon1d_ppm_cwk.dfdx()
check_reconstruction() -> recon1d_ppm_cwk.check_reconstruction()
unit_tests() *locally defined
destroy() -> recon1d_ppm_cwk.destroy()
remap_to_sub_grid() -> recon1d_type.remap_to_sub_grid()
init_parent() -> recon1d_ppm_cwk.init()
reconstruct_parent() -> recon1d_ppm_cwk.reconstruct()
Functions/Subroutine Documentation
- subroutine 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]
- logical function unit_tests(this, verbose, stdout, stderr)
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