ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/utils/sysbuilder/MoLocator.hpp
Revision: 700
Committed: Mon Aug 18 20:59:47 2003 UTC (20 years, 11 months ago) by chuckv
File size: 554 byte(s)
Log Message:
Fixed sysBuild -bilayer works. Nanobuilder still broke.

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    
32     #endif