Add test FEP test system with net charge. Follow-up from "Add missing Ewald charge term with PME on GPU"
The following discussion from !3350 (merged) should be addressed:
-
@magnus.lundborg started a discussion: (+2 comments) This is verified to fix #4668 (closed). We should add tests that would have caught this. But that could be in a separate MR.
We should add a test system, e.g., in src/programs/mdrun/tests/freeenergy.cpp with two charges, one of which is decoupled. This will ensure that the net charge is treated consistently.