Wigner-Seitz Cell generation and calculations in MATLAB
收藏资源简介:
This series of MATLAB codes was developed to generate publication-quality Wigner-Seitz cells for a variety of structures. These are frequently desired for self-assembled micellar systems, wherein the geometry of the Wigner-Seitz cell plays a role in the emergence of several packings. The main algorithm (VoronoiTesselation.m) is generalized, allowing specification of lattice positions and parameters or the upload of these values from a .xtl file exported from Vesta. Added is the ability to determine various cell parameters, including the coordination number, area/volume, and the second-moment volume, which is proportional to the stretching moment for polymer chains stretched from the cell center to the cell edges. A simple algorithm for simulation of 2D diffraction patterns is also included (diffraction.m).



