|
|||||||||
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.solver.SolverThroughSmoother
public final class SolverThroughSmoother
Solve a PDE by iteratively applying a smoothing (i.e. relaxation) algorithm.
Constructor Summary | |
---|---|
SolverThroughSmoother(Smoother smoother,
double error)
construct from smoother and allowed error. |
Method Summary | |
---|---|
BoundaryGrid |
solve(ConstBoundaryGrid u,
ConstNoBoundaryGrid f)
implements method from Solver. |
void |
solveProper(ConstBoundaryGrid gOld,
ConstBoundaryGrid gNew,
int myNum,
int totalNum)
implements the parallel part of solve(). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SolverThroughSmoother(Smoother smoother, double error)
smoother
- the object supplying the smoothing algorithmerror
- the allowed error for the solution as a fraction of the true solution (0 < error < 1)Method Detail |
---|
public BoundaryGrid solve(ConstBoundaryGrid u, ConstNoBoundaryGrid f)
solve
in interface Solver
u
- the uf
- the f
Solver.solve(edu.jhu.cs.cisst.algorithms.optimize.fmg.grid.ConstBoundaryGrid, edu.jhu.cs.cisst.algorithms.optimize.fmg.grid.ConstNoBoundaryGrid)
public void solveProper(ConstBoundaryGrid gOld, ConstBoundaryGrid gNew, int myNum, int totalNum)
gOld
- the g oldgNew
- the g newmyNum
- the my numtotalNum
- the total num
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |