Changeset afc28a
- Timestamp:
- Oct 10, 2016, 11:20:06 AM (8 years ago)
- Branches:
- Fix_ChargeSampling_PBC
- Children:
- b51223
- Parents:
- 4d08b7
- Location:
- src/Fragmentation/Summation/SetValues
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Fragmentation/Summation/SetValues/SamplingGrid.cpp
r4d08b7 rafc28a 61 61 62 62 SamplingGrid::SamplingGrid() : 63 SamplingGridProperties() 63 SamplingGridProperties(), 64 PeriodicBoundaryConditons(false) 64 65 { 65 66 setWindowSize(zeroOffset, zeroOffset); … … 71 72 const double _end[NDIM], 72 73 const int _level) : 73 SamplingGridProperties(_begin, _end, _level) 74 SamplingGridProperties(_begin, _end, _level), 75 PeriodicBoundaryConditons(false) 74 76 { 75 77 setWindowSize(zeroOffset, zeroOffset); … … 83 85 const sampledvalues_t &_sampled_grid) : 84 86 SamplingGridProperties(_begin, _end, _level), 85 sampled_grid(_sampled_grid) 87 sampled_grid(_sampled_grid), 88 PeriodicBoundaryConditons(false) 86 89 { 87 90 setWindowSize(_begin, _end); … … 92 95 SamplingGrid::SamplingGrid(const SamplingGrid &_grid) : 93 96 SamplingGridProperties(_grid), 94 sampled_grid(_grid.sampled_grid) 97 sampled_grid(_grid.sampled_grid), 98 PeriodicBoundaryConditons(false) 95 99 { 96 100 setWindowSize(_grid.begin_window, _grid.end_window); … … 100 104 101 105 SamplingGrid::SamplingGrid(const SamplingGridProperties &_props) : 102 SamplingGridProperties(_props) 106 SamplingGridProperties(_props), 107 PeriodicBoundaryConditons(false) 103 108 { 104 109 setWindowSize(zeroOffset, zeroOffset); … … 111 116 const sampledvalues_t &_sampled_grid) : 112 117 SamplingGridProperties(_props), 113 sampled_grid(_sampled_grid) 118 sampled_grid(_sampled_grid), 119 PeriodicBoundaryConditons(false) 114 120 { 115 121 setWindowSize(_props.begin, _props.end); -
src/Fragmentation/Summation/SetValues/SamplingGrid.hpp
r4d08b7 rafc28a 420 420 double end_window[NDIM]; 421 421 422 //!> open (false) or periodic (true) boundary conditions. This information is only required during sampling 423 bool PeriodicBoundaryConditons; 424 422 425 private: 423 426 friend class MPQCData; … … 434 437 ar & end_window[i]; 435 438 } 439 if (version > 0) 440 ar & PeriodicBoundaryConditons; 436 441 } 437 442 … … 454 459 BOOST_CLASS_EXPORT_KEY(SamplingGrid) 455 460 461 // version for serialized information associated to SamplingGrid 462 BOOST_CLASS_VERSION(SamplingGrid, 1) 463 456 464 // define inline functions 457 465 #include "SamplingGrid_inline.hpp"
Note:
See TracChangeset
for help on using the changeset viewer.