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