jabble
Class Grids

java.lang.Object
  extended by jabble.Grids

public class Grids
extends java.lang.Object

A set of utility methods to make operations over Grids. Typical operations includes are coarsening and refining used in MultiGrid or Adaptive Mesh Refinement. The prolongation operator takes a field from a coarser grid to a finer grid. The relaxation operation takes a field from a finer grid to a coarser grid.


Method Summary
static Slice coarseSlice(Slice slice, int... steps)
           
static java.util.List<Slice> generateSlices(Slice slice)
           
static java.util.List<Slice> generateSlices(Slice slice, int numberSlices)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

coarseSlice

public static Slice coarseSlice(Slice slice,
                                int... steps)

generateSlices

public static java.util.List<Slice> generateSlices(Slice slice)

generateSlices

public static java.util.List<Slice> generateSlices(Slice slice,
                                                   int numberSlices)