Open KonradBreitsprecher opened 5 years ago
In the following comes some speculation: To me the jump looks like being caused by a wrong scaling factor within the outer layers. The trend of the curve looks similar, but scaled.
How does this jump scale when you change the prefactor?
PS: thanks for reporting this problem! This energy problem (as long as it persists) prevents using ELC in a nonneutral system together with the cpH or reaction ensemble (because they rely on energy changes)
Offline discussion with @reinaual: No solution was found inspite of considerable effort. We're going to block the affected combintaion of features.
@reinaual, can you please open a Pr which blocks the activation of ELC with the non-working parameter combinations. Please also add entries to the ES 4.1 release notes in the Wiki, explaining what you fixed and what wasn't fixed.
acitvating the affected featues was blocked. De-milestoning this issue.
Dragging a particle through the box in a non-neutral system (testscript below), the ELC energy jumps close to the boundaries (inside the elc_params.space_layer):
The current testcase (elc_vs_mmm2d_nonneutral.py) fails to cover this case because the particles don't enter the space layer (not dragged close enough to the walls).
I made the following observations:
p.r.p[2] < elc_params.space_layer
).I don't see through the ELC energy calculation (both non-neutral and neutral) and I'm afraid the best way out of this is to not support ELC for non-neutral systems.
Test script: