BCC Cluster

Version 1.0.0.0 (1.71 KB) by Dmitry
This function generates the coordinates of sites inside bcc (base-centered-cubic) cluster
865 Downloads
Updated 11 Feb 2011

View License

%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 (2024). BCC Cluster (https://www.mathworks.com/matlabcentral/fileexchange/30372-bcc-cluster), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0