create_rec_unit_cell.bravais {cry} | R Documentation |
Reciprocal unit cell starting from a Bravais symbol
Description
Method to create a "rec_unit_cell" object starting from a "bravais" object. The Bravais symbols indicate the 14 possible Bravais lattices. A few examples are "aP", "oF", etc. The cell parameters assigned are assigned randomly, but are compatible with the Bravais lattice.
Usage
## S3 method for class 'bravais'
create_rec_unit_cell(ar, ...)
Arguments
ar |
An object of class "bravais". |
... |
Additional arguments passed to the create_rec_unit_cell methods |
Value
An object of class "rec_unit_cell". It is a named list of length 6 whose last three slots are of "angle" class.
Examples
# Create a "rec_unit_cell" object from a monoclinic primitive Bravais lattice
# Cell parameters generated automatically.
bt <- bravais("mP")
ruc <- create_rec_unit_cell(bt)
print(ruc)
[Package cry version 0.5.1 Index]