ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-2.0/src/applications/simpleBuilder/MoLocator.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-2.0/src/applications/simpleBuilder/MoLocator.hpp (file contents):
Revision 1826 by tim, Thu Dec 2 05:04:20 2004 UTC vs.
Revision 1903 by tim, Thu Jan 6 00:16:07 2005 UTC

# Line 1 | Line 1
1 < #ifndef __MOLOCATOR_H__
1 > #ifndef __MOLOCATOR_HPP
2  
3 < #define __MOLOCATOR_H__
3 > #define __MOLOCATOR_HPP
4  
5
6
5   #include <vector>
6  
7   #include "primitives/Atom.hpp"
10
8   #include "primitives/DirectionalAtom.hpp"
12
9   #include "types/MoleculeStamp.hpp"
14
10   #include "primitives/Molecule.hpp"
11 <
11 > #include "math/SquareMatrix3.hpp"
12   #include "math/Vector3.hpp"
13 <
14 < #include "UseTheForce/ForceFields.hpp"
20 <
21 <
22 <
23 <
24 <
13 > #include "UseTheForce/ForceField.hpp"
14 > namespace oopse {
15   //convert lattice vector to rotation matrix
16 <
17 < void latVec2RotMat(const Vector3d& lv, double rotMat[3][3]);
18 <
29 <
30 <
16 > double getAtomMass(const std::string& at, ForceField* myFF);
17 > double getMolMass(MoleculeStamp *molStamp, ForceField *myFF);
18 > RotMat3x3d latVec2RotMat(const Vector3d& lv);
19   class MoLocator{
20 +    public:
21 +        MoLocator( MoleculeStamp* theStamp, ForceField* theFF);
22 +        void placeMol( const Vector3d& offset, const Vector3d& ort, Molecule* mol);
23 +    private:
24 +        void calcRef( void );
25 +        MoleculeStamp* myStamp;
26  
27 <  
27 >        ForceField* myFF;
28 >        std::vector<Vector3d> refCoords;
29 >        int nIntegrableObjects;
30  
35 public:
36
37  
38
39  MoLocator( MoleculeStamp* theStamp, ForceFields* theFF);
40
41
42
43  void placeMol( const Vector3d& offset, const Vector3d& ort, Molecule* mol);
44
45
46
47 private:
48
49  
50
51  void calcRefCoords( void );
52
53  
54
55  MoleculeStamp* myStamp;
56
57  ForceFields* myFF;
58
59
60
61   std::vector<Vector3d> refCoords;
62
63  int nIntegrableObjects;
64
31   };
32  
33 <
68 <
33 > }
34   #endif
35  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines