|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectSolution
FluidSolution
CHASolution
The class CHASolution contains the Characteristics solver.
| 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 | |
CHASolution(RunData runData)
Creates a CHASolution object. |
|
| Method Summary | |
void |
discretize(ShapeFunction function)
Discretize the initial Shape function and initialize the moments |
boolean |
hasOption(java.lang.String option)
Tells whether the solution implements a option |
boolean |
next(RunData runData,
PhysData physData)
Advance the solution forward one step in time. |
boolean |
previous(RunData runData,
PhysData physData)
Take the solution backward one step to initialize schemes with 3 time levels. |
protected void |
shiftLevels()
Internal function for copying new -> old |
| Methods inherited from class Solution |
calculateMoments, getTime, getValue, getValue, getWinSize, incTime, limits, measure, momentsDeviation, output, plot, 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 |
protected boolean isForward
| Constructor Detail |
public CHASolution(RunData runData)
runData - The run time parameters| Method Detail |
public boolean next(RunData runData,
PhysData physData)
next in class SolutionrunData - List of run parametersphysData - Physical parameters (e.g. potential)
RunData
public boolean previous(RunData runData,
PhysData physData)
previous in class SolutionrunData - List of run parameters
RunDatapublic boolean hasOption(java.lang.String option)
hasOption in class Solutionoption - The the option to implement
jbone.pdeNames,
jbone.schemeNamespublic void discretize(ShapeFunction function)
discretize in class Solutionfunction - The initial shape to be approximatedprotected void shiftLevels()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||