]> git.treefish.org Git - phys/latlib.git/blobdiff - paraq.h
...
[phys/latlib.git] / paraq.h
diff --git a/paraq.h b/paraq.h
new file mode 100644 (file)
index 0000000..9aaf1d0
--- /dev/null
+++ b/paraq.h
@@ -0,0 +1,23 @@
+#ifndef PARAQ_H
+#define PARAQ_H
+
+#include <string>
+#include <map>
+#include <vector>
+
+using namespace std;
+
+class paraq {
+ public: 
+  paraq(int nprocs, int rank);
+  void addRange(const string& paraid, double min, double max, double step);
+  map<string,double>* nextParas();
+
+ private:
+  int nprocs, rank;
+  int lastjob;
+  map< string, vector< double* > > paraMap;
+  vector< map<string,double>  > jobList;
+};
+
+#endif