Learn R Programming

cry (version 0.5.2)

create_rec_unit_cell.default: Default method for generic "create_rec_unit_cell"

Description

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,
  ...
)

Value

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

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

See Also

rec_unit_cell

Examples

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

Run the code above in your browser using DataLab