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 246 by gezelter, Wed Jan 12 22:41:40 2005 UTC vs.
Revision 963 by tim, Wed May 17 21:51:42 2006 UTC

# Line 1 | Line 1
1 < /*
1 > /*
2   * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved.
3   *
4   * The University of Notre Dame grants you ("Licensee") a
# Line 44 | Line 44 | namespace oopse {
44   #include "primitives/Molecule.hpp"
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 */
51 < };
47 >  struct ZconstraintParam {
48 >    RealType zTargetPos;   /**< target zconstraint position */
49 >    RealType kz;                  /**< force constant */
50 >    RealType cantVel;         /**< The velocity of cantilever */
51 >  };
52  
53 < struct ZconstraintMol {
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;    
60 < };
56 >    RealType fz;
57 >    RealType zpos;
58 >    RealType cantPos;         /**< current position of cantilever */
59 >    RealType endFixingTime;    
60 >  };
61  
62  
63 < struct ZconsData{
63 >  struct ZconsData{
64      int zmolIndex;
65 <    double zforce;
66 <    double zpos;
67 <    double zconsPos;
68 < };
65 >    RealType zforce;
66 >    RealType zpos;
67 >    RealType zconsPos;
68 >  };
69  
70   }
71  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines