--- trunk/src/constraints/ZconsStruct.hpp 2005/01/12 22:41:40 246 +++ trunk/src/constraints/ZconsStruct.hpp 2006/05/17 21:51:42 963 @@ -1,4 +1,4 @@ - /* +/* * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved. * * The University of Notre Dame grants you ("Licensee") a @@ -44,28 +44,28 @@ namespace oopse { #include "primitives/Molecule.hpp" namespace oopse { -struct ZconstraintParam { - double zTargetPos; /**< target zconstraint position */ - double kz; /**< force constant */ - double cantVel; /**< The velocity of cantilever */ -}; + struct ZconstraintParam { + RealType zTargetPos; /**< target zconstraint position */ + RealType kz; /**< force constant */ + RealType cantVel; /**< The velocity of cantilever */ + }; -struct ZconstraintMol { + struct ZconstraintMol { Molecule* mol; ZconstraintParam param; - double fz; - double zpos; - double cantPos; /**< current position of cantilever */ - double endFixingTime; -}; + RealType fz; + RealType zpos; + RealType cantPos; /**< current position of cantilever */ + RealType endFixingTime; + }; -struct ZconsData{ + struct ZconsData{ int zmolIndex; - double zforce; - double zpos; - double zconsPos; -}; + RealType zforce; + RealType zpos; + RealType zconsPos; + }; }