@@ -836,7 +836,7 @@ void ConfigSetup::Init(const char *fileName, MultiSim const *const &multisim) {
836
836
} else if (CheckString (line[0 ], " IntraMEMC-1Freq" )) {
837
837
if (stringtod (line[1 ]) > 0.0 ) {
838
838
sys.moves .intraMemc = stringtod (line[1 ]);
839
- printf (" %-40s %-4.4f \n " , " Info: IntraMEMC-2 move frequency" ,
839
+ printf (" %-40s %-4.4f \n " , " Info: IntraMEMC-1 move frequency" ,
840
840
sys.moves .intraMemc );
841
841
sys.intraMemcVal .enable = true ;
842
842
sys.intraMemcVal .MEMC1 = true ;
@@ -1913,15 +1913,13 @@ void ConfigSetup::verifyInputs(void) {
1913
1913
std::cout << " ERROR: Impulse Pressure Correction cannot be "
1914
1914
<< " used with LJ long-range corrections." << std::endl;
1915
1915
exit (EXIT_FAILURE);
1916
-
1917
1916
}
1918
1917
if (((sys.ff .VDW_KIND == sys.ff .VDW_SHIFT_KIND ) ||
1919
1918
(sys.ff .VDW_KIND == sys.ff .VDW_SWITCH_KIND )) &&
1920
1919
sys.ff .doImpulsePressureCorr ) {
1921
1920
std::cout << " ERROR: Impulse Pressure Correction is not supported "
1922
1921
<< " for SWITCH or SHIFT potentials." << std::endl;
1923
1922
exit (EXIT_FAILURE);
1924
-
1925
1923
}
1926
1924
if (sys.ff .doImpulsePressureCorr && sys.ff .doTailCorr ) {
1927
1925
std::cout << " ERROR: Both LRC (Long Range Correction) and "
@@ -2120,9 +2118,10 @@ void ConfigSetup::verifyInputs(void) {
2120
2118
if (in.restart .restartFromBinaryCoorFile ) {
2121
2119
for (i = 0 ; i < BOX_TOTAL; i++) {
2122
2120
if (!in.files .binaryCoorInput .defined [i]) {
2123
- std::cout << " ERROR: Binary coordinate file was not specified for box "
2124
- " number "
2125
- << i << " !" << std::endl;
2121
+ std::cout
2122
+ << " ERROR: Binary coordinate file was not specified for box "
2123
+ " number "
2124
+ << i << " !" << std::endl;
2126
2125
exit (EXIT_FAILURE);
2127
2126
}
2128
2127
}
@@ -2190,7 +2189,8 @@ void ConfigSetup::verifyInputs(void) {
2190
2189
if ((sys.memcVal .MEMC1 && sys.memcVal .MEMC2 ) ||
2191
2190
(sys.memcVal .MEMC1 && sys.memcVal .MEMC3 ) ||
2192
2191
(sys.memcVal .MEMC2 && sys.memcVal .MEMC3 )) {
2193
- std::cout << " ERROR: Multiple MEMC methods were specified, but only one is allowed!\n " ;
2192
+ std::cout << " ERROR: Multiple MEMC methods were specified, but only one "
2193
+ " is allowed!\n " ;
2194
2194
exit (EXIT_FAILURE);
2195
2195
}
2196
2196
if ((sys.memcVal .MEMC1 && sys.memcVal .MEMC2 ) ||
@@ -2204,19 +2204,23 @@ void ConfigSetup::verifyInputs(void) {
2204
2204
if ((sys.intraMemcVal .MEMC1 && sys.intraMemcVal .MEMC2 ) ||
2205
2205
(sys.intraMemcVal .MEMC1 && sys.intraMemcVal .MEMC3 ) ||
2206
2206
(sys.intraMemcVal .MEMC2 && sys.intraMemcVal .MEMC3 )) {
2207
- std::cout << " ERROR: Multiple Intra-MEMC methods are specified, but only one is allowed!\n " ;
2207
+ std::cout << " ERROR: Multiple Intra-MEMC methods are specified, but only "
2208
+ " one is allowed!\n " ;
2208
2209
exit (EXIT_FAILURE);
2209
2210
}
2210
2211
if (!sys.memcVal .readVol || !sys.intraMemcVal .readVol ) {
2211
- std::cout << " ERROR: In the MEMC method, the Sub-Volume was not specified!\n " ;
2212
+ std::cout
2213
+ << " ERROR: In the MEMC method, the Sub-Volume was not specified!\n " ;
2212
2214
exit (EXIT_FAILURE);
2213
2215
}
2214
2216
if (!sys.memcVal .readRatio || !sys.intraMemcVal .readRatio ) {
2215
- std::cout << " ERROR: In the MEMC method, Exchange Ratio was not specified!\n " ;
2217
+ std::cout
2218
+ << " ERROR: In the MEMC method, Exchange Ratio was not specified!\n " ;
2216
2219
exit (EXIT_FAILURE);
2217
2220
}
2218
2221
if (sys.memcVal .largeKind .size () != sys.memcVal .exchangeRatio .size ()) {
2219
- std::cout << " ERROR: In the MEMC method, the specified number of Large Kinds was "
2222
+ std::cout << " ERROR: In the MEMC method, the specified number of Large "
2223
+ " Kinds was "
2220
2224
<< sys.memcVal .largeKind .size () << " , but "
2221
2225
<< sys.memcVal .exchangeRatio .size ()
2222
2226
<< " exchange ratio was specified!\n " ;
@@ -2233,36 +2237,37 @@ void ConfigSetup::verifyInputs(void) {
2233
2237
if ((sys.memcVal .largeKind .size () != sys.memcVal .smallKind .size ()) ||
2234
2238
(sys.intraMemcVal .largeKind .size () !=
2235
2239
sys.intraMemcVal .smallKind .size ())) {
2236
- std::cout
2237
- << " ERROR: In the MEMC method, the specified number of Large Kinds is not "
2238
- << " equal as specified number of Small Kinds!\n " ;
2240
+ std::cout << " ERROR: In the MEMC method, the specified number of Large "
2241
+ " Kinds is not "
2242
+ << " equal as specified number of Small Kinds!\n " ;
2239
2243
exit (EXIT_FAILURE);
2240
2244
}
2241
2245
if (!sys.memcVal .readLargeBB || !sys.intraMemcVal .readLargeBB ) {
2242
- std::cout
2243
- << " ERROR: In the MEMC method, Large Kind BackBone was not specified!\n " ;
2246
+ std::cout << " ERROR: In the MEMC method, Large Kind BackBone was not "
2247
+ " specified!\n " ;
2244
2248
exit (EXIT_FAILURE);
2245
2249
}
2246
2250
if (sys.memcVal .largeKind .size () != sys.memcVal .largeBBAtom1 .size ()) {
2247
- std::cout << " ERROR: In the MEMC method, the specified number of Large Kinds was "
2251
+ std::cout << " ERROR: In the MEMC method, the specified number of Large "
2252
+ " Kinds was "
2248
2253
<< sys.memcVal .largeKind .size () << " , but "
2249
2254
<< sys.memcVal .largeBBAtom1 .size ()
2250
2255
<< " sets of Large Molecule BackBone was specified!\n " ;
2251
2256
exit (EXIT_FAILURE);
2252
2257
}
2253
2258
if (sys.memcVal .MEMC2 && !sys.memcVal .readSmallBB ) {
2254
- std::cout
2255
- << " ERROR: In the MEMC-2 method, Small Kind BackBone was not specified!\n " ;
2259
+ std::cout << " ERROR: In the MEMC-2 method, Small Kind BackBone was not "
2260
+ " specified!\n " ;
2256
2261
exit (EXIT_FAILURE);
2257
2262
}
2258
2263
2259
2264
if (sys.memcVal .MEMC2 &&
2260
2265
(sys.memcVal .smallKind .size () != sys.memcVal .smallBBAtom1 .size ())) {
2261
- std::cout
2262
- << " ERROR: In the MEMC-2 method, the specified number of Small Kinds was "
2263
- << sys.memcVal .smallKind .size () << " , but "
2264
- << sys.memcVal .smallBBAtom1 .size ()
2265
- << " sets of Small Molecule BackBone was specified!\n " ;
2266
+ std::cout << " ERROR: In the MEMC-2 method, the specified number of Small "
2267
+ " Kinds was "
2268
+ << sys.memcVal .smallKind .size () << " , but "
2269
+ << sys.memcVal .smallBBAtom1 .size ()
2270
+ << " sets of Small Molecule BackBone was specified!\n " ;
2266
2271
exit (EXIT_FAILURE);
2267
2272
}
2268
2273
if (sys.memcVal .MEMC2Liq && !sys.memcVal .readSmallBB ) {
@@ -2279,15 +2284,17 @@ void ConfigSetup::verifyInputs(void) {
2279
2284
}
2280
2285
2281
2286
if (sys.intraMemcVal .MEMC2 && !sys.intraMemcVal .readSmallBB ) {
2282
- std::cout << " ERROR: In the Intra-MEMC-2 method, Small Kind BackBone was not "
2283
- " specified!\n " ;
2287
+ std::cout
2288
+ << " ERROR: In the Intra-MEMC-2 method, Small Kind BackBone was not "
2289
+ " specified!\n " ;
2284
2290
exit (EXIT_FAILURE);
2285
2291
}
2286
2292
if (sys.memcVal .enable && sys.intraMemcVal .enable ) {
2287
2293
if ((sys.memcVal .MEMC1 && !sys.intraMemcVal .MEMC1 ) ||
2288
2294
(sys.memcVal .MEMC2 && !sys.intraMemcVal .MEMC2 ) ||
2289
2295
(sys.memcVal .MEMC3 && !sys.intraMemcVal .MEMC3 )) {
2290
- std::cout << " ERROR: The selected intra-MEMC method was not same as the inter-MEMC method!\n " ;
2296
+ std::cout << " ERROR: The selected intra-MEMC method was not same as "
2297
+ " the inter-MEMC method!\n " ;
2291
2298
exit (EXIT_FAILURE);
2292
2299
}
2293
2300
}
0 commit comments