create_unit_cell.default {cry}R Documentation

Default method for generic "create_unit_cell"

Description

This method is an alternative call to "unit_cell" .

Usage

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

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


[Package cry version 0.5.1 Index]