()
| 18 | |
| 19 | |
| 20 | BinaryLatticeTest() { |
| 21 | spinData = new int[size][size]; |
| 22 | lattice = new BinaryLattice(size, size); |
| 23 | randomizeCells(); |
| 24 | plottingPanel.addDrawable(lattice); |
| 25 | plottingPanel.setAutoscaleX(true); |
| 26 | plottingPanel.setAutoscaleY(true); |
| 27 | griddata.setScale(0, numpts, 0,numpts); |
| 28 | drawingFrame.setVisible(true); |
| 29 | plottingPanel.repaint(); |
| 30 | } |
| 31 | |
| 32 | /** |
| 33 | * Custom randomizes the spins |
nothing calls this directly
no test coverage detected