mathcomp.gridgeom
Class GreenClosure

java.lang.Object
  extended by mathcomp.gridgeom.GreenClosure

public class GreenClosure
extends java.lang.Object

Implements the green closure by iteration. For example:

   GreenClosure closure = new GreenClosure();
   closure.setGf(gridRefiner);
   closure.close();
 

Author:
pht
See Also:
GridRefiner

Constructor Summary
GreenClosure()
           
 
Method Summary
 void close()
          Closes the refinement.
 GridRefiner getGf()
          Returns the gf.
 Grid getGrid()
          Returns the grid.
 void setGf(GridRefiner gf)
          Sets the gf.
 void setGrid(Grid grid)
          Sets the grid.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GreenClosure

public GreenClosure()
Method Detail

close

public void close()
Closes the refinement.


getGrid

public Grid getGrid()
Returns the grid.

Returns:
Grid

setGrid

public void setGrid(Grid grid)
Sets the grid.

Parameters:
grid - The grid to set

getGf

public GridRefiner getGf()
Returns the gf.

Returns:
GridRefiner

setGf

public void setGf(GridRefiner gf)
Sets the gf. Sets the grid as well.

Parameters:
gf - The gf to set