pcm_functions module reference

Piecewise constant reconstruction functions.

More…

Functions/Subroutines

pcm_reconstruction()

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 :: [in] cell averages

  • edge_values :: [inout] Edge value of polynomial, with the same units as u.

  • ppoly_coef :: [inout] Coefficients of polynomial, with the same units as u.

Called from

mom_remapping::build_reconstructions_1d mom_remapping::remapping_unit_tests