-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistency of Ions::setup
when used multiple times
#284
Comments
You should follow this example: https://github.com/LLNL/mgmol/blob/release/tests/testIons.cc |
I'm simply perturbing local atoms by 10% from their original locations. Would that be too large to go beyond the local subdomain? Regardless, shouldn't the output of I'll try to set up the test following |
Yes, 10% is enough to cross over into another subdomain |
While I could make a fictitious |
This problem is solved using |
Ions::setup
is supposed to update the list of overlapping VL ions (overlappingVL_ions_
). However, it is observed that the resulting overlapping ions are different even when the same local ion list is used.A minimal example is implemented in
ion-bug
branch. A test executabletest_overlapping_ion
will be available if the code is fully installed (make install
). This branch does not need libROM and can be compiled the same asrelease
branch.The executable
test_overlapping_ion
is compiled fromsrc/test_overlapping_ion.cc
. This works the same as the main mgmol drivermgmol-opt
. In essence, it does the following job:Ions::setup
3 times with 3 different ion configurationsIons::setup
with one of (previously used) 3 configurationsExample config and coordinate file are stored in
examples/Carbyne-bug
. Once the executable is installed, one can run the following script to check the test failure:The test passes with the PinnedH2O example, but not with Carbyne example. If we want to manipulate local ion instead of overlapping VL ion in PR #274 , this bug must be fixed first. @jeanlucf22 , can you take a look at this bug?
The text was updated successfully, but these errors were encountered: