Jump to content

CASTEP

From Wikipedia, the free encyclopedia
CASTEP
Developer(s)CASTEP developers group
Stable release
24.1 / 5 April 2024;7 months ago(2024-04-05)
Repository
Written inFortran2003 with OpenMP and MPI
Operating systemLinux,MacOS,Windows
TypeDensity Functional Theory(simulation)
LicenseAcademic(worldwide) /Commercial
Websitewww.castep.org

CASTEPis a shared-source academic and commercialsoftwarepackage which usesdensity functional theorywith aplane wavebasis setto calculate the electronic properties of crystalline solids, surfaces, molecules, liquids and amorphous materials from first principles. CASTEP permits geometry optimisation and finite temperature molecular dynamics with implicit symmetry and geometry constraints, as well as calculation of a wide variety of derived properties of the electronic configuration. Although CASTEP was originally a serial, Fortran 77-based program, it was completely redesigned and rewritten from 1999 to 2001 using Fortran 95 and MPI for use on parallel computers by researchers at the Universities ofYork,Durham,St. Andrews,CambridgeandRutherford Labs.

History

[edit]

CASTEP was created in the late 1980s and early 1990s in theTCM Groupof theCavendish Laboratoryin Cambridge.[1]It was then an academic code written in Fortran77, and the name was originally derived fromCAmbridgeSerialTotalEnergyPackage. In the mid-1990s it was commercialised by licensing it to Molecular Simulations International (the company was later purchased by Accelrys, in turn purchased by Biovia) in an arrangement through which the University of Cambridge received a share of the royalties, and much of the development remained with the original academic authors. The code was then redesigned and completely rewritten from 1999–2001 to make use of the features of modern Fortran, enable parallelism throughout the code and improve its software sustainability. The name CASTEP was adopted by the new codebase, but without the implied former meaning since the code was now parallel, and capable of computing many quantities besides the total energy. By this point annual sales exceeded £1m.[2]Despite its commercialisation, CASTEP and its source code remained free to UK academics.

In 2019 the free academic licence was extended to world-wide academic use (not just UK academia).[3]Commercial users can purchase CASTEP as part of Biovia'sMaterials Studiopackage.[4]

Theory and approximations

[edit]

Starting from the many-body wave function, an adiabatic approximation is made with respect to the nuclear and electronic coordinates (theBorn–Oppenheimer approximation). The code also makes use ofBloch's Theoremwhich means a wavefunction of a periodic system has a cell-periodic factor and a phase factor. The phase factor is represented by a plane wave. From the usage of Bloch's Theorem, it is ideal to write the wavefunction in plane waves for the cell-periodic factor and the phase factor. From this the basis functions are orthogonal and it is easy to perform aFourier transformfrom real to reciprocal space and vice versa.Fast Fourier transformsare used throughout the CASTEP code, as is theEwald summationmethod for Coulombic energies. Along with plane waves and iterative diagonalization methods (viaconjugate gradientor blocked Davidson algorithms), pseudopotentials are essential to the CASTEP code for reducing the computational expense of the calculation. Pseudopotentials replace the atomic nucleus and the core electrons by an effective numeric potential.

Geometry optimisation

[edit]

CASTEP is capable of optimising the atomic geometry of a system in several different ways. The default isBFGS,whereby an approximation to theHessian matrixis built up over successive electronic minimisation steps and used to find a search direction at each. Damped molecular dynamics is also possible and often quick to converge, sometimes even faster than BFGS, due to wavefunction extrapolation. Damped MD is most often chosen over BFGS, however, due to the possibility for non-linear ion constraints. A further alternative is the FIRE scheme, which takes approximately the same approach as damped MD, but based on slightly different methodology.

See also

[edit]

References

[edit]
  1. ^TCM's web site, history section
  2. ^Evolution of CASTEP"Cambridge Enterprise Annual Review 2009"retrieved 8 August 2016
  3. ^"Academic licence"retrieved 9 October 2021
  4. ^"Getting CASTEP"retrieved 21 May 2024
[edit]