ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/UseTheForce/ForceField.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-3.0/src/UseTheForce/ForceField.hpp (file contents):
Revision 1806 by tim, Fri Nov 26 02:13:56 2004 UTC vs.
Revision 1807 by tim, Tue Nov 30 22:43:51 2004 UTC

# Line 66 | Line 66 | class ForceField{
66  
67          virtual ~ForceField(){}
68  
69 <        void setVariant(const std::string &variant) {
70 <            hasVariant_ = true;
71 <            variant_ = variant;
69 >        std::string getForceFieldFileName() {
70 >            return forceFieldFileName_;
71          }
72 +
73 +        void setForceFieldFileName(const std::string& filename) {
74 +            forceFieldFileName_ = filename;
75 +        }
76          
77          virtual void parse(const std::string& filename) = 0;  
78  
# Line 125 | Line 128 | class ForceField{
128          
129      private:  
130          std::string ffPath_;
128        bool hasVariant_;
129        std::string variant_;
131  
132          std::string wildCardAtomTypeName_;
133  
134 +        std::string forceFieldFileName_;
135   };
136  
137  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines