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

Comparing trunk/src/visitors/ZconsVisitor.cpp (file contents):
Revision 1442 by gezelter, Mon May 10 17:28:26 2010 UTC vs.
Revision 2071 by gezelter, Sat Mar 7 21:41:51 2015 UTC

# Line 35 | Line 35
35   *                                                                      
36   * [1]  Meineke, et al., J. Comp. Chem. 26, 252-271 (2005).            
37   * [2]  Fennell & Gezelter, J. Chem. Phys. 124, 234104 (2006).          
38 < * [3]  Sun, Lin & Gezelter, J. Chem. Phys. 128, 24107 (2008).          
39 < * [4]  Vardeman & Gezelter, in progress (2009).                        
38 > * [3]  Sun, Lin & Gezelter, J. Chem. Phys. 128, 234107 (2008).          
39 > * [4]  Kuang & Gezelter,  J. Chem. Phys. 133, 164101 (2010).
40 > * [5]  Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011).
41   */
42  
43   #include <cmath>
# Line 46 | Line 47 | namespace OpenMD {
47   #include "types/ZconsStamp.hpp"
48   namespace OpenMD {
49  
50 <  ZConsVisitor::ZConsVisitor(SimInfo* info) : BaseVisitor(), info_(info), zconsReader_(NULL){
51 <
50 >  ZConsVisitor::ZConsVisitor(SimInfo* info) : BaseVisitor(),
51 >                                              zconsReader_(NULL), info_(info){
52 >    
53      visitorName = "ZConsVisitor";
54      currSnapshot_ = info_->getSnapshotManager()->getCurrentSnapshot();
55      Globals* simParam = info_->getSimParams();
# Line 137 | Line 139 | namespace OpenMD {
139    }
140  
141    void ZConsVisitor::update(){
140    Molecule* mol;
142      Vector3d com;
142    ZConsState state;
143      std::map<int, ZConsState>::iterator i;
144      for ( i = zmolStates_.begin(); i != zmolStates_.end(); ++i) {
145        i->second = zsMoving;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines