Skip to content

Commit ceb235b

Browse files
authored
Merge branch 'brucefan1983:master' into master
2 parents ad923ea + 329a982 commit ceb235b

File tree

305 files changed

+25875
-1817544
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

305 files changed

+25875
-1817544
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ This software is distributed under the GNU General Public License (GPL) version
2424
* When the compilation finishes, two executables, `gpumd` and `nep`, will be generated in the `src` directory.
2525

2626
## Run GPUMD
27-
* Go to the directory of an example and type one of the following commands:
27+
* Go to the directory of an example in the [examples directory](examples) and type one of the following commands:
2828
* `path/to/gpumd`
2929
* `path/to/nep`
3030

31-
## Colab tutorial
31+
## Tutorials
3232
* We provide a [Colab Tutorial](https://colab.research.google.com/drive/1QnXAveZgzwut4Mvldsw-r2I0EWIsj1KA?usp=sharing) to show the workflow of the construction of a NEP model and its application in large-scale atomistic simulations for PbTe system. This will run entirely on Google's cloud virtual machine.
33-
* You can also check other offline tutorials in the examples.
33+
* We also provide many tutorials and examples in the [GPUMD-Tutorials repository](https://github.com/brucefan1983/GPUMD-Tutorials).
3434

3535
## Manual
3636
* For users and developers:

doc/gpumd/input_parameters/compute_dos.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,3 @@ This means that you
6363
Caveats
6464
-------
6565
This keyword cannot be used in the same run as the :ref:`compute_sdc keyword <kw_compute_sdc>`.
66-
67-
68-
Related tutorial
69-
----------------
70-
The use of this keyword is illustrated in the :ref:`tutorial on the density of states <tutorials>`.

doc/gpumd/input_parameters/compute_hac.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,3 @@ Example 2
4949
5050
This is similar to the above example but with one expection:
5151
The :term:`HAC`/:term:`RTC` data will be averaged for every 10 data before outputing, generating :math:`10^4` rows of data in the output file.
52-
53-
Related tutorial
54-
----------------
55-
56-
The use of the :attr:`compute_hac` keyword is illustrated in the tutorial on :ref:`thermal transport from EMD simulations <tutorials>`.

doc/gpumd/input_parameters/compute_hnemd.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,3 @@ Example 2
5757
compute_hnemd 1000 0 0.00001 0
5858
5959
This is similar to the above example, but the external driving force is applied along the :math:`y` direction.
60-
61-
Related tutorial
62-
----------------
63-
64-
The use of the :attr:`compute_hnemd` keyword is illustrated in :ref:`the tutorial on calculating the thermal conductivity via HNEMD simulations <tutorials>`.

doc/gpumd/input_parameters/compute_shc.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,3 @@ Caveats
9797
This computation can be memory consuming.
9898

9999
If you want to use the in-out decomposition for 2D materials, you need to make the basal plane in the :math:`xy` directions.
100-
101-
102-
Related tutorial
103-
----------------
104-
105-
The use of this keyword is illustrated in the tutorial on the :ref:`thermal transport from NEMD and HNEMD simulations <tutorials>`.

doc/gpumd/input_parameters/deform.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This keyword is used to deform the simulation box, which can be used to do tensi
1010
Syntax
1111
------
1212

13-
The :attr:`deform` keyord requires 4 parameters::
13+
The :attr:`deform` keyword requires 4 parameters::
1414

1515
deform <A_per_step> <deform_x> <deform_y> <deform_z>
1616

doc/gpumd/input_parameters/fix.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ The full command reads::
1616

1717
Here, the :attr:`group_label` refers to the grouping method 0 defined in the :ref:`simulation model file <model_xyz>`.
1818

19-
Example
20-
-------
21-
The use of this keyword is illustrated in the :ref:`tutorial on thermal transport from NEMD and HNEMD simulations <tutorials>`.
22-
2319
Caveats
2420
-------
2521
This keyword is not propagating, which means that it only affects the simulation within the run it belongs to.

doc/gpumd/input_parameters/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Below you can find a listing of keywords for the ``run.in`` input file.
1919
dftd3
2020
change_box
2121
deform
22+
move
2223
ensemble
2324
ensemble_standard
2425
ensemble_mttk
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
.. _kw_move:
2+
.. index::
3+
single: move (keyword in run.in)
4+
5+
:attr:`move`
6+
============
7+
8+
This keyword is used to move part of the system with a constant velocity.
9+
10+
Syntax
11+
------
12+
13+
The :attr:`move` keyword requires 4 parameters::
14+
15+
move <moving_group_id> <velocity_x> <velocity_y> <velocity_z>
16+
17+
Here, :attr:`moving_group_id` specifies the group id for the moving part, which should be defined in the grouping method 0.
18+
The next three parameters specify the moving velocity vector, in units of Ångstrom/fs.
19+
20+
21+
Example
22+
-------
23+
24+
One can first equilibrate the system and then move one group of atoms and at the same time fix another group of atoms::
25+
26+
# equilibration stage
27+
ensemble npt_scr 300 300 100 0 0 0 100 100 100 1000
28+
run 1000000
29+
30+
# production stage
31+
ensemble nvt_scr 300 300 100
32+
fix 0 # fix atoms in group 0
33+
move 1 0.001 0 0 # move atoms in group 1, with a speed of 0.001 Ångstrom/fs in the x direction
34+
run 1000000
35+
36+
Caveats
37+
-------
38+
* One cannot use NPT when using this keyword.
39+
* Currently, the moving group must be defined in the grouping method 0. This might be extended in a future version.

doc/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ In addition to :ref:`several empirical interatomic potentials <potentials>`, it
1414
installation
1515
theory/index
1616
potentials/index
17-
tutorials/index
1817

1918
.. toctree::
2019
:maxdepth: 2

0 commit comments

Comments
 (0)