|
numerics
|
4-neighbor periodic-boundary index arrays for an N×N lattice. More...
#include <pbc_lattice.hpp>
Public Member Functions | |
| PBCLattice2D (int N) | |
Public Attributes | |
| int | N |
| Side length; total sites = N*N. | |
| std::vector< int > | up |
| std::vector< int > | dn |
| std::vector< int > | lt |
| std::vector< int > | rt |
| up/dn = row±1, lt/rt = col±1 (PBC) | |
4-neighbor periodic-boundary index arrays for an N×N lattice.
Definition at line 15 of file pbc_lattice.hpp.
|
inlineexplicit |
Definition at line 19 of file pbc_lattice.hpp.
| std::vector<int> num::PBCLattice2D::dn |
Definition at line 17 of file pbc_lattice.hpp.
Referenced by PBCLattice2D(), IsingLattice::sweep(), and IsingLattice::sweep_umbrella().
| std::vector<int> num::PBCLattice2D::lt |
Definition at line 17 of file pbc_lattice.hpp.
Referenced by PBCLattice2D(), IsingLattice::sweep(), and IsingLattice::sweep_umbrella().
| int num::PBCLattice2D::N |
Side length; total sites = N*N.
Definition at line 16 of file pbc_lattice.hpp.
Referenced by PBCLattice2D().
| std::vector<int> num::PBCLattice2D::rt |
up/dn = row±1, lt/rt = col±1 (PBC)
Definition at line 17 of file pbc_lattice.hpp.
Referenced by PBCLattice2D(), IsingLattice::sweep(), and IsingLattice::sweep_umbrella().
| std::vector<int> num::PBCLattice2D::up |
Definition at line 17 of file pbc_lattice.hpp.
Referenced by PBCLattice2D(), IsingLattice::sweep(), and IsingLattice::sweep_umbrella().