FCC Cluster
%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
Platform Compatibility
Windows macOS LinuxCategories
- Sciences > Physics > Condensed Matter & Materials Physics >
- Sciences > Chemistry > Quantum Chemistry >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |