All Packages Class Hierarchy This Package Previous Next Index
Class AT.Ac.univie.imp.loeffler.pde.threeD.fd.RestrictorByStencil
java.lang.Object
|
+----AT.Ac.univie.imp.loeffler.pde.threeD.fd.RestrictorByStencil
- public final class RestrictorByStencil
- extends Object
- implements Restrictor
A restrictor that operates according to a restriction stencil.
A stencil is a means of defining the relationship of a grid element and its 26 nearest neighbors. In this case the
restriction stencil defines how to contract the values of a fine grid to the values of a coarse grid during the
process of restriction.
- Author:
- Gerald Loeffler (Gerald.Loeffler@univie.ac.at)
- See Also:
- Stencil
-
FULL_WEIGHTING
- the stencil that characterises full weighting.
-
HALF_WEIGHTING
- the stencil that characterises half weighting which is halfway between full weighting and straigh injection.
-
STRAIGHT_INJECTION
- the stencil that characterises straight injection where elements of those elements of the fine grid that are
also present in the coarse grid are simply copied from the fine grid to the coarse grid.
-
RestrictorByStencil(Stencil)
- construct from restriction stencil.
-
restrict(ConstGrid)
- implements method from Restrictor.
STRAIGHT_INJECTION
public static final Stencil STRAIGHT_INJECTION
- the stencil that characterises straight injection where elements of those elements of the fine grid that are
also present in the coarse grid are simply copied from the fine grid to the coarse grid. This method is not
always stable.
FULL_WEIGHTING
public static final Stencil FULL_WEIGHTING
- the stencil that characterises full weighting. The stencil for full weighting is the the transpose of the
stencil for trilinear interpolation, which is of theoretical importance.
HALF_WEIGHTING
public static final Stencil HALF_WEIGHTING
- the stencil that characterises half weighting which is halfway between full weighting and straigh injection.
RestrictorByStencil
public RestrictorByStencil(Stencil stencil)
- construct from restriction stencil.
- Parameters:
- stencil - the stencil that defines restriction
restrict
public Grid restrict(ConstGrid grid)
- implements method from Restrictor.
- See Also:
- restrict
All Packages Class Hierarchy This Package Previous Next Index