5. 命令
本部分描述了 LAMMPS 输入脚本的格式以及其中的命令如何用于定义 LAMMPS 模拟。主要包括以下内容。
5.1. LAMMPS 输入脚本
5.2.输入脚本的解析规则
5.3.输入脚本结构
5.4. 按类别划分的命令
5.5.通用命令
5.6.Fix命令
5.7.compute命令
5.8.Pair_style 势
5.9.Bond_style势
所有 LAMMPS bond_style 命令。有些款式有加速版本。这由括号中的附加字母表示:g = GPU、i = INTEL、k = KOKKOS、o = OPENMP、t = OPT。
none | zero | hybrid | |
bpm/rotational | bpm/spring | class2 (ko) | fene (iko) |
fene/expand (o) | fene/nm | gaussian | gromos (o) |
harmonic (iko) | harmonic/restrain | harmonic/shift (o) | harmonic/shift/cut (o) |
lepton (o) | mesocnt | mm3 | morse (o) |
nonlinear (o) | oxdna/fene | oxdna2/fene | oxrna2/fene |
quartic (o) | special | table (o) |
5.10.Angle_style势
所有 LAMMPS angle_style 命令。有些款式有加速版本。这由括号中的附加字母表示:g = GPU、i = INTEL、k = KOKKOS、o = OPENMP、t = OPT。
none | zero | hybrid | |
amoeba | charmm (iko) | class2 (ko) | class2/p6 |
cosine (ko) | cosine/buck6d | cosine/delta (o) | cosine/periodic (o) |
cosine/shift (o) | cosine/shift/exp (o) | cosine/squared (o) | cross |
dipole (o) | fourier (o) | fourier/simple (o) | gaussian |
harmonic (iko) | lepton (o) | mesocnt | mm3 |
quartic (o) | spica (o) | table (o) |
5.11.Dihedral_style势
所有 LAMMPS dihedral_style 命令。有些款式有加速版本。这由括号中的附加字母表示:g = GPU、i = INTEL、k = KOKKOS、o = OPENMP、t = OPT。
none | zero | hybrid | |
charmm (iko) | charmmfsw (k) | class2 (ko) | cosine/shift/exp (o) |
fourier (io) | harmonic (iko) | helix (o) | lepton (o) |
multi/harmonic (o) | nharmonic (o) | opls (iko) | quadratic (o) |
spherical | table (o) | table/cut |
5.12.Improper_style势
所有 LAMMPS Improper_style令。有些款式有加速版本。这由括号中的附加字母表示:g = GPU、i = INTEL、k = KOKKOS、o = OPENMP、t = OPT。
none | zero | hybrid | |
amoeba | class2 (ko) | cossq (o) | cvff (io) |
distance | distharm | fourier (o) | harmonic (iko) |
inversion/harmonic | ring (o) | sqdistharm | umbrella (o) |