std::vector< PetscInt > Hamiltonians::J1J2XXZModel_SquareLattice::GetNearestNeighbors ( const PetscInt &  ix,
const PetscInt &  jy,
const PetscInt &  nsites_in 
) const
private

Given the 2d lattice coordinates, this function retrieves the nearest neighbors' 1D coordinates.

Definition at line 26 of file Hamiltonians.cpp.

Referenced by H(), and NeighborPairs().

This site was generated by Sphinx using Doxygen with a customized theme from doxygen-bootstrapped.