mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-03 21:44:33 +00:00 
			
		
		
		
	Switched to Hdf5 format for perambulators. Ready for first test on Tesseract.
This commit is contained in:
		@@ -238,9 +238,11 @@ void TPerambFromSolve<FImpl>::execute(void)
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if(PerambFileName.length())
 | 
			
		||||
        perambulator.WriteBinary(PerambFileName + "." + std::to_string(vm().getTrajectory()));
 | 
			
		||||
 
 | 
			
		||||
  if(PerambFileName.length()) {
 | 
			
		||||
    std::string sPerambName{PerambFileName + "." + std::to_string(vm().getTrajectory())};
 | 
			
		||||
    //perambulator.WriteBinary(sPerambName);
 | 
			
		||||
    perambulator.template write<Hdf5Writer>((sPerambName + ".h5").c_str(), sPerambName.c_str());
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
END_MODULE_NAMESPACE
 | 
			
		||||
 
 | 
			
		||||
@@ -286,8 +286,11 @@ void TPerambulator<FImpl>::execute(void)
 | 
			
		||||
    std::cout <<  "perambulator done" << std::endl;
 | 
			
		||||
    perambulator.SliceShare( grid3d, grid4d );
 | 
			
		||||
 | 
			
		||||
    if(PerambFileName.length())
 | 
			
		||||
        perambulator.WriteBinary(PerambFileName + "." + std::to_string(vm().getTrajectory()));
 | 
			
		||||
  if(PerambFileName.length()) {
 | 
			
		||||
    std::string sPerambName{PerambFileName + "." + std::to_string(vm().getTrajectory())};
 | 
			
		||||
    //perambulator.WriteBinary(sPerambName);
 | 
			
		||||
    perambulator.template write<Hdf5Writer>((sPerambName + ".h5").c_str(), sPerambName.c_str());
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
END_MODULE_NAMESPACE
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user