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

Update to enable multiple records per file more consistent with SciDAC.

open, close, write records...
This commit is contained in:
paboyle
2017-06-19 01:01:48 +01:00
parent e6d984b484
commit 1300b0b04b
4 changed files with 173 additions and 137 deletions

View File

@ -52,7 +52,10 @@ int main (int argc, char ** argv)
FieldMetaData header;
std::string file("./ildg.file");
IldgIO::readConfiguration(file,Umu,header);
IldgReader IR;
IR.open(file);
IR.readConfiguration(Umu,header);
IR.close();
for(int mu=0;mu<Nd;mu++){
U[mu] = PeekIndex<LorentzIndex>(Umu,mu);