1
0
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:
Peter Boyle
2025-10-08 15:18:31 -04:00
parent 3a65a096f2
commit 7dfd207ebb
4 changed files with 10 additions and 2 deletions

View File

@@ -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;