Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/WorldAction/AddEmptyBoundaryAction.cpp

    rbe21fa rf10b0c  
    7777    for (int i=0;i<NDIM;i++) {
    7878      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]);
    8080    }
    8181    World::getInstance().setDomain(cell_size);
     
    8686        AtomRunner != AllAtoms.end();
    8787        ++AtomRunner)
    88       *(*AtomRunner) -= Min - params.boundary;
     88      *(*AtomRunner) -= Min - params.boundary.get();
    8989
    9090    // give final box size
     
    125125      AtomRunner != AllAtoms.end();
    126126      ++AtomRunner)
    127     *(*AtomRunner) += state->Min - state->params.boundary;
     127    *(*AtomRunner) += state->Min - state->params.boundary.get();
    128128
    129129  return Action::state_ptr(_state);
     
    143143      AtomRunner != AllAtoms.end();
    144144      ++AtomRunner)
    145     *(*AtomRunner) -= state->Min - state->params.boundary;
     145    *(*AtomRunner) -= state->Min - state->params.boundary.get();
    146146
    147147  return Action::state_ptr(_state);
Note: See TracChangeset for help on using the changeset viewer.