Apply Symmetry Operations to Generate a Full Unit Cell
apply_symmetry_operations.RdGenerates all symmetry-equivalent atomic positions within the unit cell.
Usage
apply_symmetry_operations(
atomic_coordinates,
symmetry_operations,
unit_cell_metrics,
tolerance = 1e-04
)See also
Other coordinate processors:
calculate_expansion_factors(),
expand_transformed_coords()
Examples
ac <- data.table::data.table(Label = "A", x_a = 0, y_b = 0, z_c = 0)
ops <- data.table::data.table(x = c("x", "-x"), y = c("y", "-y"), z = c("z", "-z"))
uc <- data.table::data.table(`_cell_length_a` = 10, `_cell_length_b` = 10,
`_cell_length_c` = 10, `_cell_angle_alpha` = 90,
`_cell_angle_beta` = 90, `_cell_angle_gamma` = 90)
apply_symmetry_operations(ac, ops, uc)
#> Label SymOp x_a y_b z_c
#> <char> <int> <num> <num> <num>
#> 1: A_1 1 0 0 0