S3 generic to create rec_unit_cell objects
create_rec_unit_cell.Rd
The rec_unit_cell object can be created starting from specific objects, files, etc.
Arguments
- ar
An object or objects used to select a method. These can be reciprocal unit cell parameters, an object of class rec_unit_cell, etc.
- ...
Further arguments passed to or from other 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.
Examples
# Create a rec_unit_cell in default (no arguments)
ruc <- create_rec_unit_cell()
print(ruc)
#> This is an object of class 'rec_unit_cell'
#> Its sides are:
#> 0.100 , 0.100 , 0.100 1/angstroms.
#> Its angles are:
#> 90.000 , 90.000 , 90.000 degrees.