1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-17 15:27:06 +01:00

One flavour rational unprec added; untested but does compile.

Moving param structs into a single header for later connection to file I/O using
macromagic.h
This commit is contained in:
Peter Boyle
2015-08-18 14:40:08 +01:00
parent cd242a2637
commit a842a6c94d
10 changed files with 238 additions and 99 deletions

View File

@ -109,9 +109,9 @@ namespace Grid{
// Only really clover term that creates this. Leave the EE portion as a future to do to make most
// rapid progresss on DWF for now.
//
// Vpc.MooeeDag(PhiEven,X);
// Mpc.MooeeInvDag(X,Y);
// action = action + norm2(Y);
NumOp.MooeeDag(PhiEven,X);
DenOp.MooeeInvDag(X,Y);
action = action + norm2(Y);
return action;
};
@ -154,6 +154,11 @@ namespace Grid{
Mpc.MpcDeriv(force,Y,X); dSdU=dSdU-force;
Mpc.MpcDagDeriv(force,X,Y); dSdU=dSdU-force;
// FIXME No force contribution from EvenEven assumed here
// Needs a fix for clover.
assert(NumOp.ConstEE() == 1);
assert(DenOp.ConstEE() == 1);
dSdU = -Ta(dSdU);
};