Usage Arguments Details Value Author(s) See Also
1 | vasp.rotate.cell(cell, lattice = NULL, angle = NULL)
|
cell |
A data.frame containing at least two named columns "x" and "y" with Cartesian coordinates or an object of class "vasp". |
lattice |
A data.frame of dimension 3x3 containing the lattice vectors in its rows and their coordinates in its columns. See |
angle |
Specifies the angle with which the cell is going to be rotated. If no value is supplied the angle between the two lattice vectors is determined and the content will be shifted clockwise by half of its value. |
In the current version of this function only a rotation in the x-y plane is possible. If no angle is provided the angle between the two lattice vectors is determined and the content will be shifted clockwise by half of its value. Internally a rotation matrix is applied to all the coordinates in the cell. It is intended to be a generic function working with both the specific content of the cell, like the atom positions, and an object of class "vasp".
Same object like the input "cell" but with modified coordinates.
Philipp Mueller
Other vasp: vasp.bonds
,
vasp.diff
, vasp.import
,
vasp.reproduce
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.