create_unit_cell.default: Default method for generic "create_unit_cell"

Description Usage Arguments Value See Also Examples

View source: R/cell_S3.R

Description

This method is an alternative call to "unit_cell" .

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Default S3 method:
create_unit_cell(
  a = NULL,
  b = NULL,
  c = NULL,
  aa = NULL,
  bb = NULL,
  cc = NULL,
  ...
)

Arguments

a

A real number. One of the unit cell's side lengths, in angstroms.

b

A real number. One of the unit cell's side lengths, in angstroms.

c

A real number. One of the unit cell's side lengths, in angstroms.

aa

A real number. One of the unit cell's angles, in degrees.

bb

A real number. One of the unit cell's angles, in degrees.

cc

A real number. One of the unit cell's angles, in degrees.

...

Additional arguments passed to the create_unit_cell methods

Value

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

See Also

unit_cell

Examples

1
2
3
# Create a cubic cell with side 50
uc <- create_unit_cell(50)
print(uc)

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