1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-09 23:45:36 +00:00

No IO in file

This commit is contained in:
Peter Boyle 2023-10-06 13:39:53 -04:00
parent cae27678d8
commit 7f6e0f57d0

View File

@ -55,30 +55,6 @@ public:
{
};
void SaveState(std::string file)
{
#ifdef HAVE_LIME
emptyUserRecord record;
ScidacWriter WR(Grid()->IsBoss());
WR.open(file);
for(int b=0;b<nbasis;b++){
WR.writeScidacFieldRecord(subspace[b],record);
}
WR.close();
#endif
}
void LoadState(std::string file)
{
#ifdef HAVE_LIME
emptyUserRecord record;
Grid::ScidacReader RD ;
RD.open(file);
for(int b=0;b<nbasis;b++){
RD.readScidacFieldRecord(subspace[b],record);
}
RD.close();
#endif
}
void Orthogonalise(void){
CoarseScalar InnerProd(CoarseGrid);