bravais: Constructor for an S3 object of class "bravais"

Description Usage Arguments Value Examples

View source: R/lattice_S3.R

Description

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

Usage

1
bravais(bt = NULL)

Arguments

bt

A two-letter character, denoting the Bravais type.

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

1
2
3
4
# mS is a monoclinic, face-centred Bravais lattice
bt <- bravais("mS")
class(bt)
bt[1:4]

cry documentation built on May 3, 2021, 9:06 a.m.