| 96 |
|
} |
| 97 |
|
|
| 98 |
|
SimSetup::~SimSetup(){ |
| 99 |
+ |
// clean up the forcefield |
| 100 |
+ |
the_ff->cleanMe(); |
| 101 |
+ |
|
| 102 |
|
delete stamps; |
| 103 |
|
delete globals; |
| 104 |
|
} |
| 117 |
|
#endif // is_mpi |
| 118 |
|
|
| 119 |
|
inFileName = fileName; |
| 120 |
+ |
|
| 121 |
+ |
globals->initalize(); |
| 122 |
|
set_interface_stamps(stamps, globals); |
| 123 |
|
|
| 124 |
|
#ifdef IS_MPI |
| 832 |
|
} |
| 833 |
|
} |
| 834 |
|
|
| 830 |
– |
|
| 835 |
|
for (i=0; i < nInfo; i++) { |
| 836 |
|
|
| 837 |
|
// check for the temperature set flag |
| 851 |
|
info[i].thermIntLambda = globals->getThermIntLambda(); |
| 852 |
|
info[i].thermIntK = globals->getThermIntK(); |
| 853 |
|
|
| 854 |
< |
Restraints *myRestraint = new Restraints(tot_nmol, info[i].thermIntLambda, info[i].thermIntK); |
| 854 |
> |
Restraints *myRestraint = new Restraints(info[i].thermIntLambda, info[i].thermIntK); |
| 855 |
|
info[i].restraint = myRestraint; |
| 856 |
|
} |
| 857 |
|
else { |
| 1130 |
|
MPIcheckPoint(); |
| 1131 |
|
#endif // is_mpi |
| 1132 |
|
|
| 1129 |
– |
// clean up the forcefield |
| 1130 |
– |
the_ff->cleanMe(); |
| 1133 |
|
} |
| 1134 |
|
|
| 1135 |
|
void SimSetup::initSystemCoords(void){ |