edu.jhu.cs.cisst.algorithms.optimize.fmg.smoother
Class RedBlackGaussSeidel

java.lang.Object
  extended by edu.jhu.cs.cisst.algorithms.optimize.fmg.smoother.RedBlackGaussSeidel
All Implemented Interfaces:
Smoother

public final class RedBlackGaussSeidel
extends java.lang.Object
implements Smoother

An implementation of the Red-Black Gauss-Seidel method of relaxing (thereby smoothing) the solution of a linear elliptic PDE.

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

Constructor Summary
RedBlackGaussSeidel(PDE pde)
          construct from PDE.
 
Method Summary
 BoundaryGrid smooth(ConstBoundaryGrid u, ConstNoBoundaryGrid f)
          implements method from Smoother.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedBlackGaussSeidel

public RedBlackGaussSeidel(PDE pde)
construct from PDE.

Parameters:
pde - a representation of the PDE
Method Detail

smooth

public BoundaryGrid smooth(ConstBoundaryGrid u,
                           ConstNoBoundaryGrid f)
implements method from Smoother.

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