CP2K wrap atoms back to the home unit cell in VMD

(c) Ravindra Shinde

The following set of commands in the VMD console will wrap back the atoms in the neighboring unit cells back to the home unit cell.

a, b, and c are the lattice constants in x,y and z directions.

pbc set {a b c} -all
pbc box
pbc wrap -all
Ravindra Shinde
Ravindra Shinde
Research Scientist

I am a theoretical and computational condensed matter physicist and quantum chemist. I am currently working as a researcher at the University of Twente, the Netherlands. I am also the founder of The Science Dev.



Next
Previous