
Validity and compatibility of a cry object of class 'bravais'
check_bravais_validity.Rd
An object of class 'bravais' 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
# Create an object of class 'bravais'
x <- bravais("mP")
# Check its validity
check_bravais_validity(x,TRUE)
#> [1] TRUE