mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-13 03:03:18 +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:
1 parent
29ddafd0fc
commit
80176b1b39
3 files changed
+5
-2
No files matched your search
@@ -182,6 +182,9 @@ public:
|
|||||||
for(int s=0;s<nshift;s++) {
|
for(int s=0;s<nshift;s++) {
|
||||||
axpby(psi[s],0.,-bs[s]*alpha[s],src,src);
|
axpby(psi[s],0.,-bs[s]*alpha[s],src,src);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::cout << GridLogIterative << "ConjugateGradientMultiShift: initial rn (|src|^2) =" << rn << " qq (|MdagM src|^2) =" << qq << " d ( dot(src, [MdagM + m_0]src) ) =" << d << " c=" << c << std::endl;
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
// Timers
|
// Timers
|
||||||
|
|||||||
@@ -354,7 +354,7 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
//Setup the BCs
|
//Setup the BCs
|
||||||
FermionActionD::ImplParams Params;
|
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
|
Params.twists[Nd-1] = 1; //APBC in time direction
|
||||||
|
|
||||||
std::vector<int> dirs4(Nd);
|
std::vector<int> dirs4(Nd);
|
||||||
|
|||||||
@@ -354,7 +354,7 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
//Setup the BCs
|
//Setup the BCs
|
||||||
FermionActionD::ImplParams Params;
|
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
|
Params.twists[Nd-1] = 1; //APBC in time direction
|
||||||
|
|
||||||
std::vector<int> dirs4(Nd);
|
std::vector<int> dirs4(Nd);
|
||||||
|
|||||||
Reference in new issue
Block a user