Changeset 0eb774e for src/bin/mpqc/MPQCJob.h
- Timestamp:
- Jul 25, 2012, 6:21:36 PM (13 years ago)
- Children:
- 737c47
- Parents:
- 6bf68b
- File:
-
- 1 edited
-
src/bin/mpqc/MPQCJob.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/bin/mpqc/MPQCJob.h
r6bf68b r0eb774e 27 27 { 28 28 public: 29 MPQCJob(const JobId_t _JobId, const std::string &_inputfile) : 29 MPQCJob( 30 const JobId_t _JobId, 31 const std::string &_inputfile, 32 const double _begin[3], 33 const double _size, 34 const int _level) : 30 35 FragmentJob(_JobId), 31 inputfile(_inputfile) 36 inputfile(_inputfile), 37 size(0.), 38 level(0) 32 39 {} 33 40 virtual ~MPQCJob() {} … … 38 45 //!> contents of the input file 39 46 const std::string inputfile; 47 //!> offset of grid 48 double begin[3]; 49 //!> size of grid, i.e. edge length of cubic(!) domain 50 const double size; 51 //!> level, i.e. \f$2^{\text{level}}\f$ grid points per axis 52 const int level; 40 53 41 54 private: … … 43 56 */ 44 57 MPQCJob() : 45 FragmentJob(JobId::IllegalJob) 58 FragmentJob(JobId::IllegalJob), 59 size(0.), 60 level(0) 46 61 {} 47 62 … … 53 68 ar & boost::serialization::base_object<FragmentJob>(*this); 54 69 ar & const_cast<std::string &>(inputfile); 70 int i; 71 for (i=0; i<3; ++i) 72 ar & begin[i]; 73 ar & const_cast<double &>(size); 74 ar & const_cast<int &>(level); 55 75 } 56 76 };
Note:
See TracChangeset
for help on using the changeset viewer.
