PCM_functions module reference
Piecewise constant reconstruction functions
Functions/Subroutines
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. |
Detailed Description
Date of creation: 2008.06.06 L. White
This module contains routines that handle one-dimensional finite volume reconstruction using the piecewise constant method (PCM).
Functions/Subroutine Documentation
- subroutine 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 [in]
cell averages in arbitrary units [A]
edge_values [inout]
Edge value of polynomial, with the same units as u [A].
ppoly_coef [inout]
Coefficients of polynomial, with the same units as u [A].