vasp.import: Import of an CHGCAR or CHG file.

Usage Arguments Details Value Author(s) See Also

Usage

1

Arguments

path

Character vector containing the path to the CHGCAR file. (As for now you MUST to include in the name of the file at the end of 'path' and it MUST contain the letters 'CHG' if the format is according to the CHG file produced by VASP or 'CHGCAR' if according to the CHGCAR file)

Details

The CHGCAR file got a very odd format which has to be reformatted to ensure the its compatibility with R. In it the number of grid points of the axes are given in the 12th row of the file. In the actual charge density following from the 13th row onward the x coordinate is the fastest and the z the slowest varying index. If you want to assign a scale to your results, keep in mind that the charge density is divided by the volume of the unit cell. The individual lattice vectors in the CHGCAR file are given in different rows and their x, y and z are provided in the different columns.

Value

List of three named data.frames:

Author(s)

Philipp Mueller

See Also

Other vasp: vasp.bonds, vasp.diff, vasp.reproduce, vasp.rotate.cell


theGreatWhiteShark/vasp2R documentation built on May 31, 2019, 9:10 a.m.