Skip to contents

This method is an alternative call to "rec_unit_cell" .

Usage

# S3 method for default
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

Examples

# Create a reciprocal cubic cell with side 1/50
ruc <- create_rec_unit_cell(1/50)
print(ruc)
#> This is an object of class 'rec_unit_cell'
#> Its sides are:
#>        0.020 ,      0.020 ,      0.020    1/angstroms.
#> Its angles are:
#>       90.000 ,     90.000 ,     90.000    degrees.