2016-09-27 00:23:53 +08:00
|
|
|
LAMMPS Documentation
|
|
|
|
|
2020-08-25 05:56:17 +08:00
|
|
|
Depending on how you obtained LAMMPS and whether you have built
|
|
|
|
the manual yourself, this directory has a varying number of
|
|
|
|
sub-directories and files. Here is a list with descriptions:
|
|
|
|
|
|
|
|
README this file
|
|
|
|
src content files for LAMMPS documentation
|
|
|
|
html HTML version of the LAMMPS manual (see html/Manual.html)
|
|
|
|
utils utilities and settings for building the documentation
|
|
|
|
Manual.pdf PDF version of entire manual
|
|
|
|
LAMMPS.epub Manual in ePUB format
|
|
|
|
LAMMPS.mobi Manual in MOBI (Kindle) format
|
|
|
|
lammps.1 man page for the lammps command
|
|
|
|
msi2lmp.1 man page for the msi2lmp command
|
|
|
|
doctree temporary data
|
|
|
|
docenv python virtual environment for generating the manual
|
|
|
|
doxygen Doxygen configuration and output
|
|
|
|
.gitignore list of files and folders to be ignored by git
|
|
|
|
doxygen-warn.log logfile with warnings from running doxygen
|
|
|
|
|
|
|
|
and:
|
|
|
|
|
|
|
|
github-development-workflow.md notes on the LAMMPS development workflow
|
|
|
|
include-file-conventions.md notes on LAMMPS' include file conventions
|
|
|
|
documentation_conventions.md notes on writing documentation for LAMMPS
|
|
|
|
|
2021-05-25 02:17:12 +08:00
|
|
|
If you downloaded a LAMMPS tarball from www.lammps.org, then the html
|
2020-08-25 05:56:17 +08:00
|
|
|
folder and the PDF manual should be included. If you downloaded LAMMPS
|
2021-05-25 02:17:12 +08:00
|
|
|
from GitHub then you either need to build them.
|
2016-09-27 00:23:53 +08:00
|
|
|
|
2021-05-25 02:17:12 +08:00
|
|
|
You can build the HTML and PDF files yourself, by typing "make html"
|
2020-08-25 05:56:17 +08:00
|
|
|
or by "make pdf", respectively. This requires various tools and files.
|
|
|
|
Some of them have to be installed (more on that below). For the rest the
|
|
|
|
build process will attempt to download and install into a python virtual
|
|
|
|
environment and local folders.
|
2016-09-22 05:22:57 +08:00
|
|
|
|
|
|
|
----------------
|
|
|
|
|
2020-08-25 05:56:17 +08:00
|
|
|
Installing prerequisites for the documentation build
|
2016-09-22 05:22:57 +08:00
|
|
|
|
2020-08-25 05:56:17 +08:00
|
|
|
To run the HTML documention build toolchain, python 3.x, doxygen, git,
|
|
|
|
and virtualenv have to be installed. Also internet access is initially
|
|
|
|
required to download external files and tools.
|
2016-09-22 05:22:57 +08:00
|
|
|
|
2020-08-25 05:56:17 +08:00
|
|
|
Building the PDF format manual requires in addition a compatible LaTeX
|
|
|
|
installation with support for PDFLaTeX and several add-on LaTeX packages
|
|
|
|
installed. This includes:
|
2019-11-16 03:21:44 +08:00
|
|
|
- amsmath
|
2020-08-25 05:56:17 +08:00
|
|
|
- anysize
|
2019-11-16 03:21:44 +08:00
|
|
|
- babel
|
2020-04-03 09:51:52 +08:00
|
|
|
- capt-of
|
2019-11-16 03:21:44 +08:00
|
|
|
- cmap
|
|
|
|
- fncychap
|
2020-04-03 09:51:52 +08:00
|
|
|
- framed
|
2019-11-16 03:21:44 +08:00
|
|
|
- geometry
|
|
|
|
- hyperref
|
|
|
|
- hypcap
|
2020-04-03 09:51:52 +08:00
|
|
|
- needspace
|
2019-11-16 03:21:44 +08:00
|
|
|
- times
|
2020-04-03 02:31:47 +08:00
|
|
|
- tabulary
|
|
|
|
- upquote
|
2020-04-03 09:51:52 +08:00
|
|
|
- wrapfig
|
2020-09-24 04:11:22 +08:00
|
|
|
Also the latexmk script is required to run PDFLaTeX and related tools.
|
2020-09-20 06:16:52 +08:00
|
|
|
the required number of times to have self-consistent output and include
|
|
|
|
updated bibliography and indices.
|
2016-10-21 04:16:17 +08:00
|
|
|
|
2020-08-25 05:56:17 +08:00
|
|
|
Building the EPUB format requires LaTeX installation with the same packages
|
|
|
|
as for the PDF format plus the 'dvipng' command to convert the embedded math
|
|
|
|
into images. The MOBI format is generated from the EPUB format file by using
|
|
|
|
the tool 'ebook-convert' from the 'calibre' e-book management software
|
|
|
|
(https://calibre-ebook.com).
|
|
|
|
----------------
|
2016-10-21 04:16:17 +08:00
|
|
|
|
2020-08-25 05:56:17 +08:00
|
|
|
More details this can be found in the manual itself. The online
|
2021-05-25 02:17:12 +08:00
|
|
|
version is at: https://docs.lammps.org/Build_manual.html
|