X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/1a6e4ad36f2b712a042007efb5184e2f34958595..da120f552639e7e742161a2a4d6f88ca5277df8e:/o815/o815.h diff --git a/o815/o815.h b/o815/o815.h index 4f741a1..0505387 100644 --- a/o815/o815.h +++ b/o815/o815.h @@ -45,6 +45,7 @@ class o815 { void nextConfig(); char *confMem; virtual void _newParas()=0; + virtual void _resetConfig()=0; int nequi, nskip; private: virtual void _makeSweep()=0; @@ -64,6 +65,7 @@ class o815 { string outdir; int idonly; int showjobnum; + string startconfig; } comargs; struct comoption { @@ -83,7 +85,7 @@ class o815 { vector observables; sim* Sim; void mainLoop(); - string headMaster(); + string headMaster( bool hashedrange=false ); void addPara(const string& paraid, const double& paraDefault); void addComOption(const char* name, int has_arg, int *flag, int val, const char* optdesc, const char* argdesc); vector< pair > parsedSpecOps; @@ -97,6 +99,8 @@ private: string programid; int nextParas(); comoption* getOptionByVal(int val); + static void readCacheArgs(const string& arg, string& cachedir, int& cachemode); + unsigned long hash(const string& str); }; #endif