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

Comparing branches/new_design/OOPSE-3.0/src/UseTheForce/DUFF.hpp (file contents):
Revision 1741 by tim, Tue Nov 16 02:07:14 2004 UTC vs.
Revision 1758 by tim, Fri Nov 19 17:56:32 2004 UTC

# Line 46 | Line 46 | class DUFF : public ForceField {
46  
47      private:
48  
49 <        void parseAtomType();
50 <        void parseBondType();
51 <        void parseBendType();
52 <        void parseTorsionType();
49 >        enum ParseState {
50 >            AtomTypeSection,
51 >            DirectionalAtomTypeSection,
52 >            BondTypeSection,
53 >            BendTypeSection,
54 >            TorsionTypeSection,
55 >            UnknownSection                
56 >        };
57  
58 +        ParseState getSection(const std::string& section);
59 +        
60 +        void parseAtomType(const std::string& line, int lineNo);
61 +        void parseBondType(const std::string& line, int lineNo);
62 +        void parseBendType(const std::string& line, int lineNo);
63 +        void parseTorsionType(const std::string& line, int lineNo);
64 +
65   };
66  
67   //declare the funtion to create DUFF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines