2D Square Lattice Generation
This script generates 2D square lattice with periodic boundary conditions or non-periodic boundary condition.
1) Register a plug-in file to NetMiner.
----- How to Install ------
1. Download the attached plug-in(.nmx) file.
2. Launch NetMiner 4, and then go to Tools → Plug-in Manager
3. Press “Add Plug-in” button, and select .nmx file
4. Close the Plug-in Manager dialog, and go to Tools → Plug-in
2) When you perform this script, you can see follow dialog box
You can set option the size of the lattice and periodic boundary condition.
If you input ‘5’ in the size of the lattice in each dimension(L), total node size is 25 ( = 5 x 5)
And if periodic boundary condition is True, all node’s degree size is 4.
3) Click [ok] button. And you can see new network data (2d square lattice) in dataset.
< Periodic boundary condition >
Result of Visualization
1. L = 40 (Node size = 1600, Avg degree = 4), Periodic boundary condition = True
2. L = 40 (Node size = 1600, , Avg degree = 3.9), Periodic boundary condition = False
- Attach
- 2dSquareLattice.nmx