ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/constraints/ZconsStruct.hpp
(Generate patch)

Comparing trunk/src/constraints/ZconsStruct.hpp (file contents):
Revision 507 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 963 by tim, Wed May 17 21:51:42 2006 UTC

# Line 45 | Line 45 | namespace oopse {
45   namespace oopse {
46  
47    struct ZconstraintParam {
48 <    double zTargetPos;   /**< target zconstraint position */
49 <    double kz;                  /**< force constant */
50 <    double cantVel;         /**< The velocity of cantilever */
48 >    RealType zTargetPos;   /**< target zconstraint position */
49 >    RealType kz;                  /**< force constant */
50 >    RealType cantVel;         /**< The velocity of cantilever */
51    };
52  
53    struct ZconstraintMol {
54      Molecule* mol;
55      ZconstraintParam param;
56 <    double fz;
57 <    double zpos;
58 <    double cantPos;         /**< current position of cantilever */
59 <    double endFixingTime;    
56 >    RealType fz;
57 >    RealType zpos;
58 >    RealType cantPos;         /**< current position of cantilever */
59 >    RealType endFixingTime;    
60    };
61  
62  
63    struct ZconsData{
64      int zmolIndex;
65 <    double zforce;
66 <    double zpos;
67 <    double zconsPos;
65 >    RealType zforce;
66 >    RealType zpos;
67 >    RealType zconsPos;
68    };
69  
70   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines