pcm_functions module reference
Piecewise constant reconstruction functions.
Functions/Subroutines
Reconstruction by constant polynomials within each cell. |
Detailed Description
Piecewise constant reconstruction functions.
Function/Subroutine Documentation
- subroutine pcm_functions/pcm_reconstruction(N, u, edge_values, ppoly_coef)
Reconstruction by constant polynomials within each cell. There is nothing to do but this routine is provided to ensure a homogeneous interface throughout the regridding toolbox.
It is assumed that the dimension of ‘u’ is equal to the number of cells defining ‘grid’ and ‘ppoly’. No consistency check is performed.
- Parameters:
n :: [in] Number of cells
u ::
u[in] cell averages in arbitrary units [A]edge_values ::
edge_values[inout] Edge value of polynomial, with the same units as u [A].ppoly_coef ::
ppoly_coef[inout] Coefficients of polynomial, with the same units as u [A].
- Called from:
mom_remapping::build_reconstructions_1dmom_remapping::remapping_unit_tests