|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Restrictor
This interface defines the restrict() method which produces a coarse grid from the next finer grid by restriction.
The Full Multigrid (FMG) algorithm works with grids of different sizes corresponding to different levels through the relation size = 2^level + 1, where size is the number of grid elements in one dimension. Restriction is the process of taking a function whose value is known at the grid elements of a grid at a certain level (the fine grid) and producing the values of the function at the grid elements of a grid at the next coarser level (the coarse grid). The fine grid and the coarse grid are oriented such that their corner elements coincide.
FMG| Method Summary | |
|---|---|
Grid |
restrict(ConstGrid grid,
SolverResolutionLevels levels)
restricts a function sampled on a specific grid to the next coarser grid. |
| Method Detail |
|---|
Grid restrict(ConstGrid grid,
SolverResolutionLevels levels)
grid - the input function sampled on a grid at a certain level (size of grid must be 2^level + 1 where
level > 1)levels - the levels
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||