]> git.treefish.org Git - phys/latlib.git/blobdiff - o815/o815.h
Added startconfig option.
[phys/latlib.git] / o815 / o815.h
index 4f741a1e093283e3d1ca5010d58b0cf901bedb29..5873a14cf90032783210a45ea2e925237d8f394d 100644 (file)
@@ -64,6 +64,7 @@ class o815 {
     string outdir;
     int idonly;
     int showjobnum;
     string outdir;
     int idonly;
     int showjobnum;
+    string startconfig;
   } comargs;
 
   struct comoption {
   } comargs;
 
   struct comoption {
@@ -83,7 +84,7 @@ class o815 {
   vector<obs*> observables;
   sim* Sim;
   void mainLoop();
   vector<obs*> 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<int,char*> > parsedSpecOps;
   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<int,char*> > parsedSpecOps;
@@ -97,6 +98,8 @@ private:
   string programid;
   int nextParas();
   comoption* getOptionByVal(int val);
   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
 };
 
 #endif