
Constructor for an S3 object of class "bravais"
bravais.Rd
There are 14 Bravais lattices. They are represented by a two-letter symbol: aP, mP, mS, oP, oS, oF, oI, tP, tI, hP, hR, cP, cF, cI
Value
An object of class "bravais". It is a named list of length 4. The first slot, "bt", is the universally-used two-letter symbol. The second, third and fourth slots are, respectively, "cr_fam" (the corresponding crystal family), "cr_sys" (the corresponding crystal system) and "lt_sys" (the corresponding lattice system).
Examples
# mS is a monoclinic, face-centred Bravais lattice
bt <- bravais("mS")
class(bt)
#> [1] "bravais"
bt[1:4]
#> $bt
#> [1] "mS"
#>
#> $cr_fam
#> [1] "monoclinic"
#>
#> $cr_sys
#> [1] "monoclinic"
#>
#> $lt_sys
#> [1] "monoclinic"
#>