create_rec_unit_cell.default: Default method for generic "create_rec_unit_cell"

Description Usage Arguments Value See Also Examples

View source: R/cell_S3.R

Description

This method is an alternative call to "rec_unit_cell" .

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Default S3 method:
create_rec_unit_cell(
  ar = NULL,
  br = NULL,
  cr = NULL,
  aar = NULL,
  bbr = NULL,
  ccr = NULL,
  ...
)

Arguments

ar

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

br

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

cr

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

aar

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

bbr

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

ccr

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

...

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.

See Also

rec_unit_cell

Examples

1
2
3
# Create a reciprocal cubic cell with side 1/50
ruc <- create_rec_unit_cell(1/50)
print(ruc)

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