- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/WorldAction/AddEmptyBoundaryAction.cpp
rbe21fa rf10b0c 77 77 for (int i=0;i<NDIM;i++) { 78 78 j += i+1; 79 cell_size[j] = (Max[i]-Min[i]+2.*params.boundary [i]);79 cell_size[j] = (Max[i]-Min[i]+2.*params.boundary.get()[i]); 80 80 } 81 81 World::getInstance().setDomain(cell_size); … … 86 86 AtomRunner != AllAtoms.end(); 87 87 ++AtomRunner) 88 *(*AtomRunner) -= Min - params.boundary ;88 *(*AtomRunner) -= Min - params.boundary.get(); 89 89 90 90 // give final box size … … 125 125 AtomRunner != AllAtoms.end(); 126 126 ++AtomRunner) 127 *(*AtomRunner) += state->Min - state->params.boundary ;127 *(*AtomRunner) += state->Min - state->params.boundary.get(); 128 128 129 129 return Action::state_ptr(_state); … … 143 143 AtomRunner != AllAtoms.end(); 144 144 ++AtomRunner) 145 *(*AtomRunner) -= state->Min - state->params.boundary ;145 *(*AtomRunner) -= state->Min - state->params.boundary.get(); 146 146 147 147 return Action::state_ptr(_state);
Note:
See TracChangeset
for help on using the changeset viewer.