ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/SHAPES/GridBuilder.hpp
(Generate patch)

Comparing trunk/SHAPES/GridBuilder.hpp (file contents):
Revision 1282 by chrisfen, Mon Jun 21 15:10:29 2004 UTC vs.
Revision 1287 by chrisfen, Wed Jun 23 20:18:48 2004 UTC

# Line 1 | Line 1
1   #ifndef __GRIDBUILDER_HPP__
2   #define __GRIDBUILDER_HPP__
3  
4 + #include "MatVec3.h"
5   #include "RigidBody.hpp"
6   #include <iostream>
7   #include <fstream>
# Line 11 | Line 12 | class GridBuilder{ (public)
12   class GridBuilder{
13  
14   public:
15 <  GridBuilder(RigidBody* rb, int bandWidth);
15 >  GridBuilder(RigidBody* rb, int gridWidth);
16    virtual ~GridBuilder();
17  
18 <  void launchProbe(int forceField, vector<double> sigmaGrid, vector<double> sGrid,
19 <                                         vector<double> epsGrid);
18 >  void launchProbe(int forceField, vector<double> sigmaGrid,
19 >                   vector<double> sGrid, vector<double> epsGrid);
20    void releaseProbe(double farPos);
21    void calcEnergy();
21  void rotBody(double pValue, double tValue);
22    void printGridFiles();
23 +  double passSig(int index){ return sigList[index]; }
24 +  double passS(int index){ return sList[index]; }
25 +  double passEps(int index){ return epsList[index]; }
26  
27   protected:
28    int i, j, k, l;
29 <  int bandwidth;
29 >  int gridwidth;
30    int forcefield;
31    double thetaStep;
32    double phiStep;
33    double thetaMin;
31  double rotX[3][3];
32  double rotZ[3][3];
33  double rbMatrix[3][3];
34  double rotatedMat[3][3];
35  double angles[3];
34    double probeCoor; //the probe atom motion is 1-dimensional
35    double rhoStep;
36    double sigDist;
37    double sDist;
38    double epsVal;
39    double potEnergy;
40 +  double rparHe, epsHe;
41    vector<double> potProgress;
42    vector<double> distProgress;
43    vector<double> sigList;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines