Ignore:
Timestamp:
Oct 10, 2016, 11:20:06 AM (8 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Fix_ChargeSampling_PBC
Children:
b51223
Parents:
4d08b7
Message:

SamplingGrid now also has flag to state boundary conditions.

  • flag is serialized and we introduced a version (now 1) to SamplingGrid.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Summation/SetValues/SamplingGrid.hpp

    r4d08b7 rafc28a  
    420420  double end_window[NDIM];
    421421
     422  //!> open (false) or periodic (true) boundary conditions. This information is only required during sampling
     423  bool PeriodicBoundaryConditons;
     424
    422425private:
    423426  friend class MPQCData;
     
    434437      ar & end_window[i];
    435438    }
     439    if (version > 0)
     440      ar & PeriodicBoundaryConditons;
    436441  }
    437442
     
    454459BOOST_CLASS_EXPORT_KEY(SamplingGrid)
    455460
     461// version for serialized information associated to SamplingGrid
     462BOOST_CLASS_VERSION(SamplingGrid, 1)
     463
    456464// define inline functions
    457465#include "SamplingGrid_inline.hpp"
Note: See TracChangeset for help on using the changeset viewer.