Skip to content

Conversation

@macheng9728
Copy link

Finite Temperater Free energy densiy functionals :

Finite Temperature TF,vW and GGA(VT84F and LKT)

Line search method :

line_search_dcsrch in math_units.py
The line search methods line_search_wolfe1 and line_search_wolfe2 may lead to low density and potential non-convergence in some cases.
note : scipy rewrite the dcsrch.f90 in python.

Copy link
Contributor

@shaoxc shaoxc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much! There are only a few small things to improve.

if lsfun == "line_search_dcsrch" :
func0 = fun_value_deriv(0.0, func=func)
NumLineSearch = 1
theta,task,_,valuederiv = line_search_dcsrch(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The NumLineSearch is not returned.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file will be automatically generated, so this is no need to change this file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants