create_rec_unit_cell.default {cry}R Documentation

Default method for generic "create_rec_unit_cell"

Description

This method is an alternative call to "rec_unit_cell" .

Usage

## 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

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


[Package cry version 0.5.1 Index]