Skip to content

Commit 356f993

Browse files
author
Han Wang
committed
update readme
1 parent f49e49f commit 356f993

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -397,14 +397,12 @@ where `graph.pb` is the file name of the frozen model. The `pair_coeff` should b
397397
### With long-range interaction
398398
The reciprocal space part of the long-range interaction can be calculated by lammps command `kspace_style`. To use it with DeePMD-kit, one writes
399399
```bash
400-
pair_style hybrid/overlay deepmd graph.pb coul/long 9.0
401-
pair_coeff * * deepmd
402-
pair_coeff * * coul/long
403-
pair_modify pair coul/long compute no
400+
pair_style deepmd graph.pb
401+
pair_coeff
404402
kspace_style pppm 1.0e-5
405403
kspace_modify gewald 0.45
406404
```
407-
In this setting, the direct space part of the long-range interaction is ignored by the `pair_modify` command, because this part is fitted in the DeePMD model. The splitting parameter `gewald` is modified by the `kspace_modify` command.
405+
Please notice that the DeePMD does nothing to the direct space part of the electrostatic interaction, because this part is assumed to be fitted in the DeePMD model (the direct space cut-off is thus the cut-off of the DeePMD model). The splitting parameter `gewald` is modified by the `kspace_modify` command.
408406

409407
## Run path-integral MD with i-PI
410408
The i-PI works in a client-server model. The i-PI provides the server for integrating the replica positions of atoms, while the DeePMD-kit provides a client named `dp_ipi` that computes the interactions (including energy, force and virial). The server and client communicates via the Unix domain socket or the Internet socket. The client can be started by

0 commit comments

Comments
 (0)