| 30 |
|
|
| 31 |
|
|
| 32 |
|
|
| 33 |
< |
Symplectic::Symplectic( SimInfo* the_entry_plug ForceFields* the_ff ){ |
| 33 |
> |
Symplectic::Symplectic( SimInfo* the_entry_plug, ForceFields* the_ff ){ |
| 34 |
|
entry_plug = the_entry_plug; |
| 35 |
|
myFF = the_ff; |
| 36 |
|
isFirst = 1; |
| 157 |
|
|
| 158 |
|
// initialize the forces the before the first step |
| 159 |
|
|
| 160 |
< |
myFF->doForces(1); |
| 160 |
> |
myFF->doForces(1,0); |
| 161 |
|
|
| 162 |
|
if( entry_plug->setTemp ){ |
| 163 |
|
|
| 285 |
|
|
| 286 |
|
// calculate the forces |
| 287 |
|
|
| 288 |
< |
myFF->doForces(calcPot); |
| 288 |
> |
myFF->doForces(calcPot, 0); |
| 289 |
|
|
| 290 |
|
// move b |
| 291 |
|
|
| 455 |
|
|
| 456 |
|
// calculate the forces |
| 457 |
|
|
| 458 |
< |
myFF->doForces(calcPot); |
| 458 |
> |
myFF->doForces(calcPot,0); |
| 459 |
|
|
| 460 |
|
for( i=0; i< nAtoms; i++ ){ |
| 461 |
|
|