recon1d_plm_cwk module reference

Piecewise Linear Method 1D reconstruction.

More…

Data Types

plm_cwk

PLM reconstruction following Colella and Woodward, 1984.

Functions/Subroutines

reconstruct()

Calculate a 1D PLM reconstructions based on h(:) and u(:)

Detailed Description

This implementation of PLM follows Colella and Woodward, 1984, except for assuming uniform cell thicknesses. Cells resort to PCM for extrema including first and last cells in column. The cell-wise reconstructions are limited so that the edge values (which are also the extrema in a cell) are bounded by the neighbor cell means. However, this does not yield monotonic profiles for the whole column.

Note that internally the edge values, rather than the PLM slope, are stored to ensure resulting calculations are properly bounded.

Type Documentation

type recon1d_plm_cwk/plm_cwk

PLM reconstruction following Colella and Woodward, 1984.

Type fields:
  • % reconstruct [procedure,private] :: Implementation of the PLM_CWK reconstruction.

Function/Subroutine Documentation

subroutine recon1d_plm_cwk/reconstruct(this, h, u)

Calculate a 1D PLM reconstructions based on h(:) and u(:)

Parameters:
  • this :: [inout] This reconstruction

  • h :: [in] Grid spacing (thickness) [typically H]

  • u :: [in] Cell mean values [A]