1 |
|
#ifndef __MOLOCATOR_H__ |
2 |
|
#define __MOLOCATOR_H__ |
3 |
|
|
4 |
+ |
#include <vector> |
5 |
|
#include "Atom.hpp" |
6 |
|
#include "DirectionalAtom.hpp" |
7 |
|
#include "MoleculeStamp.hpp" |
8 |
< |
#include "SimState.hpp" |
8 |
> |
#include "Molecule.hpp" |
9 |
> |
#include "Vector3d.hpp" |
10 |
> |
#include "ForceFields.hpp" |
11 |
> |
using namespace std; |
12 |
|
|
13 |
|
class MoLocator{ |
14 |
|
|
15 |
|
public: |
16 |
|
|
17 |
< |
MoLocator( MoleculeStamp* theStamp ); |
14 |
< |
~MoLocator(); |
17 |
> |
MoLocator( MoleculeStamp* theStamp, ForceFields* theFF); |
18 |
|
|
19 |
< |
void placeMol( double pos[3], double ornt[3][3], Atom** atomArray, |
20 |
< |
int atomIndex, SimState* myConfig ); |
18 |
< |
double getMaxLength( void ) { return maxLength; } |
19 |
< |
|
19 |
> |
void placeMol( const Vector3d& offset, const Vector3d& ort, Molecule* mol); |
20 |
> |
|
21 |
|
private: |
22 |
|
|
23 |
|
void calcRefCoords( void ); |
23 |
– |
void rotMe( double r[3], double A[3][3] ); |
24 |
|
|
25 |
|
MoleculeStamp* myStamp; |
26 |
< |
double *myCoords; |
27 |
< |
double maxLength; |
28 |
< |
int nAtoms; |
26 |
> |
ForceFields* myFF; |
27 |
|
|
28 |
+ |
vector<Vector3d> refCoords; |
29 |
+ |
int nIntegrableObjects; |
30 |
+ |
|
31 |
|
}; |
32 |
|
|
32 |
– |
extern void getRandomRot( double rot[3][3] ); |
33 |
– |
extern void getEulerRot( double theta, double phi, double psi, |
34 |
– |
double rot[3][3] ); |
35 |
– |
|
33 |
|
#endif |