|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Solution ParticleSolution MCPSolution MCPDrawSolution
Solves the equation with a Monte Carlo method and draws the particles
Solution
,
MCPSolution
Field Summary |
Fields inherited from class MCPSolution |
distributionUpToDate, numberOfParticles, particleDensity, particlePosition, random |
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 | |
MCPDrawSolution(RunData runData)
Creates a MCPSolution object. |
Method Summary | |
void |
plot(java.awt.Canvas plotArea,
java.awt.Image offScrImage,
boolean headers)
Plots the solution |
Methods inherited from class MCPSolution |
discretize, generateDistribution, getValue, getValue, hasOption, limits, momentsDeviation, next, previous |
Methods inherited from class Solution |
calculateMoments, getTime, getWinSize, incTime, measure, output, 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 |
Constructor Detail |
public MCPDrawSolution(RunData runData)
runData
- The run time parametersSolution.next(RunData, PhysData)
,
Solution.discretize(ShapeFunction)
Method Detail |
public void plot(java.awt.Canvas plotArea, java.awt.Image offScrImage, boolean headers)
plot
in class MCPSolution
plotArea
- The plot areaoffScrImage
- The off screen image to draw onheaders
- Whether to draw headers
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |