X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/d09f5f0aeff338a0262c3faf5272b82945a3bf8f..493266210f4f7627378161978968e719372ef03e:/o815/o815.h diff --git a/o815/o815.h b/o815/o815.h index b3ad62a..d3e5a21 100644 --- a/o815/o815.h +++ b/o815/o815.h @@ -3,7 +3,6 @@ #include #include -#include #include #include @@ -84,7 +83,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; @@ -92,13 +91,14 @@ class o815 { private: vector comOptions; - MPI_Status mpiStatus; int numprocs, rank; static void listArg(int *target, int tlen, char *listarg); void parseArgs(int argc, char **argv, comoption specOps[]); 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