"Use option [TT]-pbc mol[tt] in addition to [TT]-center[tt] when you",
"want all molecules in the box after the centering.[PAR]",
+ "Option [TT]-box[tt] sets the size of the new box. If you want to"
+ "modify only some of the dimensions, e.g. when reading from a trajectory,"
+ "you can use -1 for those dimensions that should stay the same"
+
"It is not always possible to use combinations of [TT]-pbc[tt],",
"[TT]-fit[tt], [TT]-ur[tt] and [TT]-center[tt] to do exactly what",
"you want in one call to [THISMODULE]. Consider using multiple",
clear_mat(fr.box);
for (m = 0; m < DIM; m++)
{
- fr.box[m][m] = newbox[m];
+ if (newbox[m] >= 0)
+ {
+ fr.box[m][m] = newbox[m];
+ }
}
}