|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.cs.cisst.algorithms.optimize.fmg.restrictor.RestrictorByStencil
public class RestrictorByStencil
The Class RestrictorByStencil.
Field Summary | |
---|---|
static Stencil |
FULL_WEIGHTING
the stencil that characterises full weighting. |
static Stencil |
FULL_WEIGHTING_2D
The Constant FULL_WEIGHTING_2D. |
static Stencil |
HALF_WEIGHTING
the stencil that characterises half weighting which is halfway between full weighting and straigh injection. |
protected Stencil |
s
The stencil. |
static 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. |
protected IntRange1D |
totalRange
The total range. |
Constructor Summary | |
---|---|
RestrictorByStencil(Stencil stencil)
construct from restriction stencil. |
Method Summary | |
---|---|
Grid |
restrict(ConstGrid grid,
SolverResolutionLevels levels)
implements method from Restrictor. |
void |
restrictProper(Grid coarse,
ConstGrid fine,
int myNum,
int totalNum)
Restrict proper. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Stencil s
protected IntRange1D totalRange
public static final Stencil STRAIGHT_INJECTION
public static final Stencil FULL_WEIGHTING
public static final Stencil FULL_WEIGHTING_2D
public static final Stencil HALF_WEIGHTING
Constructor Detail |
---|
public RestrictorByStencil(Stencil stencil)
stencil
- the stencil that defines restrictionMethod Detail |
---|
public Grid restrict(ConstGrid grid, SolverResolutionLevels levels)
restrict
in interface Restrictor
grid
- the gridlevels
- the levels
Restrictor.restrict(edu.jhu.cs.cisst.algorithms.optimize.fmg.grid.ConstGrid, edu.jhu.cs.cisst.algorithms.optimize.fmg.SolverResolutionLevels)
public void restrictProper(Grid coarse, ConstGrid fine, int myNum, int totalNum)
coarse
- the coarsefine
- the finemyNum
- the my numtotalNum
- the total num
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |