PCM_functions module reference

Piecewise constant reconstruction functions

Functions/Subroutines

PCM_reconstruction

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].

Callers call graph
Callers of pcm_functions::pcm_reconstruction calls cluster_mom_remapping MOM_remapping cluster_pcm_functions PCM_functions mom_remapping::build_reconstructions_1d build_reconstructions_1d pcm_functions::pcm_reconstruction PCM_reconstruction mom_remapping::build_reconstructions_1d->pcm_functions::pcm_reconstruction mom_remapping::remapping_unit_tests remapping_unit_tests mom_remapping::remapping_unit_tests->pcm_functions::pcm_reconstruction
Text view
API generated with Flint · Rendered from reStructuredText