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 1442 by gezelter, Mon May 10 17:28:26 2010 UTC vs.
branches/development/src/visitors/OtherVisitor.hpp (file contents), Revision 1465 by chuckv, Fri Jul 9 23:08:25 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);
125  
126    private:  
127      std::string trimmedName(const std::string& atomType);
123    std::string baseTypeName(AtomType* at);
128  
129      SimInfo* info;
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