mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01: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){
|
void Orthogonalise(void){
|
||||||
CoarseScalar InnerProd(CoarseGrid);
|
CoarseScalar InnerProd(CoarseGrid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user