Skip to content
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

single-bead residue + VS gives incorrect volume #285

Open
fgrunewald opened this issue Nov 24, 2022 · 0 comments
Open

single-bead residue + VS gives incorrect volume #285

fgrunewald opened this issue Nov 24, 2022 · 0 comments
Labels
bug Something isn't working in progress we're working on your issue but it might take a while

Comments

@fgrunewald
Copy link
Member

fgrunewald commented Nov 24, 2022

Describe the bug
The volume of a single bead residue with another VS on top is incorrectly set to zero instead of the bead-size. The cause is the estimate of the volume filters out all volume contributions directly on top of the center of geometry, in order to avoid the unit vector to become undefined.

Command line arguments

polyply gen_coords -p test.top -o test.gro -name test -box 10 10 10

Expected behavior
Generates the coordinates without getting stuck.

Additional Files
test-itp file

[ moleculetype ]
GG 1
[ atoms ]
1 N1 1 PEO BB  1 0.0 
2 N2 2 PEO BB  2 0.0 
3 VS  1 PEO OR 3 0.0 
4 VS  2 PEO OR 4 0.0 
[ bonds ]
1 2 1 0.350 4000
[ virtual_sitesn ]
3 1 1
4 1 2

and any Martini3 topology file.

Workaround

provide a build file with the residue volume like so:

[ volumes ]
PEO 0.47
@fgrunewald fgrunewald added the bug Something isn't working label Nov 24, 2022
@fgrunewald fgrunewald added the in progress we're working on your issue but it might take a while label Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in progress we're working on your issue but it might take a while
Projects
None yet
Development

No branches or pull requests

1 participant