mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
efficient baryons compile!
This commit is contained in:
parent
6d9f377913
commit
8804271339
@ -41,12 +41,21 @@ public:
|
|||||||
const std::vector<ComplexField > &mom,
|
const std::vector<ComplexField > &mom,
|
||||||
int orthogdim);
|
int orthogdim);
|
||||||
|
|
||||||
|
|
||||||
|
static void NucleonFieldMom(Eigen::Tensor<ComplexD,6> &mat,
|
||||||
|
const FermionField *one,
|
||||||
|
const FermionField *two,
|
||||||
|
const FermionField *three,
|
||||||
|
const std::vector<ComplexField > &mom,
|
||||||
|
int parity,
|
||||||
|
int orthogdim);
|
||||||
|
|
||||||
static void PionFieldXX(Eigen::Tensor<ComplexD,3> &mat,
|
static void PionFieldXX(Eigen::Tensor<ComplexD,3> &mat,
|
||||||
const FermionField *wi,
|
const FermionField *wi,
|
||||||
const FermionField *vj,
|
const FermionField *vj,
|
||||||
int orthogdim,
|
int orthogdim,
|
||||||
int g5);
|
int g5);
|
||||||
|
|
||||||
static void PionFieldWV(Eigen::Tensor<ComplexD,3> &mat,
|
static void PionFieldWV(Eigen::Tensor<ComplexD,3> &mat,
|
||||||
const FermionField *wi,
|
const FermionField *wi,
|
||||||
const FermionField *vj,
|
const FermionField *vj,
|
||||||
@ -100,7 +109,7 @@ public:
|
|||||||
int orthogdim);
|
int orthogdim);
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
/*
|
|
||||||
template<class FImpl>
|
template<class FImpl>
|
||||||
void A2Autils<FImpl>::NucleonFieldMom(Eigen::Tensor<ComplexD,6> &mat,
|
void A2Autils<FImpl>::NucleonFieldMom(Eigen::Tensor<ComplexD,6> &mat,
|
||||||
const FermionField *one,
|
const FermionField *one,
|
||||||
@ -277,7 +286,7 @@ void A2Autils<FImpl>::NucleonFieldMom(Eigen::Tensor<ComplexD,6> &mat,
|
|||||||
|
|
||||||
grid->GlobalSumVector(&mat(0,0,0,0,0,0),Nmom*Nt*oneBlock*twoBlock*threeBlock);
|
grid->GlobalSumVector(&mat(0,0,0,0,0,0),Nmom*Nt*oneBlock*twoBlock*threeBlock);
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user