C2x: a tool for visualisation and input preparation for Castep and other electronic structure codes
arXiv:1712.06640 · doi:10.1016/j.cpc.2017.12.008
Abstract
The c2x code fills two distinct roles. Its first role is as a converter between the binary format .check files from the Castep electronic structure code and various visualisation programs. Its second role is to manipulate and analyse the input and output files from a variety of electronic structure codes, including Castep, Onetep and Vasp, as well as the widely-used `Gaussian cube' file format. Analysis includes symmetry analysis, and arbitrary cell transformations. It continues to be under development, with growing functionality, and is written in a form which would make it easy to extend it to working directly with files from other electronic structure codes. Data which c2x is capable of extracting from Castep's binary checkpoint files include charge densities, spin densities, wavefunctions, relaxed atomic positions, forces, the Fermi level, the total energy, and symmetry operations. It can recreate .cell input files from checkpoint files. Volumetric data can be output in formats usable by many common visualisation programs, and c2x will itself calculate integrals, expand data into supercells, and interpolate data via combinations of Fourier and trilinear interpolation. It can extract data along arbitrary lines (such as between atoms) as 1D output. C2x is able to convert between several common formats for describing molecules and crystals, including the .cell format of Castep. It can construct supercells, reduce cells to their primitive form, and add specified k-point meshes. It uses the spglib library to report symmetry information, which it can add to .cell files. C2x is a command-line utility, so is readily included in scripts. It is available under the GPL and can be obtained from http://www.c2x.org.uk. It is believed to be the only open-source code which can read Castep's .check files, so it will have utility in other projects.
13 pages, 4 figures, describes 10,000 line GPLed C code
References in corpus (4)
- Lattice dynamics and electron-phonon coupling calculations using non-diagonal supercells
- Comparing electron-phonon coupling strength in diamond, silicon and silicon carbide: First-principles study
- Density functional theory study of Fe(II) adsorption and oxidation on goethite surfaces
- Giant electron-phonon interactions in molecular crystals and the importance of non-quadratic coupling
Cited by in corpus (19)
- Cation Disorder and Lithium Insertion Mechanism of Wadsley--Roth Crystallographic Shear Phases
- Computing the Self-Consistent Field in Kohn-Sham Density Functional Theory
- First-Principles Study of Localised and Delocalised Electronic States in Crystallographic Shear Phases of Niobium Oxide
- Stacking-engineered ferroelectricity and multiferroic order in van der Waals magnets
- Theory of polar domains in moiré heterostructures
- Stability and superconductivity of lanthanum and yttrium decahydrides
- Flexoelectric radial polarization of single-walled nanotubes from first-principles
- Charged surfaces and slabs in periodic boundary conditions
- Optimization strategies developed on NiO for Heisenberg exchange coupling calculations using projector augmented wave based first-principles DFT+U+J
- Accurate and efficient computation of optical absorption spectra of molecular crystals: the case of the polymorphs of ROY
- High-pressure CaF2 revisited: a new high-temperature phase and the role of phonons in the search for superionic conductivity
- Higher-order topological superconductivity in a topological metal 1T-MoTe
- Navigating the Ti-C-O and Al-C-O ternary systems through theory-driven discovery
- Electron-phonon coupling and mobility modeling in organic semiconductors: method and application to tetracene polymorphs
- Mapping the three-dimensional fermiology of the triangular lattice magnet EuAgSb
- Fermi Surface Topology and Magneto-transport Properties of Superconducting PdBiSe
- Molecules with dipoles in periodic boundary conditions in a tetragonal cell
- Efficiently computing excitations of complex systems: linear-scaling time-dependent embedded mean-field theory in implicit solvent
- Pseudopotential contributions to the quadrupole moment in charged periodic systems