1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-14 13:57:07 +01:00

RHMC now outputs some initial norms to the logs

Fixed DWF+I Gparity binaries not correctly assigning twist directions (thanks Peter!)
This commit is contained in:
Christopher Kelly
2021-05-04 13:12:23 -04:00
parent 29ddafd0fc
commit 80176b1b39
3 changed files with 5 additions and 2 deletions

View File

@ -354,7 +354,7 @@ int main(int argc, char **argv) {
//Setup the BCs
FermionActionD::ImplParams Params;
for(int i=0;i<Nd-1;i++) Params.twists = user_params.GparityDirs[i]; //G-parity directions
for(int i=0;i<Nd-1;i++) Params.twists[i] = user_params.GparityDirs[i]; //G-parity directions
Params.twists[Nd-1] = 1; //APBC in time direction
std::vector<int> dirs4(Nd);

View File

@ -354,7 +354,7 @@ int main(int argc, char **argv) {
//Setup the BCs
FermionActionD::ImplParams Params;
for(int i=0;i<Nd-1;i++) Params.twists = user_params.GparityDirs[i]; //G-parity directions
for(int i=0;i<Nd-1;i++) Params.twists[i] = user_params.GparityDirs[i]; //G-parity directions
Params.twists[Nd-1] = 1; //APBC in time direction
std::vector<int> dirs4(Nd);