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

java.lang.Object
  extended by edu.jhu.cs.cisst.algorithms.optimize.fmg.parallel.Parallelizer
      extended by edu.jhu.cs.cisst.algorithms.optimize.fmg.smoother.DampedJacobiSmoothParallelizer
All Implemented Interfaces:
Parallelizable

public final class DampedJacobiSmoothParallelizer
extends Parallelizer

A helper class of class DampedJacobi that implements method DampedJacobi.smooth() in a parallel manner.

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

Constructor Summary
DampedJacobiSmoothParallelizer(DampedJacobi dj, BoundaryGrid g, ConstBoundaryGrid u, ConstNoBoundaryGrid f)
          construct.
 
Method Summary
 void runParallel(int myNum, int totalNum)
          re-route.
 
Methods inherited from class edu.jhu.cs.cisst.algorithms.optimize.fmg.parallel.Parallelizer
finished, partition, setDefaultNumberOfThreads, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DampedJacobiSmoothParallelizer

public DampedJacobiSmoothParallelizer(DampedJacobi dj,
                                      BoundaryGrid g,
                                      ConstBoundaryGrid u,
                                      ConstNoBoundaryGrid f)
construct.

Parameters:
dj - the dj
g - the g
u - the u
f - the f
Method Detail

runParallel

public void runParallel(int myNum,
                        int totalNum)
re-route.

Specified by:
runParallel in interface Parallelizable
Overrides:
runParallel in class Parallelizer
Parameters:
myNum - the my num
totalNum - the total num