edu.jhu.cs.cisst.algorithms.optimize.fmg
Class CalcResidualParallelizer

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

public final class CalcResidualParallelizer
extends Parallelizer

A helper class of class FMG that helps parallelizing method FMG.calcResidual().

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

Constructor Summary
CalcResidualParallelizer(FMG fmg, NoBoundaryGrid r, 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

CalcResidualParallelizer

public CalcResidualParallelizer(FMG fmg,
                                NoBoundaryGrid r,
                                ConstBoundaryGrid u,
                                ConstNoBoundaryGrid f)
construct.

Parameters:
fmg - the FMG object with which this object co-operates
r - the r
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