BCC Cluster
%function [Xcoord,Ycoord,Zcoord] = bcc_cluster(L,M,a)
%generates coordinates of atoms inside bcc-cluster (base-centered-cubic)
%with cuboctatruncated shape (hovewer one can change from {111} to {110} truncation)
%it's arguments: L,M - parameters of cluster (L - size of the cluster,
%number of unit cells along three mutually perpendicular directions
%commensurate with lattice parameter, M - truncation degree, how many planes
%corresponding to the truncation remain in cluster)
%a - lattice parameter
%output parameters: Xcoord, Ycoord, Zcoord - coordinates of atoms
Cite As
Dmitry (2026). BCC Cluster (https://www.mathworks.com/matlabcentral/fileexchange/30372-bcc-cluster), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Sciences > Physics > Condensed Matter & Materials Physics >
- Sciences > Physics > Condensed Matter & Materials Physics > Crystallography >
- Sciences > Chemistry > Quantum Chemistry >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |