Skip to content

Commit 574c143

Browse files
Merge pull request #88 from lammpstutorials/restructure
Restructure the folders, simplify the website, prepare for GUI
2 parents ee69c4c + b388992 commit 574c143

File tree

446 files changed

+10025
-10105
lines changed

Some content is hidden

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

446 files changed

+10025
-10105
lines changed

.DESCRIPTION.md

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# LAMMPS tutorials
2+
3+
This is the repository of the [LAMMPS tutorials](https://lammpstutorials.github.io/)
4+
webpage. All the LAMMPS input scripts and data files can be found in a separate
5+
repository named [lammpstutorials-inputs](https://github.com/lammpstutorials/lammpstutorials-inputs).
6+
7+
The tutorials are compatible with the XXXX2024 release of LAMMPS.
8+
9+
## About LAMMPS tutorials
10+
11+
The LAMMPStutorials website is made of seven tutorials that are ordered by increasing difficulty.
12+
[Lennard-Jones fluid](https://lammpstutorials.github.io/sphinx/build/html/tutorials/level1/lennard-jones-fluid.html)
13+
is meant for absolute LAMMPS and molecular dynamics beginners, and the complexity of the simulation is
14+
progressively increased for [Pulling on a carbon nanotube](https://lammpstutorials.github.io/sphinx/build/html/tutorials/level1/breaking-a-carbon-nanotube.html),
15+
[Polymer in water](https://lammpstutorials.github.io/sphinx/build/html/tutorials/level2/polymer-in-water.html),
16+
[Nanosheared electrolyte](https://lammpstutorials.github.io/sphinx/build/html/tutorials/level2/nanosheared-electrolyte.html),
17+
and [Reactive silicon dioxide](https://lammpstutorials.github.io/sphinx/build/html/tutorials/level3/reactive-silicon-dioxide.html).
18+
Finally, [Water adsorption in silica](https://lammpstutorials.github.io/sphinx/build/html/tutorials/level3/water-adsorption-in-silica.html) and
19+
[Free energy calculation](https://lammpstutorials.github.io/sphinx/build/html/tutorials/level3/free-energy-calculation.html) use some more advanced simulation methods that are commonly used when studying soft matter systems, respectively grand canonical Monte Carlo simulations and a free energy method named umbrella sampling.
20+
21+
<p float="left">
22+
<a href="https://lammpstutorials.github.io/sphinx/build/html/tutorials/level1/lennard-jones-fluid.html">
23+
<img src="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials.github.io/2Aug2023/docs/avatars/level1/lennard-jones-fluid/avatar-Lennard-Jones-LAMMPS.png" width="32%" />
24+
</a>
25+
<a href="https://lammpstutorials.github.io/sphinx/build/html/tutorials/level1/breaking-a-carbon-nanotube.html">
26+
<img src="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials.github.io/2Aug2023/docs/avatars/level1/breaking-a-carbon-nanotube/CNT.png" width="32%" />
27+
</a>
28+
<a href="https://lammpstutorials.github.io/sphinx/build/html/tutorials/level3/water-adsorption-in-silica.html">
29+
<img src="https://raw.githubusercontent.com/lammpstutorials/lammpstutorials.github.io/2Aug2023/docs/avatars/level3/water-adsorption-in-silica/water-adsorption.png" width="32%" />
30+
</a>
31+
</p>
32+
33+
## Access the files
34+
35+
You can access all the files by cloning this repository with its submodules:
36+
37+
```
38+
git clone https://github.com/lammpstutorials/lammpstutorials.github.io.git --recurse-submodule
39+
```
40+
41+
Alternatively, you can download the [inputs](https://github.com/lammpstutorials/lammpstutorials-inputs) only:
42+
43+
```
44+
git clone https://github.com/lammpstutorials/lammpstutorials.github.io.git
45+
```
46+
47+
The Matplotlib Pyplot functions for the figures are shared [here](https://github.com/simongravelle/pyplot-perso).
48+
49+
### Template ###
50+
51+
The template from the first page has been adapted from [HTML5 UP](https://html5up.net/).
52+
The other pages use the [Sphinx](https://www.sphinx-doc.org/) generator with the
53+
[furo style](https://github.com/pradyunsg/furo).
54+

.dependencies/.github

Submodule .github added at 3f752d6

.dependencies/lammpstutorials-inputs

Submodule lammpstutorials-inputs added at 5cf1ff4

.dependencies/pyplot-perso

Submodule pyplot-perso added at 0cedb1c

.files.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.dependencies/.github/COMMENT.md
2+
.DESCRIPTION.md
3+
.dependencies/.github/AUTHORS.md
4+
.dependencies/.github/ACKNOWLEDGEMENTS.md

.generateREADME.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
.dependencies/.github/generateREADME.sh

.github/workflows/gh-pages.yml

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
pip install pygments-lammps
3636
pip install sphinx-favicon
3737
pip install sphinxcontrib.bibtex
38+
pip install sphinx-tabs
3839
- name: Build
3940
run: |
4041
cd docs/sphinx/

.gitignore

+1-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111
inputs/freeenergy/BiasedSampling/wham-release-2.0.11
1212
docs/sphinx/build
1313

14-
# force the upload of certain dump files
15-
!docs/inputs/vmd/dump.lammpstrj
16-
!docs/inputs/level1/breaking-a-carbon-nanotube/breakable-bonds/dump.lammpstrj
17-
1814
# latex
1915
ebook/**/*.aux
2016
ebook/**/*.log
@@ -28,3 +24,4 @@ ebook/tutorials/*
2824
ebook/non-tutorials/*
2925

3026
**/untitled.*.ppm
27+
**/untitled.*.ppn

.gitmodules

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
[submodule "docs/lammpstutorials-inputs"]
2-
path = docs/lammpstutorials-inputs
3-
url = git@github.com:lammpstutorials/lammpstutorials-inputs.git
4-
[submodule "docs/sphinx/source/tutorials/figures/pyplot-perso"]
5-
path = docs/sphinx/source/tutorials/figures/pyplot-perso
1+
[submodule ".dependencies/.github"]
2+
path = .dependencies/.github
3+
url = git@github.com:lammpstutorials/.github.git
4+
[submodule ".dependencies/pyplot-perso"]
5+
path = .dependencies/pyplot-perso
66
url = git@github.com:simongravelle/pyplot-perso.git
7+
branch = LAMMPS-livecom
8+
[submodule ".dependencies/lammpstutorials-inputs"]
9+
path = .dependencies/lammpstutorials-inputs
10+
url = git@github.com:lammpstutorials/lammpstutorials-inputs.git
11+
branch = main

0 commit comments

Comments
 (0)