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

Comparing branches/new_design/OOPSE-4/src/UseTheForce/DUFF.hpp (file contents):
Revision 1741 by tim, Tue Nov 16 02:07:14 2004 UTC vs.
Revision 1840 by tim, Fri Dec 3 00:26:07 2004 UTC

# Line 34 | Line 34 | namespace oopse {
34   #define USETHEFORCE_DUFF_HPP
35  
36   #include "UseTheForce/ForceField.hpp"
37 + #include "io/SectionParserManager.hpp"
38 + #include "UseTheForce/ForceFieldCreator.hpp"
39   namespace oopse {
40  
41   /**
42   * @class DUFF DUFF.hpp "UseTheForce/DUFF.hpp"
43 < *
43 > * @brief Dipole United Atom Force Field Parser
44   */
45   class DUFF : public ForceField {
46      public:
47 <        virtual void parse(const std::string& filename = "DUFF.frc");
47 >        DUFF();
48 >        virtual void parse(const std::string& filename);
49  
50      private:
51 +        SectionParserManager spMan_;
52 +        /*
53 +        enum ParseState {
54 +            AtomTypeSection,
55 +            DirectionalAtomTypeSection,
56 +            BondTypeSection,
57 +            BendTypeSection,
58 +            TorsionTypeSection,
59 +            UnknownSection                
60 +        };
61  
62 <        void parseAtomType();
63 <        void parseBondType();
64 <        void parseBendType();
65 <        void parseTorsionType();
66 <
62 >        ParseState getSection(const std::string& section);
63 >        
64 >        void parseAtomType(const std::string& line, int lineNo, int& ident);
65 >        void parseBondType(const std::string& line, int lineNo);
66 >        void parseBendType(const std::string& line, int lineNo);
67 >        void parseTorsionType(const std::string& line, int lineNo);
68 >        */
69   };
70  
71 < //declare the funtion to create DUFF
57 < ForceField* createDUFF();
58 <
71 > //static ForceFieldBuilder<DUFF>* DUFFCreator = new ForceFieldBuilder<DUFF>("DUFF");
72   } //end namespace oopse
73   #endif //USETHEFORCE_DUFF_HPP
74  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines