create_unit_cell: S3 generic to create unit_cell objects

Description Usage Arguments Value Examples

View source: R/cry_generics_S3.R

Description

The unit_cell object can be created starting from specific objects, files, etc.

Usage

1

Arguments

a

An object or objects used to select a method. These can be cell parameters, an object of class rec_unit_cell, etc.

...

Further arguments passed to or from other methods.

Value

An object of class "unit_cell". It is a named list of length 6 whose last three slots are of class "angle".

Examples

1
2
3
# Create a unit_cell in default (no arguments)
uc <- create_unit_cell()
print(uc)

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