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

Comparing trunk/src/visitors/OtherVisitor.hpp (file contents):
Revision 1455 by gezelter, Thu Jun 24 20:44:18 2010 UTC vs.
Revision 1456 by gezelter, Fri Jun 25 17:40:24 2010 UTC

# Line 113 | Line 113 | namespace OpenMD {
113      
114      void writeFrame(std::ostream& outStream);    
115      void clear() {frame.clear();}
116 <    void setPosOnly(bool posOnly){posOnly_ = posOnly;}
116 >    void doPositions(bool pos) {doPositions_  = pos;}
117 >    void doVelocities(bool vel){doVelocities_ = vel;}
118 >    void doForces(bool frc)    {doForces_     = frc;}
119 >    void doVectors(bool vec)   {doVectors_    = vec;}
120 >    void doCharges(bool chg)   {doCharges_    = chg;}
121 >
122    protected:
123      void internalVisit(StuntDouble* sd);
124      bool isSelected(StuntDouble* sd);
# Line 125 | Line 130 | namespace OpenMD {
130      SelectionManager seleMan;
131      SelectionEvaluator evaluator;
132      std::vector<std::string> frame;
133 <    bool posOnly_;
133 >    bool doPositions_;
134 >    bool doVelocities_;
135 >    bool doForces_;
136 >    bool doVectors_;
137 >    bool doCharges_;
138    };
139  
140  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines