Change Log#
Nov-7-2026: Version 0.20.0#
phonopy 4.10.0 or later and phono3py 4.10.0 or later are required.
get_shortest_g_pointsofphelel.base.fourier_seriescallsrelocate_BZ_grid_addressof phonopy. The selected g-points are the same as before, but the g-points with the same source can come in a different order.The force constants computed by finite differences are symmetrized by the symfc projector, as
phonopy.loaddoes. With magnetic moments, the operations of the magnetic space group are used, and their time reversal is not applied. Withis_symmetry=False, only the translational and permutation symmetries are imposed. Before, the force constants were not symmetrized. Thereforeforce_constantsinphelel_params.hdf5differ from those written by earlier versions. With-v,velph phelel differentiateprints the drift of the force constants after the symmetrization and the log of symfc.--no-fc-symmetryofphelelandvelph phelel differentiate,FC_SYMMETRYin the configuration file ofphelel, andsymmetrize_fcofPhelelandphelel.load()are added. They turn off the symmetrization of the force constants above. See --no-fc-symmetry.
Nov-4-2026: Version 0.19.0#
phonors 0.8.0 or later and earlier than 0.9 is required.
With spin, the check that the symmetry operations leave the PAW strengths Dij of the perfect supercell unchanged is faster. Dij is rotated once for each pair of rotation and time reversal, instead of once for each symmetry operation. The results are unchanged.
The finite-difference derivative of the local potential is faster. The element-wise steps, which ran on one core, run in parallel in phonors. The results differ from before by rounding errors only.
With
--dv-evaluation-method shortest(the default), the derivative of the local potential is faster, in particular when the FFT mesh of the supercell has the symmetry of the supercell. The results differ from before by rounding errors only.LocalPotentialInterpolationNUFFTofphelel.base.local_potentialis renamedDLocalPotentialFit, afterDDijQijFit. NUFFT is no longer used by default.In
phelel.base.fourier_series, the parameterrepresentativesofFourierSeriesOnGridis renamedg_point_selection, andget_shortest_representativesis renamedget_shortest_g_points, which returns(g, source_offsets)instead of(g, source, weight).rotationandtranslationofFourierSeriesOnGrid.evaluateandFourierSeriesOnGrid.get_phihave no default. For the function itself, give the identity and zero.
Nov-2-2026: Version 0.18.1#
Maintenance release
Nov-2-2026: Version 0.18.0#
--dv-evaluation-methodofphelelandvelph phelel differentiate,DV_EVALUATION_METHODin the configuration file ofphelel, anddv_evaluation_methodofPhelelandphelel.load()are added. They choose how the change of the local potential is computed at the points of--fft-mesh, which are in general not on the FFT mesh of the supercell. The choices areshortest(the default),boxandfinufft. They differ in the reciprocal lattice vectors at which the Fourier coefficients are placed, andshortestandboxcompute the values without the approximation of finufft.shortestkeeps the symmetry of the crystal and the reality of the potential between the points of the FFT mesh of the supercell.boxgives the values that finufft computes, without the error of finufft. See --dv-evaluation-method.The default is
shortest. Before, finufft was always used. When the points given by--fft-meshare not on the FFT mesh of the supercell, dV/du differs from that of the earlier versions: it has no imaginary part, whichfinufftgives. To get dV/du of the earlier versions, use--dv-evaluation-method finufft, or--dv-evaluation-method box, which differs from it only by the error of finufft.finufft is no longer a dependency of phelel. It is needed only with
--dv-evaluation-method finufft. Install it byconda install -c conda-forge finufftorpip install finufft.phonors 0.7.0 or later is required.
shortestchooses the shortest reciprocal lattice vectors withbz_grid_addressesof phonors, which is parallelized: for an FFT mesh of 300x300x300 points of the supercell, the choice takes 0.25 s on 18 cores instead of 30 s.shortestandboxadd up the Fourier coefficients withbin_supercell_fourier_coefficientsof phonors and compute the inverse FFTs with scipy.fft, both in parallel.
Oct-26-2026: Version 0.17.0#
phonopy 4.8.6 or later is required, for the magnetic moments in the form
n*valueand for the GR-grid with zero magnetic moments. phonors 0.6.0 or later is required. phonopy 4.8.6 already depends on it, and phelel uses itssnf3x3directly.Bug fix: time reversal in the symmetry operations was not applied to dV/du and dDij/du of collinear and non-collinear magnetic calculations with magnetic moments in
phelel_disp.yaml. Without magnetic moments, the results are unchanged. (#288)phelel-init --magmomis added. The magnetic moments are given as one value per atom (collinear) or three values per atom (non-collinear), and they are stored inphelel_disp.yaml. The formn*valueof the MAGMOM tag of VASP can be used, such as"4*1 4*-1". See phelel-init and phelel commands.phelel --cdreadsLOCAL-POTENTIAL.bin,PAW-STRENGTH.bin,PAW-OVERLAP.binandinwap.yaml, which VASP writes withLWAP = .TRUE., in place ofvaspout.h5when every directory hasLOCAL-POTENTIAL.bin. Before,vaspout.h5was read when every directory had it.LWAP = .TRUE.is for collinear and non-collinear magnetic calculations by VASP 6.6.1 or older, whose local potential invaspout.h5gives wrong derivatives. Otherwise,vaspout.h5is recommended.velph initwriteslwap = truein[vasp.phelel.incar]when its tags haveispin = 2,lnoncollinear = trueorlsorbit = true, and nolwap.Phelel.atom_indices_in_derivativesis removed. UsePhelel.primitive.p2s_map.
Oct-23-2026: Version 0.16.0#
phonopy 4.8.4 or later is required.
The
phelel-initcommand is added, asphonopy-initin phonopy. Supercells with displacements are generated byphelel-init -din place ofphelel -d.phelelstops with an error when it is given-d,-c,--dim,--dim-phonon,--amplitude,--pmor--nodiag, and the error tells to usephelel-init. See phelel-init and phelel commands.phelel --cdneeds--fft-mesh. Before, without--fft-mesh,phelel --cdwrote nothing.phelelreads the crystal structure and the displacements fromphelel_disp.yaml, or from thephelel_disp.yaml-like file given as its argument. A crystal structure in a POSCAR-like file given by-cis no longer read.phelel-loadis deprecated. Usephelel, which works asphelel-loaddid.phelelreads a configuration file given by--config, asphonopy --configin phonopy. Before,--configofphelel-loaddid nothing.DIMandDIM_PHONONin the file do not replace the supercell matrices inphelel_disp.yaml.The options
--qpointsand--read-qpoints, which did nothing, are removed.With
--dim-phononand without--amplitude, the phonon supercells are displaced by the same default distance as the supercells, 0.03 Angstrom for VASP. Before, they were displaced by 0.01 Angstrom.velph initshows the number of atoms and the matrix of the supercell of each code, andvelph phelel initshows the number of displacements. velph.toml is written without blank lines inside an input set or a cell, and without -0.0.
Oct-21-2026: Version 0.15.0#
velph is redesigned, and the format of
velph.tomland of thevelph inittemplate changes. See Changes in velph 0.15 for the changes from velph 0.14.velph convertwrites avelph.tomlof velph 0.14 in the format of velph 0.15.The job script
_job.shis written differently from velph 0.14. velph writes it fromscheduler_templateonly, andscheduler_nameinvelph.tomlor in thevelph inittemplate is an error.velph initwrites[scheduler]only when its template has[scheduler], and without it no_job.shis written. See Job scripts of scheduler_name for thescheduler_templatethat gives the job script of velph 0.14.An INCAR tag set to an empty table
{}in thevelph inittemplate stopsvelph initwith an error. To keep a tag of[vasp.incar]out of an input set, list the tag inincar_unsetof that input set.The DOS calculation has its own input set
el_dos, written byvelph el_dos generate. Before, it wasel_bands/dosofvelph el_bands generate.velph el_dos plotplots the electronic DOS ofel_dos/vaspout.h5.The calculations of the phonon supercell of phelel are read from
phonopy/disp-*, in place ofphelel/ph-disp-*.velph phelel generate,velph phonopy generateandvelph phono3py generateread only<code>/<code>_disp.yaml. Before, they also read files in the current directory, such asBORN,FORCE_SETS,fc3.hdf5andphelel_params.hdf5, and stopped with an error when such a file could not be read.velph phelel phonopyreadsvaspout.h5as well asvasprun.xml.tomli is no longer required. TOML files are read by
tomllibof the Python standard library.
Oct-9-2026: Version 0.14.0#
Python 3.10 is no longer supported. Python 3.11 or later is required.
phonopy 4.8.2 or later and phono3py 4.8.0 or later are required.
Major refactoring of velph.
velph computes a k-point mesh from
kspacingby rounding up, as VASPKSPACINGdoes, so the mesh can be larger than before.velph initwritesamplitude = 0.01in[phonopy]instead of 0.03 by default.
May-13-2026: Version 0.13.3#
Fix import errors.
May-13-2026: Version 0.13.2#
Update following the change of phonopy and phono3py.
Mar-8-2026: Version 0.13.1#
Rename
cmd_root.pytovelph_cmd_root.pyfor safer module import when calling velph command.
Mar-6-2026: Version 0.13.0#
Maintenance release
Feb-16-2026: Version 0.12.0#
Maintenance release
Oct-24-2025: Version 0.11.0#
Default INCAR tags are removed by setting empty table {} in velph template toml.
Use generalized regular grid when k-point grid symmetry is broken.
Jun-27-2025: Version 0.10.0#
Update following the change of phonopy.
May-1-2025: Version 0.9.1#
Update following the change of phonopy.
Mar-23-2025: Version 0.9.0#
Numpy arraies of
dtype='long'were changed to those ofdtype='int64'.Collection of updates in velph commands.
Mar-1-2025: Version 0.8.3#
--saveoption was implemented forvelph-el_bands-plotandvelph-ph_bands-plot. Without this option, the plot is shown on display.
Jan-10-2025: Version 0.8.2#
Collection of small updates of velph command
Jan-8-2025: Version 0.8.1#
Fix minor bugs in velph command
Jan-5-2025: Version 0.8.0#
Refactoring of
PhelelclassMajor update of documentation
Dec-31-2024: Version 0.7.0#
Maintenance release to follow the change of phonopy.
elph_selfen_band_stopis estimated from el-DOS instead ofelph_nbandsfor transport mode in velph.
Dec-9-2024: Version 0.6.6#
Collection of minor updates of velph command.