| 44 |  | * | 
| 45 |  | *  Created by Charles F. Vardeman II on 11/26/05. | 
| 46 |  | *  @author  Charles F. Vardeman II | 
| 47 | < | *  @version $Id: RhoZ.cpp,v 1.5 2006-05-17 21:51:42 tim Exp $ | 
| 47 | > | *  @version $Id: RhoZ.cpp,v 1.6 2006-10-18 21:58:47 gezelter Exp $ | 
| 48 |  | * | 
| 49 |  | */ | 
| 50 |  |  | 
| 103 |  | //wrap the stuntdoubles into a cell | 
| 104 |  | for (sd = seleMan_.beginSelected(i); sd != NULL; sd = seleMan_.nextSelected(i)) { | 
| 105 |  | Vector3d pos = sd->getPos(); | 
| 106 | < | currentSnapshot_->wrapVector(pos); | 
| 106 | > | if (usePeriodicBoundaryConditions_) | 
| 107 | > | currentSnapshot_->wrapVector(pos); | 
| 108 |  | sd->setPos(pos); | 
| 109 |  | } | 
| 110 |  |  |