Class FluidSolution

  extended bySolution
      extended byFluidSolution
Direct Known Subclasses:
FDSolution, FEMSolution

abstract class FluidSolution
extends Solution

FluidSolution -- Is an abstract class at the top of all the solvers that that operate directly on the fluid function.

$Revision: 1.10 $
See Also:

Field Summary
protected  boolean isForward
          True if needs to shiftLevels
Fields inherited from class Solution
df, dfm, dfp, dg, dgm, dgp, dx, f, f0, fm, fp, g, gm, gp, ic, initialMoments, mesh, method, scheme, time, topic, x, x_0, x_1, xOffset, xSize, y_0, y_1, yOffset, ySize
Constructor Summary
FluidSolution(RunData runData)
          Creates a FluidSolution object.
Method Summary
 void discretize(ShapeFunction function)
          Discretize the initial Shape function and initialize the moments
protected  void shiftLevels()
          Internal function for copying new -> old
Methods inherited from class Solution
calculateMoments, getTime, getValue, getValue, getWinSize, hasOption, incTime, limits, measure, momentsDeviation, next, output, plot, previous, rescale, setIC, setMethod, setScheme, setTime, setTopic, updateHeaders
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


protected boolean isForward
True if needs to shiftLevels

Constructor Detail


public FluidSolution(RunData runData)
Creates a FluidSolution object.

runData - The run time parameters
Method Detail


public void discretize(ShapeFunction function)
Discretize the initial Shape function and initialize the moments

Specified by:
discretize in class Solution
function - The initial shape to be approximated


protected void shiftLevels()
Internal function for copying new -> old