edu.jhu.cs.cisst.algorithms.optimize.fmg.solver
Class ArithmeticSolver

java.lang.Object
  extended by edu.jhu.cs.cisst.algorithms.optimize.fmg.solver.ArithmeticSolver
All Implemented Interfaces:
Solver

public final class ArithmeticSolver
extends java.lang.Object
implements Solver

Solve a linear elliptic PDE at the coarsest level (level = 1), i.e. at grid size 3 through simple arithmetic.

Author:
Gerald Loeffler (Gerald.Loeffler@univie.ac.at)

Constructor Summary
ArithmeticSolver(PDE pde)
          construct from the PDE.
 
Method Summary
 BoundaryGrid solve(ConstBoundaryGrid u, ConstNoBoundaryGrid f)
          Solves pde at coarsest grid level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArithmeticSolver

public ArithmeticSolver(PDE pde)
construct from the PDE.

Parameters:
pde - the PDE to solve
Method Detail

solve

public BoundaryGrid solve(ConstBoundaryGrid u,
                          ConstNoBoundaryGrid f)
Solves pde at coarsest grid level.

Specified by:
solve in interface Solver
Parameters:
u - the u
f - the f
Returns:
the boundary grid
See Also:
Solver.solve(edu.jhu.cs.cisst.algorithms.optimize.fmg.grid.ConstBoundaryGrid, edu.jhu.cs.cisst.algorithms.optimize.fmg.grid.ConstNoBoundaryGrid)