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

BC2 now runs. setup() runs twice, which had resulted in doubling up of momenta. Also fixed initialisation of momentum phases.

This commit is contained in:
Michael Marshall
2019-06-12 15:25:59 +01:00
parent fe72dc099b
commit 9a8a63467e
2 changed files with 30 additions and 19 deletions

View File

@ -43,9 +43,9 @@ public:
static void NucleonFieldMom(Eigen::Tensor<ComplexD,6> &mat,
const FermionField *one,
const FermionField *two,
const FermionField *three,
const std::vector<FermionField> &one,
const std::vector<FermionField> &two,
const std::vector<FermionField> &three,
const std::vector<ComplexField > &mom,
int parity,
int orthogdim);
@ -112,9 +112,9 @@ public:
template<class FImpl>
void A2Autils<FImpl>::NucleonFieldMom(Eigen::Tensor<ComplexD,6> &mat,
const FermionField *one,
const FermionField *two,
const FermionField *three,
const std::vector<FermionField> &one,
const std::vector<FermionField> &two,
const std::vector<FermionField> &three,
const std::vector<ComplexField > &mom,
int parity,
int orthogdim)