Move prmtop instantiation outside of the setUp routine and put it in the module
itself. This way each parm is only read once for every test (rather than being read for every test, even when they're not used, as part of the setUp routine). For large systems, this makes the tests run a lot faster (for small systems it's not a large speedup). All tests continue to pass. This change also tests that the various calls to createSystem and such do not actually change the object in a detrimental way.
Showing
Please register or sign in to comment