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

Use the definition of the Perambulator Index names given in Hadrons::MDistil

This commit is contained in:
Michael Marshall 2019-05-03 22:00:50 +01:00
parent ec24a1f828
commit 9ae4d369f3

View File

@ -891,8 +891,7 @@ bool DebugGridTensorTest( void )
} }
bool ConvertPeramb(const char * pszSource, const char * pszDest) { bool ConvertPeramb(const char * pszSource, const char * pszDest) {
std::array<std::string,6> sIndexNames{"Nt", "nvec", "LI", "nnoise", "Nt_inv", "SI"}; Grid::Hadrons::MDistil::PerambTensor p(Hadrons::MDistil::PerambIndexNames);
Grid::Hadrons::MDistil::PerambTensor p(sIndexNames);
p.ReadBinary( pszSource ); p.ReadBinary( pszSource );
p.write(pszDest); p.write(pszDest);
return true; return true;