Skip to content

Commit

Permalink
added small description of folder with lammps example; added jupyter …
Browse files Browse the repository at this point in the history
…notebook with inputs format example also in docs
  • Loading branch information
rikigigi committed Jun 28, 2022
1 parent 014ccc3 commit da390b6
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/source/LAMMPS_SILICA.md
1 change: 1 addition & 0 deletions docs/source/example_input_formats.ipynb
6 changes: 6 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ These examples show how to use the sportran package in a Python script, step by
.. toctree::
example_cepstrum_singlecomp_silica
example_cepstrum_doublecomp_NaCl
example_input_formats

Command line examples
---------------------
Expand All @@ -36,6 +37,11 @@ You can find the examples in the `repository <https://github.com/sissaschool/spo
EXAMPLE_SILICA.md
EXAMPLE_NACL.md

LAMMPS input files for energy current generation
------------------------------------------------

.. toctree::
LAMMPS_SILICA.md

API
===
Expand Down
2 changes: 1 addition & 1 deletion examples/03_cmdline_example_silica/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Command line example (silica)
# Example 3: command line (silica)

In this example we perform the same analysis that is performed in the correspondent [example notebook](../02_example_cepstrum_doublecomp_NaCl.ipynb), but using the command-line interface.

Expand Down
2 changes: 1 addition & 1 deletion examples/04_cmdline_example_NaCl/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Command line example (NaCl)
# Example 4: command line (NaCl)

In this example we perform the same analysis that is performed in the correspondent [example notebook](../02_example_cepstrum_doublecomp_NaCl.ipynb), but using the command-line interface.

Expand Down
9 changes: 9 additions & 0 deletions examples/data/Silica/lammps/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Example inputs for LAMMPS simulation of glass silica

In the folder [examples/data/Silica/lammps](https://github.com/sissaschool/sportran/tree/develop/examples/data/Silica/lammps) you can find an example input file to generate some data that you can analyze with sportran.
To run it you need a working LAMMPS installation and to run the file with, for example

mpirun -np 12 lmp_mpi -in silica.in -log silica.out

After this it is possible to extract a simple table file by running the script `convert_lammps_log.sh`.
This input generated the data used in the silica examples.

0 comments on commit da390b6

Please sign in to comment.