create_rec_unit_cell.unit_cell: Reciprocal unit cell starting from a unit cell

View source: R/cell_S3.R

create_rec_unit_cell.unit_cellR Documentation

Reciprocal unit cell starting from a unit cell

Description

Method to create an object of class "rec_unit_cell" starting from an object of class "unit_cell".

Usage

## S3 method for class 'unit_cell'
create_rec_unit_cell(ar, ...)

Arguments

ar

An object of class "unit_cell".

...

Additional arguments passed to the create_rec_unit_cell methods

Value

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

Examples

# Create a "rec_unit_cell" object starting from a cubic cell object
uc <- unit_cell()
print(uc)
ruc <- create_rec_unit_cell(uc)
print(ruc)


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