1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Hadrons: meson field code cleaning

This commit is contained in:
Antonin Portelli 2018-08-14 17:00:05 +01:00
parent dc6d8686de
commit 2c67304716

View File

@ -78,17 +78,6 @@ public:
// execution
virtual void execute(void);
private:
// Arithmetic kernel. Move to Grid??
void makeBlock(MesonField &mat,
const FermionField *lhs,
const FermionField *rhs,
std::vector<Gamma::Algebra> gamma,
const std::vector<LatticeComplex> &mom,
int orthogdim,
double &t0,
double &t1,
double &t2,
double &t3);
// IO
std::string ioname(unsigned int m, unsigned int g) const;
std::string filename(unsigned int m, unsigned int g) const;
@ -375,7 +364,7 @@ void TA2AMesonField<FImpl>::execute(void)
blockSize = static_cast<double>(nmom*ngamma*nt*N_ii*N_jj*sizeof(Complex));
ioTime += getDTimer("IO: write block");
LOG(Message) << "HDF5 IO done " << sizeString(blockSize) << " in "
<< getTimer("IO: write block") << " us ("
<< ioTime << " us ("
<< blockSize/ioTime*1.0e6/1024/1024
<< " MB/s)" << std::endl;
}