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

Comparing branches/new_design/OOPSE-4/src/primitives/StuntDouble.hpp (file contents):
Revision 1701 by tim, Wed Nov 3 16:08:43 2004 UTC vs.
Revision 1782 by tim, Wed Nov 24 20:55:03 2004 UTC

# Line 30 | Line 30
30   * @version 1.0
31   */
32    
33 < #ifndef _STUNTDOUBLE_HPP_
34 < #define _STUNTDOUBLE_HPP_
33 > #ifndef PRIMITIVES_STUNTDOUBLE_HPP
34 > #define PRIMITIVES_STUNTDOUBLE_HPP
35  
36   #include <vector>
37  
# Line 55 | Line 55 | namespace oopse{
55     * provides an interface for the Integrators and Minimizers to use,
56     * and does some preliminary sanity checking so that the program
57     * doesn't try to do something stupid like torque an Atom
58 <   * @note the dynamoc data of stuntdouble will be stored outside of the class
58 >   * @note the dynamic data of stuntdouble will be stored outside of the class
59     */
60     class StuntDouble{
61     public:    
# Line 453 | Line 453 | namespace oopse{
453           * Returns the previous unit vectors of this stuntdouble
454           * @return the unit vectors of this stuntdouble
455           */    
456 <        Vector3d getPrevUnitVector() {
457 <            return ((snapshotMan_->getPrevSnapshot())->*storage_).unitVector[localIndex_];
456 >        RotMat3x3d getPrevUnitFrame() {
457 >            return ((snapshotMan_->getPrevSnapshot())->*storage_).unitFrame[localIndex_];
458          }
459        
460          /**
461           * Returns the current unit vectors of this stuntdouble
462           * @return the unit vectors of this stuntdouble
463           */    
464 <        Vector3d getUnitVector() {
465 <            return ((snapshotMan_->getCurrentSnapshot())->*storage_).unitVector[localIndex_];
464 >        RotMat3x3d getUnitFrame() {
465 >            return ((snapshotMan_->getCurrentSnapshot())->*storage_).unitFrame[localIndex_];
466          }
467  
468         /**
# Line 471 | Line 471 | namespace oopse{
471           * @return the unit vectors of this stuntdouble
472           * @param snapshotNo
473           */    
474 <         Vector3d getUnitVector(int snapshotNo) {
475 <            return ((snapshotMan_->getSnapshot(snapshotNo))->*storage_).unitVector[localIndex_];
474 >         RotMat3x3d getUnitFrame(int snapshotNo) {
475 >            return ((snapshotMan_->getSnapshot(snapshotNo))->*storage_).unitFrame[localIndex_];
476          }
477  
478         /**
# Line 870 | Line 870 | namespace oopse{
870      };
871  
872   }//end namespace oopse
873 < #endif //ifndef _STUNTDOUBLE_HPP_
873 > #endif //PRIMITIVES_STUNTDOUBLE_HPP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines