Recon1d_PPM_H4_2018 module reference
Piecewise Parabolic Method 1D reconstruction with h4 interpolation for edges (2018 version)
This implementation of PPM follows White and Adcroft 2008 [91], with cells resorting to PCM for extrema including first and last cells in column. This scheme differs from Colella and Woodward, 1984 [18], in the method of first estimating the fourth-order accurate edge values. This uses numerical expressions that predate a 2019 refactoring. The first and last cells are always limited to PCM.
Data Types
PPM reconstruction following White and Adcroft, 2008 |
Functions/Subroutines
Calculate a 1D PPM_H4_2018 reconstructions based on h(:) and u(:) |
|
Runs PPM_H4_2018 reconstruction unit tests and returns True for any fails, False otherwise |
Detailed Description
Type Documentation
- type, extends(PPM_H4_2019) :: PPM_H4_2018
PPM reconstruction following White and Adcroft, 2008
Implemented by extending recon1d_ppm_h4_2019.
The source for the methods ultimately used by this class are:
init() -> recon1d_ppm_h4_2019.init()
reconstruct() *locally defined
average() -> recon1d_ppm_h4_2019.average()
f() -> recon1d_ppm_h4_2019.f()
dfdx() -> recon1d_ppm_h4_2019.dfdx()
check_reconstruction() -> recon1d_ppm_h4_2019.check_reconstruction()
unit_tests() *locally defined
destroy() -> recon1d_ppm_h4_2019.destroy()
remap_to_sub_grid() -> recon1d_type.remap_to_sub_grid()
init_parent() -> recon1d_ppm_h4_2019.init()
reconstruct_parent() -> recon1d_ppm_h4_2019.reconstruct()
Functions/Subroutine Documentation
- subroutine reconstruct(this, h, u)
Calculate a 1D PPM_H4_2018 reconstructions based on h(:) and u(:)
- Parameters
this [inout]
This reconstruction
h [in]
Grid spacing (thickness) [typically H]
u [in]
Cell mean values [A]
hMinFrac
A minimum fraction for min(h)/sum(h) [nondim]
- logical function unit_tests(this, verbose, stdout, stderr)
Runs PPM_H4_2018 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