Class FluidSolution

java.lang.Object
  extended bySolution
      extended byFluidSolution
Direct Known Subclasses:
CHASolution, FDSolution, FEMSolution, FFTSolution

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.

Version:
$Revision: 1.23 $
See Also:
Solution

Field Summary
protected  boolean isForward
          True if needs to shiftLevels
 
Fields inherited from class Solution
df, dfm, dfp, dg, dgm, dgp, dh, dhm, dhp, dx, f, f0, fm, fp, g, gm, gp, h, hm, hp, ic, initialMoments, mesh, method, pde, s, scheme, sm, sp, time, 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, setPde, setScheme, setTime, updateHeaders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isForward

protected boolean isForward
True if needs to shiftLevels

Constructor Detail

FluidSolution

public FluidSolution(RunData runData)
Creates a FluidSolution object.

Parameters:
runData - The run time parameters
Method Detail

discretize

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

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

shiftLevels

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