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

View source: R/lattice_S3.R

bravaisR Documentation

Constructor for an S3 object of class "bravais"

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

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

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


cry documentation built on Oct. 10, 2022, 9:06 a.m.