X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/36bc55ceb7b62569c7604f28b3e53bc2e42cf0ce..46e492935d31a36641b8e8a5cd27bd86e7df96c4:/configcache.h diff --git a/configcache.h b/configcache.h index 0af533a..869fed6 100644 --- a/configcache.h +++ b/configcache.h @@ -30,7 +30,7 @@ struct infiledesc { int nskip; bool doVirtualEquilibration; bool extended; - int readEquilibratedConfigs; + bool firstConfig; }; class configcache{ @@ -49,6 +49,8 @@ class configcache{ static unsigned long hash(const string& str); void closeInFile() { inFile.close(); } int inFilesLeft() { return inFiles.size(); } + char* getConfigMem() { return configMem; } + int getConfigSize() { return configSize; } private: ostream* log; @@ -105,6 +107,8 @@ class configcache{ bool readAllHeaders(); vector::iterator getNextInfile(vector *excludeFileHashes); + + int nequileft_internal; }; #endif