jabble
Class LaxWendroff

java.lang.Object
  extended by jabble.Evolver
      extended by jabble.LaxWendroff

public abstract class LaxWendroff
extends Evolver

This class implements a template for the Lax-Wendroff algorithm.


Field Summary
 
Fields inherited from class jabble.Evolver
constantsMap, dDirs, fieldArrayMap, fieldMap, grid, stopTrigger
 
Constructor Summary
LaxWendroff()
           
 
Method Summary
protected  void calculateNewFields()
          Implements the template algorithm for LaxWendroff.
protected abstract  void updateFieldAtSpatialTemporalFullSteps(Point point)
           
protected abstract  void updateFieldAtSpatialTemporalHalfSteps(Point point)
           
 
Methods inherited from class jabble.Evolver
evolve, evolve, evolve, getNPreviousSlicesNeeded, initializeFieldArray, initializeFieldArray, skipBoundaryPoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaxWendroff

public LaxWendroff()
Method Detail

calculateNewFields

protected void calculateNewFields()
Implements the template algorithm for LaxWendroff.

Specified by:
calculateNewFields in class Evolver

updateFieldAtSpatialTemporalHalfSteps

protected abstract void updateFieldAtSpatialTemporalHalfSteps(Point point)
Parameters:
point - the point at which to calculate the new fields

updateFieldAtSpatialTemporalFullSteps

protected abstract void updateFieldAtSpatialTemporalFullSteps(Point point)
Parameters:
point - the point at which to calculate the new fields