mirror of
https://github.com/paboyle/Grid.git
synced 2025-11-06 22:59:32 +00:00
Need to protect pole operatoins to only take place on IcosahedralVertices mesh
This commit is contained in:
@@ -58,7 +58,7 @@ template<class iobj> inline void LatticeCoordinate(Lattice<iobj> &l,int mu)
|
||||
});
|
||||
}
|
||||
|
||||
if (grid->Icosahedral()) {
|
||||
if (grid->IcosahedralVertices()) {
|
||||
uint64_t psites=1;
|
||||
Coordinate perpdims;
|
||||
typename iobj::scalar_object ss;
|
||||
@@ -95,7 +95,9 @@ template<class iobj> inline void LatticePole(Lattice<iobj> &l,NorthSouth pole)
|
||||
|
||||
l=Zero();
|
||||
|
||||
if (grid->Icosahedral()) {
|
||||
assert(grid->IcosahedralVertices());
|
||||
|
||||
if (grid->IcosahedralVertices()) {
|
||||
uint64_t psites=1;
|
||||
Coordinate perpdims;
|
||||
sobj ss;
|
||||
|
||||
Reference in New Issue
Block a user