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:
parent
cae27678d8
commit
7f6e0f57d0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user