recon1d_emplm_wa_poly module reference
Extrapolated-Monotonized Piecewise Linear Method 1D reconstruction.
Data Types
Extrapolation Limited Monotonic PLM reconstruction following White and Adcroft, 2008. |
Functions/Subroutines
Calculate a 1D PLM reconstruction based on h(:) and u(:) |
|
Returns a PLM slope using h2 extrapolation from a cell to the left, in the same arbitrary units as the input values [A]. |
|
Checks the EMPLM_WA_poly reconstruction for consistency. |
|
Runs PLM reconstruction unit tests and returns True for any fails, False otherwise. |
Detailed Description
This extends MPLM_poly, following White and Adcroft, 2008 [87], by extraplating for the slopes of the first and last cells. This extrapolation is used by White et al., 2009, during grid-generation.
This stores and evaluates the reconstruction using a polynomial representation which is not preferred but was the form used in OM4.
Type Documentation
- type recon1d_emplm_wa_poly/emplm_wa_poly
Extrapolation Limited Monotonic PLM reconstruction following White and Adcroft, 2008.
- Type fields:
% reconstruct ::
procedure, privateImplementation of the EMPLM_WA_poly reconstruction with boundary extrapolation.% check_reconstruction ::
procedure, privateImplementation of check reconstruction for the EMPLM_WA_poly reconstruction.% unit_tests ::
procedure, privateImplementation of unit tests for the EMPLM_WA_poly reconstruction.
Function/Subroutine Documentation
- subroutine recon1d_emplm_wa_poly/reconstruct(this, h, u)
Calculate a 1D PLM reconstruction 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]
- Call to:
- function recon1d_emplm_wa_poly/plm_extrapolate_slope(h_l, h_c, h_neglect, u_l, u_c)
Returns a PLM slope using h2 extrapolation from a cell to the left, in the same arbitrary units as the input values [A]. Use the negative to extrapolate from the cell to the right.
- Parameters:
h_l ::
h_l[in] Thickness of left cell in arbitrary grid thickness units [H]h_c ::
h_c[in] Thickness of center cell in arbitrary grid thickness units [H]h_neglect ::
h_neglect[in] A negligible thickness [H]u_l ::
u_l[in] Value of left cell in arbitrary units [A]u_c ::
u_c[in] Value of center cell in arbitrary units [A]
- Called from:
- function recon1d_emplm_wa_poly/check_reconstruction(this, h, u)
Checks the EMPLM_WA_poly reconstruction for consistency.
- Parameters:
this ::
this[in] This reconstructionh ::
h[in] Grid spacing (thickness) [typically H]u ::
u[in] Cell mean values [A]
- function recon1d_emplm_wa_poly/unit_tests(this, verbose, stdout, stderr)
Runs PLM 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