-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
05fe3b4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
Release notes:
Note that this release increases the minor version and contains a number of breaking changes:
SCF solver implementations have changed their API from
ρout = F(ρin)
toρout, info_out = F(ρin, info_in)
. This means that many of DFTK's learning resources (which use this feature to introduce the concepts of basic SCF algorithms) need to be adapted for DFTK 0.7. (Change internal fixed-point API to (x, info) = f(x, info) to simplify SCF metadata tracking #811)The
model_LDA
,model_PBE
andmodel_SCAN
functions are now deprecated and will be removed in a later DFTK version. Usemodel_DFT(system; functionals=LDA(), kwargs...)
or similar (functionals=PBE()
,functionals=SCAN()
) (Drop deprecated features and a round of docs updating #994).The
model_DFT
syntax with an array of functionals in the last argument is deprecated and will be removed in a later DFTK version. Instead ofmodel_DFT(system, [:lda_x]; kwargs...)
usemodel_DFT(system; functionals=[:lda_x], kwargs...)
(Drop deprecated features and a round of docs updating #994)The model constructors in combination with
AtomsBase
systems no longer respect the:pseudopotential
atom keys. To specify the pseudopotentials in combination with theAtomsBase
interface now use thepseudopotentials
keyword argument of the model constructors. E.g. instead of runningsystem = attach_psp(system; Si="hgh/lda/si-q4"); model = model_DFT(system; kwargs...)
usemodel = model_DFT(system; pseudopotentials=Dict(:Si => "hgh/lda/si-q4"))
. Note that the newPseudoPotentialData.PseudoFamily
objects can also be passed as values to thepseudopotentials
keywords, which is often simpler. (Use PseudoPotentialData.jl instead of Artifacts #1020)The
attach_psp
function has been removed due to the above change. Use the newmodel_DFT(system; pseudopotential=Dict(:Si => "hgh/lda/si-q4"), kwargs...)
syntax instead. (Use PseudoPotentialData.jl instead of Artifacts #1020)The
ElementPsp(key; psp)
constructor is deprecated and will be removed in a later DFTK version, use insteadElement(key, psp)
which is now more powerful (psp
can be aPspHgh
,PspUpf
orPseudoPotentialData.PseudoFamily
). (Use PseudoPotentialData.jl instead of Artifacts #1020)The deprecated
kgrid_from_minimal_spacing
function has been removed in favour ofkgrid_from_maximal_spacing
(Drop deprecated features and a round of docs updating #994)The deprecated
ScfDiagtol
function has been removed. UseAdaptiveDiagtol
now (Drop deprecated features and a round of docs updating #994)05fe3b4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/120456
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: