Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Han Wang committed Feb 6, 2024
1 parent c02b22c commit 903923f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deepmd/dpmodel/output_def.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,13 @@ class OutputVariableDef:
r_differentiable
If the variable is differentiated with respect to coordinates
of atoms. Only reduciable variable are differentiable.
Negative derivative w.r.t. coordinates will be calcualted. (e.g. force)
c_differentiable
If the variable is differentiated with respect to the
cell tensor (pbc case). Only reduciable variable
are differentiable.
Virial, the transposed negative gradient with cell tensor times
cell tensor, will be calculated, see eq 40 JCP 159, 054801 (2023).
category : int
The category of the output variable.
"""
Expand Down

0 comments on commit 903923f

Please sign in to comment.