4 |
|
#include <vector> |
5 |
|
#include "forcerCmd.h" |
6 |
|
#include "PDBReader.hpp" |
7 |
+ |
#include "RigidBody.hpp" |
8 |
|
|
9 |
|
#define MK_STR(s) # s |
10 |
|
#define STR_DEFINE(t, s) t = MK_STR(s) |
48 |
|
vector<Atype*> vdwAtypes; |
49 |
|
vector<Atype*>::iterator i; |
50 |
|
Atype* at; |
51 |
+ |
RigidBody* rb; |
52 |
|
vector<VDWAtom*> theAtoms; |
53 |
|
vector<VDWAtom*>::iterator j; |
54 |
|
VDWAtom* atom; |
224 |
|
} |
225 |
|
} |
226 |
|
|
227 |
+ |
rb = new RigidBody(); |
228 |
+ |
for( j = theAtoms.begin(); j != theAtoms.end(); ++j){ |
229 |
+ |
rb->addAtom(*j); |
230 |
+ |
} |
231 |
+ |
|
232 |
|
//GridBuilder gb = new GridBuilder(); |
233 |
|
//gb->findAxesAndOrigin(theAtoms); |
234 |
|
//gb->launchProbe(FF, sigmaGrid, sGrid, epsGrid); |