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

vdc --vtk, repeats the first spin multiple times in the vtu output #88

Open
mahdawi opened this issue Nov 21, 2022 · 0 comments
Open

vdc --vtk, repeats the first spin multiple times in the vtu output #88

mahdawi opened this issue Nov 21, 2022 · 0 comments

Comments

@mahdawi
Copy link

mahdawi commented Nov 21, 2022

vdc --vtk copies the first spin "num_atoms" times, then it starts adding the remaining spins.
It seems the issue is from "vdc::atoms_list".
Replacing it by "sliced_atoms_list" on lines 69, 72 solves the issue.

- for(size_t i=0; i < vdc::atoms_list.size(); i++){
+ for(size_t i=0; i < vdc::sliced_atoms_list.size(); i++){
- unsigned int atom = vdc::atoms_list[i];
+ unsigned int atom = vdc::sliced_atoms_list[i];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant