create_unit_cell.default: Default method for generic "create_unit_cell"
Description
This method is an alternative call to "unit_cell"
.
Usage
# S3 method for default
create_unit_cell(
a = NULL,
b = NULL,
c = NULL,
aa = NULL,
bb = NULL,
cc = NULL,
...
)
Value
An object of class "unit_cell". It is a named list of length 6 whose
last three slots are of "angle" class.
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
Examples
Run this code# Create a cubic cell with side 50
uc <- create_unit_cell(50)
print(uc)
Run the code above in your browser using DataLab