|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensourcephysics.sip.ch13.cluster.SingleCluster
public class SingleCluster
Creates percolation cluster with probability p and computes mass distribution.
| Field Summary | |
|---|---|
int |
L
|
double |
p
|
int[] |
pxs
|
int[] |
pys
|
byte[][] |
site
|
int[] |
xs
|
int[] |
ys
|
| Constructor Summary | |
|---|---|
SingleCluster()
|
|
| Method Summary | |
|---|---|
void |
initialize()
|
void |
massDistribution()
|
void |
step()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public byte[][] site
public int[] xs
public int[] ys
public int[] pxs
public int[] pys
public int L
public double p
| Constructor Detail |
|---|
public SingleCluster()
| Method Detail |
|---|
public void initialize()
public void step()
public void massDistribution()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||