ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/SHAPES/GridBuilder.hpp
Revision: 1283
Committed: Mon Jun 21 15:54:27 2004 UTC (20 years ago) by gezelter
File size: 935 byte(s)
Log Message:
a few bug fixes

File Contents

# User Rev Content
1 chrisfen 1277 #ifndef __GRIDBUILDER_HPP__
2     #define __GRIDBUILDER_HPP__
3    
4     #include "RigidBody.hpp"
5 chrisfen 1281 #include <iostream>
6     #include <fstream>
7 chrisfen 1277 #include <vector>
8    
9     using namespace std;
10    
11     class GridBuilder{
12    
13     public:
14 chrisfen 1281 GridBuilder(RigidBody* rb, int bandWidth);
15     virtual ~GridBuilder();
16 chrisfen 1277
17 gezelter 1283 void launchProbe(int forceField, vector<double> sigmaGrid,
18     vector<double> sGrid,
19     vector<double> epsGrid);
20 chrisfen 1281 void releaseProbe(double farPos);
21     void calcEnergy();
22     void printGridFiles();
23 chrisfen 1277
24     protected:
25 chrisfen 1281 int i, j, k, l;
26     int bandwidth;
27     int forcefield;
28     double thetaStep;
29     double phiStep;
30     double thetaMin;
31     double probeCoor; //the probe atom motion is 1-dimensional
32     double rhoStep;
33     double sigDist;
34     double sDist;
35     double epsVal;
36     double potEnergy;
37     vector<double> potProgress;
38     vector<double> distProgress;
39     vector<double> sigList;
40     vector<double> epsList;
41     vector<double> sList;
42 chrisfen 1277
43 chrisfen 1281 RigidBody* rbMol;
44 chrisfen 1277 };
45    
46     #endif