FCC Cluster

Version (1.75 KB) by Dmitry
The function for generation of coordinates of sites inside fcc (face-centered-cubic) cluster
Updated 11 Feb 2011

View License

%function [Xcoord,Ycoord,Zcoord] = fcc_cluster(L,M,a)
%generates coordinates of atoms inside fcc-cluster (face-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). FCC Cluster (https://www.mathworks.com/matlabcentral/fileexchange/30371-fcc-cluster), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Condensed Matter & Materials Physics in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes