I am a university student and am trying to find a way to calculate the (x,y,z) positions for an arbitrary number coordinates along a face centered cubic lattice, centered around the origin.
I am looking for an equation to calculate the positions (x, y, z) of n number of points that "wraps" around the origin. For example, if I want to plot 12 points, each should be sqrt(2) away from the origin and the corresponding points should be (0,1,1),(1,0,1),(1,1,0), (0,−1,1),(−1,0,1),(−1,1,0), (0,1,−1),(1,0,−1),(1,−1,0), (0,−1,−1),(−1,0,−1),(−1,−1,0), but what if I want to calculate for 100 points? 500 points? I am trying to create an equation that does just that.
I know I need to utilize the properties of a face-centered cubic lattice but am lost on how to approach this problem. I was thinking about using the corresponding Gram Matrix to aid transformations but do not know if this is the correct approach.
Any answers/advice/guidance would be greatly appreciated. Thank you.
For the sake of completeness, I wanted to follow up with the solution to my problem. For clarity, my question was more precisely: "how to translate lattice coordinates to Cartesian coordinates."
I have defined the labeling scheme for a face-centered cubic lattice according to the following picture. Each vertex in the lattice has twelve neighbors and this is how I locally defined the lattice 'directions' from a vertex centered at (0,0,0).
This is my thought process for solving this problem:
Within the same z-plane, (for example, neighbors 0-5 are in the same z-plane) the distance between the neighboring vertices is equal to 1 & any three neighboring particles in the same z-plane form an equilateral triangle with a tetrahedral hole. Between adjacent z-planes, the stack of two sets of three vertices creates an octahedral hole. (https://chem.libretexts.org/Bookshelves/Inorganic_Chemistry/Supplemental_Modules_(Inorganic_Chemistry)/Crystal_Lattices/Solids/Tetrahedral_and_Octahedral_Sites).
From the picture, vertex #6 is located at (0,0,1) but what is the coordinate in Cartesian space? vertex #6 is located directly above the center of the equilateral triangle that is created by vertex located at (0,0,0), vertex #0 and vertex #1. After a few calculations, vertex #6's cartesian coordinate is (.5, -sqrt(3.0)/4.0, Z). The Z-component of the Cartesian coordinate now is the only unknown... Since vertex #6 sits in the middle of an equilateral triangle, the four particles create a tetrahedron and the z-component is the height of that tetrahedron. After some geometric calculations, I have come up with the following equation to translate from lattice to Cartesian coordinates.