ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/utils/sysbuilder/MoLocator.hpp
Revision: 821
Committed: Fri Oct 24 22:17:45 2003 UTC (20 years, 8 months ago) by mmeineke
File size: 748 byte(s)
Log Message:
put QuickBass, MoLocator, and latticeBuilder into a Builder Library
overhauled latticeBilayer into its own program. Removed sysBuild from the Makefile

File Contents

# User Rev Content
1 chuckv 678 #ifndef __MOLOCATOR_H__
2     #define __MOLOCATOR_H__
3    
4     #include "Atom.hpp"
5     #include "MoleculeStamp.hpp"
6     #include "SimState.hpp"
7    
8     class MoLocator{
9    
10     public:
11    
12     MoLocator( MoleculeStamp* theStamp );
13     ~MoLocator();
14    
15     void placeMol( double pos[3], double ornt[3][3], Atom** atomArray,
16 chuckv 700 int atomIndex, SimState* myConfig );
17 chuckv 678 double getMaxLength( void ) { return maxLength; }
18    
19     private:
20    
21     void calcRefCoords( void );
22     void rotMe( double r[3], double A[3][3] );
23    
24     MoleculeStamp* myStamp;
25     double *myCoords;
26     double maxLength;
27     int nAtoms;
28    
29     };
30    
31 mmeineke 821 extern void getRandomRot( double rot[3][3] );
32     extern void getEulerRot( double theta, double phi, double psi,
33     double rot[3][3] );
34     extern void getUnitRot( double unit[3], double rot[3][3] );
35 chuckv 678
36     #endif