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

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

Definition at line 48 of file Hamiltonians.cpp.

Referenced by H().

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