-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add docstring to DescrptSeA
#1017
Conversation
Contains other cleanups.
Codecov Report
@@ Coverage Diff @@
## devel #1017 +/- ##
===========================================
- Coverage 75.02% 64.28% -10.74%
===========================================
Files 86 5 -81
Lines 6923 14 -6909
===========================================
- Hits 5194 9 -5185
+ Misses 1729 5 -1724 Continue to review full report at Codecov.
|
deepmd/descriptor/se_a.py
Outdated
s(r)= | ||
\begin{cases} | ||
\frac{1}{r}, & r<r_s \\ | ||
\frac{1}{r} \{ \frac{1}{2} \cos (\frac{\pi (r - r_s)}{ r_c - r_s} ) +\frac{1}{2} \}, & r_s \leq r<r_c \\ | ||
0, & r \geq r_c | ||
\end{cases} |
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.
We are now using 5-th order polynomial as switcher. It is smooth upto 2nd order derivative. The cosine switcher is only smooth upto the first order derivative.
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.
Oh, I don't know that.
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.
* add docstring to `DescrptSeA` Contains other cleanups. * fix the equation of `s(r)`
Contains other cleanups.