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

Comparing:
trunk/OOPSE-3.0/src/types/DirectionalAtomType.hpp (file contents), Revision 1632 by gezelter, Fri Oct 22 20:21:36 2004 UTC vs.
branches/new_design/OOPSE-3.0/src/types/DirectionalAtomType.hpp (file contents), Revision 1769 by tim, Tue Nov 23 06:03:47 2004 UTC

# Line 16 | Line 16 | namespace oopse {
16    public:
17      
18      DirectionalAtomType() : AtomType() { atp.is_Directional = 1; }
19    ~DirectionalAtomType();
19  
20 <    /**
21 <     * Finishes off the DirectionalAtomType by communicating the
23 <     * logical portions of the structure to the Fortran atype module
24 <     */
25 <    void    complete();
26 <        
27 <    Matrix3x3d getI() {return I;}
28 <    void       setI(Matrix3x3d theI) {I = theI;}
20 >    Mat3x3d getI() {return I;}
21 >    void    setI(Mat3x3d theI) {I = theI;}
22  
23 <    void       setDipole() { atp.is_Dipole = 1; atp.is_Electrostatic = 1;}
31 <    bool       isDipole()  { return atp.is_Dipole; }
23 >    void    setDipole() { atp.is_Dipole = 1; atp.is_Electrostatic = 1; }
24  
25 <    void       setGayBerne() { atp.is_GayBerne = 1; }
34 <    bool       isGayBerne()  { return atp.is_GayBerne; }
25 >    void    setGayBerne() { atp.is_GayBerne = 1; }
26  
27 <    void       setShape() { atp.is_Shape = 1;}
28 <    bool       isShape()  { return atp.is_Shape; }
29 <                
27 >    void    setSticky() { atp.is_Sticky = 1; }
28 >
29 >    void    setShape() { atp.is_Shape = 1;}
30 >
31 >    virtual void complete();
32 >    
33    private:
34      
35 <    Matrix3x3d I;
35 >    Mat3x3d I;
36      
37    };
38 +
39 +
40 +  struct StickyParam {
41 +    double w0;
42 +    double v0;
43 +    double v0p;
44 +    double rl;
45 +    double ru;
46 +    double rlp;
47 +    double rup;
48 +  };
49 +
50 +  typedef SimpleTypeData<StickyParam> StickyParamGenericData;
51   }
52   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines