Peano
Loading...
Searching...
No Matches
api.InterpolateAndRestrictCells.InterpolateAndRestrictCells.Interpolation Class Reference

Interpolation schemes. More...

Inheritance diagram for api.InterpolateAndRestrictCells.InterpolateAndRestrictCells.Interpolation:
Collaboration diagram for api.InterpolateAndRestrictCells.InterpolateAndRestrictCells.Interpolation:

Static Public Attributes

str PiecewiseConstant = "piecewise_constant"
 
str Linear = "linear_with_constant_extrapolation"
 

Detailed Description

Interpolation schemes.

The value of each entry is the suffix of the C++ routine toolbox::blockstructured::interpolateCell_AoS_<suffix>().

  • PiecewiseConstant copies the coarse value into all fine volumes which it covers.
  • Linear interpolates d-linearly. Along the boundary of the coarse patch, it extrapolates constantly, as linear extrapolation can produce unphysical values such as negative densities next to steep gradients.

Definition at line 35 of file InterpolateAndRestrictCells.py.

Field Documentation

◆ Linear

str api.InterpolateAndRestrictCells.InterpolateAndRestrictCells.Interpolation.Linear = "linear_with_constant_extrapolation"
static

Definition at line 53 of file InterpolateAndRestrictCells.py.

◆ PiecewiseConstant

str api.InterpolateAndRestrictCells.InterpolateAndRestrictCells.Interpolation.PiecewiseConstant = "piecewise_constant"
static

Definition at line 52 of file InterpolateAndRestrictCells.py.


The documentation for this class was generated from the following file: