Skip to content

Commit 2104614

Browse files
authored
Correct FMG interpolation description (#174)
1 parent 824b501 commit 2104614

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/Interpolation/fmg_interpolation.cpp

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
#include "../../include/Interpolation/interpolation.h"
22

33
/*
4-
* Bicubic FMG Interpolator Using Lagrange Polynomial
5-
* ----------------------------------------------------
6-
* This implementation computes an interpolated value using a bicubic Full Multigrid (FMG)
7-
* scheme. The interpolator applies a scaling factor of 1/16 with the coefficient vector [-1, 9, 9, -1].
4+
* Bicubic FMG Interpolator using the Lagrange Interpolating Polynomial
5+
* --------------------------------------------------------------------
6+
* In contrast to the interpolation of the multigrid cycle, which is applied to corrections,
7+
* the FMG interpolation transfers approximations of the solution to the fine grid.
8+
* The FMG scheme requires interpolation of higher order than the discretization order
9+
* of the PDE. For second-order discretizations, bicubic interpolation is commonly used.
10+
* For a uniform grid, this reduces to the 1D stencil: 1/16 * [-1, 9, 9, -1]
811
*
912
* The method uses Lagrange interpolation with 4 coarse grid nodes to calculate a single interpolated value.
1013
* Nodes with an X are the 4 coarse interpolation points used for the interpolation.

0 commit comments

Comments
 (0)