X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/594f56b186b5d2f5e25293d6952c9325576aa080..b13049b02df74e31a311cf41eb0c61f1898ce77e:/o815/o815.h diff --git a/o815/o815.h b/o815/o815.h index 79d427d..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; @@ -98,6 +99,7 @@ private: int nextParas(); comoption* getOptionByVal(int val); static void readCacheArgs(const string& arg, string& cachedir, int& cachemode); + unsigned long hash(const string& str); }; #endif