| lattice | R Documentation |
lattice creates a spatial region filled with lattice points of the
specified type. Currently, only simple cubic ("sc"), body-centered cubic
("bcc"), and face-centered cubic ("fcc") are implemented.
lattice(domain = box3(), a = 1, lattice = "sc")
domain |
A |
a |
Numeric. The lattice parameter of the lattice. For cubic lattices
(i.e. |
lattice |
character. The lattice to generate (one of |
For a hexagonal close packed (hcp) lattice, there are two dimensions that are defined: the side of the hexagon, a, and the height of the hexagonal prism, c. For a perfect hcp crystal, the ratio of these two dimensions is exactly c/a = √{8/3}.
A pp3 with points at the lattice positions
hcp.gen, pp3
Other simulation functions:
clustersim(),
makecluster(),
morph_lamellar(),
morph_rods(),
nmers(),
read.rcp(),
scaleRCP(),
stitch.size()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.