Ignore:
Timestamp:
Jul 25, 2012, 6:21:36 PM (13 years ago)
Author:
Frederik Heber <heber@…>
Children:
737c47
Parents:
6bf68b
Message:

MPQCJob and MPQCData now contain information how to sample the density.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/bin/mpqc/MPQCJob.h

    r6bf68b r0eb774e  
    2727{
    2828public:
    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) :
    3035    FragmentJob(_JobId),
    31     inputfile(_inputfile)
     36    inputfile(_inputfile),
     37    size(0.),
     38    level(0)
    3239  {}
    3340  virtual ~MPQCJob() {}
     
    3845  //!> contents of the input file
    3946  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;
    4053
    4154private:
     
    4356   */
    4457  MPQCJob() :
    45     FragmentJob(JobId::IllegalJob)
     58    FragmentJob(JobId::IllegalJob),
     59    size(0.),
     60    level(0)
    4661  {}
    4762
     
    5368    ar & boost::serialization::base_object<FragmentJob>(*this);
    5469    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);
    5575  }
    5676};
Note: See TracChangeset for help on using the changeset viewer.