ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/visitors/OtherVisitor.cpp
(Generate patch)

Comparing branches/development/src/visitors/OtherVisitor.cpp (file contents):
Revision 1874 by gezelter, Wed May 15 15:09:35 2013 UTC vs.
Revision 1875 by gezelter, Fri May 17 14:41:42 2013 UTC

# Line 121 | Line 121 | namespace OpenMD {
121    //----------------------------------------------------------------------------//
122  
123    ReplicateVisitor::ReplicateVisitor(SimInfo *info, Vector3i opt) :
124 <    BaseVisitor() {
124 >    BaseVisitor(), replicateOpt(opt) {
125        this->info = info;
126        visitorName = "ReplicateVisitor";
127      this->replicateOpt = opt;
127  
128        //generate the replicate directions
129        for( int i = 0; i <= replicateOpt[0]; i++ ) {
# Line 515 | Line 514 | namespace OpenMD {
514               atomInfo = atomData->nextAtomInfo(i) ) {
515            atomInfo->atomTypeName = trimmedName(atomInfo->atomTypeName);
516          }
517 <      }  
517 >      }
518      }
519    }
520  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines