|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Smoother
This interface defines the smooth() method which is used for smoothing the approximate solution of a linear elliptic partial differential equation (PDE) on a regular cubic grid in 3D before and/or after going to the next coarser grid in the Multigrid (MG) algorithm.
In the theory of the MG algorithm, smoothing refers to the reduction of the high-frequency components of the error of an approximate solution of a PDE. This is usuallu achieved by applying one or more sweeps of a conventional relaxation algorithm. This algorithms are usually good in reducing the high-frequency components of the error, but bad in reducing the low-frequency components of the error, which is the reason why they are slow if applied in isolation to solve a PDE. However, this property is important in the context of the MG algorithm.
The method smooth() is intended to apply one sweep of a smoothing algorithm.
FMG| Method Summary | |
|---|---|
BoundaryGrid |
smooth(ConstBoundaryGrid u,
ConstNoBoundaryGrid f)
smooth an approximate solution to a linear elliptic PDE on a regular cubic grid in 3D. |
| Method Detail |
|---|
BoundaryGrid smooth(ConstBoundaryGrid u,
ConstNoBoundaryGrid f)
Let the elliptic PDE be represented by Ax = f, and let u be an approximation to the exact solution x, then this method smoothes (i.e. reduces the high-frequency components of the error of) u.
u - the approximate solution of the PDE sampled at a grid of a certain sizef - the right hand side of the PDE sampled at a grid of the same size
PDE
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||