X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/1a6e4ad36f2b712a042007efb5184e2f34958595..b13049b02df74e31a311cf41eb0c61f1898ce77e:/o815/o815.h?ds=inline diff --git a/o815/o815.h b/o815/o815.h index 4f741a1..5873a14 100644 --- a/o815/o815.h +++ b/o815/o815.h @@ -64,6 +64,7 @@ class o815 { string outdir; int idonly; int showjobnum; + string startconfig; } comargs; struct comoption { @@ -83,7 +84,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 +98,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