- char **configmem, const int& configMemSize, const int& cachemode=CACHE_MODE_FULL, writeout *out_a=NULL) {
- initCache(C, cacheid, nequi, nskip, datadir+"/c", configmem, configMemSize, cachemode, out_a);
- }
-
- static void initO(const string& cacheid, char **configmem, const int& configMemSize, const int& cachemode=CACHE_MODE_FULL) {
- initCache(O, "o", cacheid, configmem, configMemSize, cachemode);
- }
- static void initC(const string& cacheid, char **configmem, const int& configMemSize, const int& cachemode=CACHE_MODE_FULL) {
- initCache(C, "c", cacheid, configmem, configMemSize, cachemode);
+ char **configmem, const int& configMemSize, const int& cachemode=CACHE_MODE_RW, ostream *_log=NULL) {
+ initCache(&C, cacheid, nequi, nskip, datadir, configmem, configMemSize, cachemode, _log);
+ mostEquilibratedConfig.second = new char[configMemSize];