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

Comparing branches/development/src/visitors/OtherVisitor.hpp (file contents):
Revision 1465 by chuckv, Fri Jul 9 23:08:25 2010 UTC vs.
Revision 1874 by gezelter, Wed May 15 15:09:35 2013 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   #ifndef VISITORS_OTHERVISITOR_HPP
# Line 113 | Line 114 | namespace OpenMD {
114      
115      void writeFrame(std::ostream& outStream);    
116      void clear() {frame.clear();}
117 <    void doPositions(bool pos) {doPositions_  = pos;}
118 <    void doVelocities(bool vel){doVelocities_ = vel;}
119 <    void doForces(bool frc)    {doForces_     = frc;}
120 <    void doVectors(bool vec)   {doVectors_    = vec;}
121 <    void doCharges(bool chg)   {doCharges_    = chg;}
117 >    void doPositions(bool pos) {doPositions_ = pos;}
118 >    void doVelocities(bool vel) {doVelocities_ = vel;}
119 >    void doForces(bool frc) {doForces_ = frc;}
120 >    void doVectors(bool vec) {doVectors_ = vec;}
121 >    void doCharges(bool chg) {doCharges_ = chg;}
122 >    void doElectricFields(bool efl) {doElectricFields_ = efl;}
123  
124    protected:
125      void internalVisit(StuntDouble* sd);
# Line 135 | Line 137 | namespace OpenMD {
137      bool doForces_;
138      bool doVectors_;
139      bool doCharges_;
140 +    bool doElectricFields_;
141    };
142  
143  
# Line 143 | Line 146 | namespace OpenMD {
146      PrepareVisitor() : BaseVisitor() {visitorName = "prepareVisitor";}
147  
148      virtual void visit(Atom* atom) {internalVisit(atom);}
149 <    virtual void visit(DirectionalAtom* datom) {internalVisit((Atom*)datom);}
149 >    virtual void visit(DirectionalAtom* datom) {internalVisit(reinterpret_cast<Atom*>(datom));}
150      virtual void visit(RigidBody* rb) {internalVisit(rb);}
151  
152      virtual const std::string toString();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines