namespace pcm_functions¶
Overview¶
Piecewise constant reconstruction functions. More…
namespace pcm_functions { // global functions subroutine, public pcm_reconstruction(N N, u u, ppoly_E ppoly_E, ppoly_coef ppoly_coef); } // namespace pcm_functions
Detailed Documentation¶
Piecewise constant reconstruction functions.
Global Functions¶
subroutine, public pcm_reconstruction( N N, u u, ppoly_E ppoly_E, ppoly_coef 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 |
Number of cells |
u |
cell averages |
ppoly_e |
Edge value of polynomial, with the same units as u. |
ppoly_coef |
Coefficients of polynomial, with the same units as u. |