|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensourcephysics.sip.ch14.latticegas.FastLatticeGas
public class FastLatticeGas
Field Summary | |
---|---|
double |
flowSpeed
|
int |
spatialAveragingLength
|
double |
velocityScale
|
Constructor Summary | |
---|---|
FastLatticeGas()
|
Method Summary | |
---|---|
void |
draw(DrawingPanel panel,
java.awt.Graphics g)
Draws a representation of an object in a drawing panel. |
void |
initialize(int _lx,
int _ly,
double density)
|
void |
step()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double flowSpeed
public double velocityScale
public int spatialAveragingLength
Constructor Detail |
---|
public FastLatticeGas()
Method Detail |
---|
public void initialize(int _lx, int _ly, double density)
public void step()
public void draw(DrawingPanel panel, java.awt.Graphics g)
Drawable
draw
in interface Drawable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |