File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,11 +127,9 @@ class RepFlowArgs:
127127 Whether to use an exponential switch function instead of a polynomial one in the neighbor update.
128128 The exponential switch function ensures neighbor contributions smoothly diminish as the interatomic distance
129129 `r` approaches the cutoff radius `rcut`. Specifically, the function is defined as:
130- s(r) = \\exp(-\\exp(C (r - rcut_smth) / rcut_smth)) for 0 < r \\leq rcut, and s(r) = 0 for r > rcut.
131- Here, `rcut_smth` is an adjustable smoothing factor,
132- while `C` is a tunable parameter controlling the decay rate (default: 20).
133- `rcut_smth` should be chosen carefully according to `rcut`,
134- ensuring s(r) approaches zero smoothly at the cutoff.
130+ s(r) = \\exp(-\\exp(20 * (r - rcut_smth) / rcut_smth)) for 0 < r \\leq rcut, and s(r) = 0 for r > rcut.
131+ Here, `rcut_smth` is an adjustable smoothing factor and `rcut_smth` should be chosen carefully
132+ according to `rcut`, ensuring s(r) approaches zero smoothly at the cutoff.
135133 Typical recommended values are `rcut_smth` = 5.3 for `rcut` = 6.0, and 3.5 for `rcut` = 4.0.
136134 """
137135
Original file line number Diff line number Diff line change @@ -126,11 +126,9 @@ class DescrptBlockRepflows(NativeOP, DescriptorBlock):
126126 Whether to use an exponential switch function instead of a polynomial one in the neighbor update.
127127 The exponential switch function ensures neighbor contributions smoothly diminish as the interatomic distance
128128 `r` approaches the cutoff radius `rcut`. Specifically, the function is defined as:
129- s(r) = \\exp(-\\exp(C (r - rcut_smth) / rcut_smth)) for 0 < r \\leq rcut, and s(r) = 0 for r > rcut.
130- Here, `rcut_smth` is an adjustable smoothing factor,
131- while `C` is a tunable parameter controlling the decay rate (default: 20).
132- `rcut_smth` should be chosen carefully according to `rcut`,
133- ensuring s(r) approaches zero smoothly at the cutoff.
129+ s(r) = \\exp(-\\exp(20 * (r - rcut_smth) / rcut_smth)) for 0 < r \\leq rcut, and s(r) = 0 for r > rcut.
130+ Here, `rcut_smth` is an adjustable smoothing factor and `rcut_smth` should be chosen carefully
131+ according to `rcut`, ensuring s(r) approaches zero smoothly at the cutoff.
134132 Typical recommended values are `rcut_smth` = 5.3 for `rcut` = 6.0, and 3.5 for `rcut` = 4.0.
135133 ntypes : int
136134 Number of element types
Original file line number Diff line number Diff line change @@ -137,11 +137,9 @@ class DescrptBlockRepflows(DescriptorBlock):
137137 Whether to use an exponential switch function instead of a polynomial one in the neighbor update.
138138 The exponential switch function ensures neighbor contributions smoothly diminish as the interatomic distance
139139 `r` approaches the cutoff radius `rcut`. Specifically, the function is defined as:
140- s(r) = \\exp(-\\exp(C (r - rcut_smth) / rcut_smth)) for 0 < r \\leq rcut, and s(r) = 0 for r > rcut.
141- Here, `rcut_smth` is an adjustable smoothing factor,
142- while `C` is a tunable parameter controlling the decay rate (default: 20).
143- `rcut_smth` should be chosen carefully according to `rcut`,
144- ensuring s(r) approaches zero smoothly at the cutoff.
140+ s(r) = \\exp(-\\exp(20 * (r - rcut_smth) / rcut_smth)) for 0 < r \\leq rcut, and s(r) = 0 for r > rcut.
141+ Here, `rcut_smth` is an adjustable smoothing factor and `rcut_smth` should be chosen carefully
142+ according to `rcut`, ensuring s(r) approaches zero smoothly at the cutoff.
145143 Typical recommended values are `rcut_smth` = 5.3 for `rcut` = 6.0, and 3.5 for `rcut` = 4.0.
146144 optim_update : bool, optional
147145 Whether to enable the optimized update method.
Original file line number Diff line number Diff line change @@ -1501,10 +1501,8 @@ def dpa3_repflow_args():
15011501 "Whether to use an exponential switch function instead of a polynomial one in the neighbor update. "
15021502 "The exponential switch function ensures neighbor contributions smoothly diminish as the interatomic distance "
15031503 "`r` approaches the cutoff radius `rcut`. Specifically, the function is defined as: "
1504- "s(r) = \\ exp(-\\ exp(C (r - rcut_smth) / rcut_smth)) for 0 < r \\ leq rcut, and s(r) = 0 for r > rcut. "
1505- "Here, `rcut_smth` is an adjustable smoothing factor, "
1506- "while `C` is a tunable parameter controlling the decay rate (default: 20). "
1507- "`rcut_smth` should be chosen carefully according to `rcut`, "
1504+ "s(r) = \\ exp(-\\ exp(20 * (r - rcut_smth) / rcut_smth)) for 0 < r \\ leq rcut, and s(r) = 0 for r > rcut. "
1505+ "Here, `rcut_smth` is an adjustable smoothing factor and should be chosen carefully according to `rcut`, "
15081506 "ensuring s(r) approaches zero smoothly at the cutoff. "
15091507 "Typical recommended values are `rcut_smth` = 5.3 for `rcut` = 6.0, and 3.5 for `rcut` = 4.0."
15101508 )
You can’t perform that action at this time.
0 commit comments