]> git.treefish.org Git - phys/latlib.git/blob - paraq.h
...
[phys/latlib.git] / paraq.h
1 #ifndef PARAQ_H
2 #define PARAQ_H
3
4 #include <string>
5 #include <map>
6 #include <vector>
7
8 using namespace std;
9
10 class paraq {
11  public: 
12   paraq(int nprocs, int rank);
13   void addRange(const string& paraid, double min, double max, double step);
14   map<string,double>* nextParas();
15
16  private:
17   int nprocs, rank;
18   int lastjob;
19   map< string, vector< double* > > paraMap;
20   vector< map<string,double>  > jobList;
21 };
22
23 #endif