Compare commits
201 Commits
patch_24Ja
...
patch_18Fe
| Author | SHA1 | Date | |
|---|---|---|---|
| ad125bf36a | |||
| fe6f6b3002 | |||
| f9bee338dd | |||
| f69c6196a0 | |||
| c8561ecef0 | |||
| d01b0ed543 | |||
| b30670d405 | |||
| 4a2f05d333 | |||
| 3f5bb96aed | |||
| a508138510 | |||
| b25f781071 | |||
| 0e2604fc80 | |||
| fd8cd6faa5 | |||
| b0de48e47f | |||
| f4b64e8d91 | |||
| 07c5adc57a | |||
| 381ac888c8 | |||
| 9bff431553 | |||
| 0b57549f4c | |||
| c23f164639 | |||
| 2de515c671 | |||
| 74a2fd973b | |||
| c47245c629 | |||
| d7a7c103ca | |||
| 7b32b1e595 | |||
| b1493d651f | |||
| f70e39c366 | |||
| 147d430a6d | |||
| e339e1735d | |||
| 076c28538c | |||
| 9e35b85335 | |||
| 7c62bce7d9 | |||
| 4cacc4701d | |||
| 5d467bcc74 | |||
| 10a76affd4 | |||
| cf67c16fcb | |||
| d024b3d340 | |||
| bfaae6860e | |||
| e4a730d57a | |||
| 6d5c001b61 | |||
| 440f3b9492 | |||
| 3314b4853e | |||
| 002fff95c6 | |||
| ed9c8b4ea0 | |||
| 23b7adc9b2 | |||
| ec3e687b0c | |||
| c8034d19c4 | |||
| e952bcb5ac | |||
| 86ebc8260e | |||
| 712dbe6acc | |||
| 5bb28e9e84 | |||
| 01805cf6ce | |||
| db805bc009 | |||
| 301a662a1d | |||
| f0935feabe | |||
| 966bc626fc | |||
| f95428ee5e | |||
| b71e41dc8a | |||
| 1827ce1d32 | |||
| 73364404a1 | |||
| ecf30b47a0 | |||
| fde2a59b0e | |||
| 5b557ca4c8 | |||
| 8ef3d77724 | |||
| 949f88eb65 | |||
| bbf229e8cc | |||
| 0a10f5567a | |||
| 01a6608fb6 | |||
| 2b6a022309 | |||
| dd91d519e1 | |||
| 5983c2a87d | |||
| 472fe8216f | |||
| b66717d8cb | |||
| a9a2a9fef9 | |||
| f386598c54 | |||
| 1a4e6228a2 | |||
| 21a80e9b50 | |||
| 8fd2ab78f1 | |||
| 97addd2bee | |||
| 947827fe1f | |||
| 0f37e641eb | |||
| 3169ef772b | |||
| cdf2f66c0a | |||
| ce10fd01a8 | |||
| b524db88a3 | |||
| 56ff70de70 | |||
| 39188da85b | |||
| 710929da1d | |||
| 6424883daf | |||
| 82aab36898 | |||
| 2069c7a5fd | |||
| 31c4833707 | |||
| ed628a2de7 | |||
| 82286702cb | |||
| bc3807aa4b | |||
| e4cf0a07a0 | |||
| bb94303e73 | |||
| c732ccc0f8 | |||
| f872d374a0 | |||
| 6369ab230e | |||
| 9fade740fb | |||
| a50563d582 | |||
| 4ea9dea19c | |||
| 292fc77dce | |||
| eb7958d04c | |||
| ef30d0ed7b | |||
| f8e2543c44 | |||
| 1851a9f7d4 | |||
| 0613790b6b | |||
| 0d0c5e2961 | |||
| ccd395fdd8 | |||
| 5962e880d4 | |||
| 426ca97aa6 | |||
| 1e7f09bded | |||
| 60b9627657 | |||
| c855bbb6bf | |||
| 6bd23f4909 | |||
| 668feb22b5 | |||
| 9427fc50a5 | |||
| e9b6824e11 | |||
| a3d10d537c | |||
| 197ba62cd9 | |||
| 5eef3b1828 | |||
| 99cfc9e668 | |||
| 795f2fd894 | |||
| ec381964e4 | |||
| 0302c0ba24 | |||
| c9cc13c2a6 | |||
| 899a654161 | |||
| 23febc7101 | |||
| fa4d9ff0d8 | |||
| daa5efe1fd | |||
| 72d8bea459 | |||
| 958b8d96a9 | |||
| 204fb6f7ed | |||
| ea24ec8d6a | |||
| 95a3abc74e | |||
| 6297c685e8 | |||
| 453d03177d | |||
| 41666be740 | |||
| 489b7eb2a2 | |||
| 4859f3e534 | |||
| f758d0670e | |||
| 9215bce14f | |||
| 1cb9e0d86d | |||
| 4a669bb883 | |||
| 549c8ee734 | |||
| b9d68f93af | |||
| 5c92e5aa01 | |||
| 319df973d9 | |||
| 80168d0d5a | |||
| 214850088b | |||
| 48967a6fd6 | |||
| de78e309cf | |||
| 11bc0601de | |||
| c2e4009106 | |||
| 58d99f5e1f | |||
| 1a5c448ae1 | |||
| 9f08b1c316 | |||
| 8f90dc54bf | |||
| 0d9cd31764 | |||
| b0004bfd57 | |||
| 98868cd66d | |||
| 6d5f495965 | |||
| 0912054fca | |||
| c047de5ad8 | |||
| beb9cf6ead | |||
| 0bc4e8665e | |||
| 3eb53cb1a4 | |||
| 69860a7944 | |||
| d4e27c833c | |||
| f586d7c197 | |||
| 00bbe7c612 | |||
| a296c43d78 | |||
| 16934e4ce4 | |||
| 0d901e8535 | |||
| 6345e6b760 | |||
| a2cf4e98b7 | |||
| a438d2c856 | |||
| 0ef2f3749e | |||
| d156263f54 | |||
| 8053375a72 | |||
| bf85b04aaf | |||
| f9315a7ad9 | |||
| e5e630ee09 | |||
| 89c9c32c30 | |||
| a0002432cf | |||
| e19a98d1d7 | |||
| c82ef3027f | |||
| 5055b2ab7d | |||
| 3477015296 | |||
| 9c9f6933cd | |||
| 7d1a76f6a5 | |||
| 690d93f763 | |||
| fc31bde345 | |||
| 74b761974f | |||
| c3ea0c7928 | |||
| fe940abecf | |||
| 885c0bbd4b | |||
| 0be11eb801 | |||
| a624ed90c1 |
1
.gitignore
vendored
@ -26,6 +26,7 @@ vgcore.*
|
||||
.vagrant
|
||||
\#*#
|
||||
.#*
|
||||
.vscode
|
||||
|
||||
.DS_Store
|
||||
.DS_Store?
|
||||
|
||||
@ -739,7 +739,7 @@ if(PKG_KSPACE)
|
||||
else()
|
||||
message(STATUS "Using double precision FFTs")
|
||||
endif()
|
||||
if(FFT_FFTW_THREADS)
|
||||
if(FFT_FFTW_THREADS OR FFT_MKL_THREADS)
|
||||
message(STATUS "Using threaded FFTs")
|
||||
else()
|
||||
message(STATUS "Using non-threaded FFTs")
|
||||
|
||||
@ -22,7 +22,7 @@ if(PKG_KSPACE)
|
||||
include_directories(${${FFTW}_INCLUDE_DIRS})
|
||||
list(APPEND LAMMPS_LINK_LIBS ${${FFTW}_LIBRARIES})
|
||||
if(FFTW3_OMP_LIBRARY OR FFTW3F_OMP_LIBRARY)
|
||||
option(FFT_FFTW_THREADS "Use threaded FFT library" ON)
|
||||
option(FFT_FFTW_THREADS "Use threaded FFTW library" ON)
|
||||
else()
|
||||
option(FFT_FFTW_THREADS "Use threaded FFT library" OFF)
|
||||
endif()
|
||||
@ -38,6 +38,10 @@ if(PKG_KSPACE)
|
||||
elseif(FFT STREQUAL "MKL")
|
||||
find_package(MKL REQUIRED)
|
||||
add_definitions(-DFFT_MKL)
|
||||
option(FFT_MKL_THREADS "Use threaded MKL FFT" ON)
|
||||
if(FFT_MKL_THREADS)
|
||||
add_definitions(-DFFT_MKL_THREADS)
|
||||
endif()
|
||||
include_directories(${MKL_INCLUDE_DIRS})
|
||||
list(APPEND LAMMPS_LINK_LIBS ${MKL_LIBRARIES})
|
||||
else()
|
||||
|
||||
@ -49,8 +49,8 @@ if(PKG_USER-PLUMED)
|
||||
message(STATUS "PLUMED download requested - we will build our own")
|
||||
include(ExternalProject)
|
||||
ExternalProject_Add(plumed_build
|
||||
URL https://github.com/plumed/plumed2/releases/download/v2.5.3/plumed-src-2.5.3.tgz
|
||||
URL_MD5 de30d6e7c2dcc0973298e24a6da24286
|
||||
URL https://github.com/plumed/plumed2/releases/download/v2.6.0/plumed-src-2.6.0.tgz
|
||||
URL_MD5 204d2edae58d9b10ba3ad460cad64191
|
||||
BUILD_IN_SOURCE 1
|
||||
CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=<INSTALL_DIR>
|
||||
${CONFIGURE_REQUEST_PIC}
|
||||
|
||||
26
doc/Makefile
@ -3,7 +3,6 @@
|
||||
SHELL = /bin/bash
|
||||
BUILDDIR = ${CURDIR}
|
||||
RSTDIR = $(BUILDDIR)/src
|
||||
TXTDIR = $(BUILDDIR)/txt
|
||||
VENV = $(BUILDDIR)/docenv
|
||||
TXT2RST = $(VENV)/bin/txt2rst
|
||||
ANCHORCHECK = $(VENV)/bin/rst_anchor_check
|
||||
@ -28,8 +27,6 @@ HAS_VIRTUALENV = YES
|
||||
endif
|
||||
|
||||
SPHINXEXTRA = -j $(shell $(PYTHON) -c 'import multiprocessing;print(multiprocessing.cpu_count())')
|
||||
SOURCES=$(filter-out $(wildcard $(TXTDIR)/lammps_commands*.txt) $(TXTDIR)/lammps_support.txt $(TXTDIR)/lammps_tutorials.txt,$(wildcard $(TXTDIR)/*.txt))
|
||||
OBJECTS=$(SOURCES:$(TXTDIR)/%.txt=$(RSTDIR)/%.rst)
|
||||
|
||||
.PHONY: help clean-all clean epub mobi rst html pdf venv spelling anchor_check style_check
|
||||
|
||||
@ -61,9 +58,9 @@ clean:
|
||||
clean-spelling:
|
||||
rm -rf spelling
|
||||
|
||||
rst: clean $(OBJECTS) $(ANCHORCHECK)
|
||||
rst: clean $(ANCHORCHECK)
|
||||
|
||||
html: $(OBJECTS) $(ANCHORCHECK)
|
||||
html: $(ANCHORCHECK)
|
||||
@(\
|
||||
. $(VENV)/bin/activate ;\
|
||||
sphinx-build $(SPHINXEXTRA) -b html -c utils/sphinx-config -d $(BUILDDIR)/doctrees $(RSTDIR) html ;\
|
||||
@ -78,15 +75,18 @@ html: $(OBJECTS) $(ANCHORCHECK)
|
||||
@rm -rf html/_sources
|
||||
@rm -rf html/PDF
|
||||
@rm -rf html/USER
|
||||
@rm -rf html/JPG
|
||||
@cp -r src/PDF html/PDF
|
||||
@cp -r src/USER html/USER
|
||||
@mkdir -p html/JPG
|
||||
@cp `grep -A2 '\.\. image::' src/*.rst | grep ':target:' | sed -e 's,.*:target: JPG/,src/JPG/,' | sort | uniq` html/JPG/
|
||||
@rm -rf html/PDF/.[sg]*
|
||||
@rm -rf html/USER/.[sg]*
|
||||
@rm -rf html/USER/*/.[sg]*
|
||||
@rm -rf html/USER/*/*.[sg]*
|
||||
@echo "Build finished. The HTML pages are in doc/html."
|
||||
|
||||
spelling: $(OBJECTS) utils/sphinx-config/false_positives.txt
|
||||
spelling: utils/sphinx-config/false_positives.txt
|
||||
@(\
|
||||
. $(VENV)/bin/activate ;\
|
||||
pip install sphinxcontrib-spelling ;\
|
||||
@ -96,7 +96,7 @@ spelling: $(OBJECTS) utils/sphinx-config/false_positives.txt
|
||||
)
|
||||
@echo "Spell check finished."
|
||||
|
||||
epub: $(OBJECTS)
|
||||
epub:
|
||||
@mkdir -p epub/JPG
|
||||
@rm -f LAMMPS.epub
|
||||
@cp src/JPG/lammps-logo.png epub/
|
||||
@ -115,7 +115,7 @@ mobi: epub
|
||||
@ebook-convert LAMMPS.epub LAMMPS.mobi
|
||||
@echo "Conversion finished. The MOBI manual file is created."
|
||||
|
||||
pdf: $(OBJECTS) $(ANCHORCHECK)
|
||||
pdf: $(ANCHORCHECK)
|
||||
@(\
|
||||
cd src/Developer; \
|
||||
pdflatex developer; \
|
||||
@ -167,7 +167,7 @@ fetch:
|
||||
anchor_check : $(ANCHORCHECK)
|
||||
@(\
|
||||
. $(VENV)/bin/activate ;\
|
||||
rst_anchor_check src/*.txt ;\
|
||||
rst_anchor_check src/*.rst ;\
|
||||
deactivate ;\
|
||||
)
|
||||
|
||||
@ -180,14 +180,6 @@ style_check :
|
||||
|
||||
# ------------------------------------------
|
||||
|
||||
$(RSTDIR)/%.rst : $(TXTDIR)/%.txt $(TXT2RST)
|
||||
@(\
|
||||
mkdir -p $(RSTDIR) ; \
|
||||
. $(VENV)/bin/activate ;\
|
||||
txt2rst -v $< > $@ ;\
|
||||
deactivate ;\
|
||||
)
|
||||
|
||||
$(VENV):
|
||||
@if [ "$(HAS_PYTHON3)" == "NO" ] ; then echo "Python3 was not found! Please check README.md for further instructions" 1>&2; exit 1; fi
|
||||
@if [ "$(HAS_VIRTUALENV)" == "NO" ] ; then echo "virtualenv was not found! Please check README.md for further instructions" 1>&2; exit 1; fi
|
||||
|
||||
11
doc/lammps.1
@ -1,4 +1,4 @@
|
||||
.TH LAMMPS "24 January 2020" "2020-01-24"
|
||||
.TH LAMMPS "18 February 2020" "2020-02-18"
|
||||
.SH NAME
|
||||
.B LAMMPS
|
||||
\- Molecular Dynamics Simulator.
|
||||
@ -11,13 +11,18 @@ or
|
||||
|
||||
mpirun \-np 2
|
||||
.B lmp
|
||||
<input file> [OPTIONS] ...
|
||||
\-in <input file> [OPTIONS] ...
|
||||
|
||||
or
|
||||
|
||||
.B lmp
|
||||
\-r2data file.restart file.data
|
||||
|
||||
or
|
||||
|
||||
.B lmp
|
||||
\-h
|
||||
|
||||
.SH DESCRIPTION
|
||||
.B LAMMPS
|
||||
is a classical molecular dynamics code, and an acronym for \fBL\fRarge-scale
|
||||
@ -249,7 +254,7 @@ the chapter on errors in the
|
||||
manual gives some additional information about error messages, if possible.
|
||||
|
||||
.SH COPYRIGHT
|
||||
© 2003--2019 Sandia Corporation
|
||||
© 2003--2020 Sandia Corporation
|
||||
|
||||
This package is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License version 2 as
|
||||
|
||||
@ -21,8 +21,3 @@ as described on the :doc:`Install <Install>` doc page.
|
||||
Build_extras
|
||||
Build_windows
|
||||
Build_development
|
||||
|
||||
|
||||
.. _lws: http://lammps.sandia.gov
|
||||
.. _ld: Manual.html
|
||||
.. _lc: Commands_all.html
|
||||
|
||||
@ -430,8 +430,3 @@ you want to copy files to is protected.
|
||||
There is no "install" option in the src/Makefile for LAMMPS. If you
|
||||
wish to do this you will need to first build LAMMPS, then manually
|
||||
copy the desired LAMMPS files to the appropriate system directories.
|
||||
|
||||
|
||||
.. _lws: http://lammps.sandia.gov
|
||||
.. _ld: Manual.html
|
||||
.. _lc: Commands_all.html
|
||||
|
||||
@ -238,8 +238,3 @@ enough version, you can download the latest version at
|
||||
`https://cmake.org/download/ <https://cmake.org/download/>`_.
|
||||
Instructions on how to install it on various platforms can be found
|
||||
`on this page <https://cmake.org/install/>`_.
|
||||
|
||||
|
||||
.. _lws: http://lammps.sandia.gov
|
||||
.. _ld: Manual.html
|
||||
.. _lc: Commands_all.html
|
||||
|
||||
@ -112,9 +112,3 @@ These reports require GCOVR to be installed. The easiest way to do this to insta
|
||||
.. parsed-literal::
|
||||
|
||||
pip install git+https://github.com/gcovr/gcovr.git
|
||||
|
||||
|
||||
|
||||
.. _lws: http://lammps.sandia.gov
|
||||
.. _ld: Manual.html
|
||||
.. _lc: Commands_all.html
|
||||
|
||||
@ -177,7 +177,7 @@ KIM package
|
||||
|
||||
To build with this package, the KIM library with API v2 must be downloaded
|
||||
and built on your system. It must include the KIM models that you want to
|
||||
use with LAMMPS. If you want to use the :doc:`kim\_query <kim_commands>`
|
||||
use with LAMMPS. If you want to use the :doc:`kim_query <kim_commands>`
|
||||
command, you also need to have libcurl installed with the matching
|
||||
development headers and the curl-config tool.
|
||||
|
||||
@ -880,6 +880,9 @@ USER-PLUMED package
|
||||
Before building LAMMPS with this package, you must first build PLUMED.
|
||||
PLUMED can be built as part of the LAMMPS build or installed separately
|
||||
from LAMMPS using the generic `plumed installation instructions <plumedinstall_>`_.
|
||||
The USER-PLUMED package has been tested to work with Plumed versions
|
||||
2.4.x, 2.5.x, and 2.6.x and will error out, when trying to run calculations
|
||||
with a different version of the Plumed kernel.
|
||||
|
||||
|
||||
PLUMED can be linked into MD codes in three different modes: static,
|
||||
@ -1414,8 +1417,3 @@ the settings are not valid for your system, check if one of the other
|
||||
lib/vtk/Makefile.lammps.\* files is compatible and copy it to
|
||||
Makefile.lammps. If none of the provided files work, you will need to
|
||||
edit the Makefile.lammps file. See lib/vtk/README for details.
|
||||
|
||||
|
||||
.. _lws: http://lammps.sandia.gov
|
||||
.. _ld: Manual.html
|
||||
.. _lc: Commands_all.html
|
||||
|
||||
@ -84,8 +84,3 @@ See the sample codes in examples/COUPLE/simple for examples of C++ and
|
||||
C and Fortran codes that invoke LAMMPS through its library interface.
|
||||
Other examples in the COUPLE directory use coupling ideas discussed on
|
||||
the :doc:`Howto couple <Howto_couple>` doc page.
|
||||
|
||||
|
||||
.. _lws: http://lammps.sandia.gov
|
||||
.. _ld: Manual.html
|
||||
.. _lc: Commands_all.html
|
||||
|
||||
@ -87,8 +87,3 @@ settings may become outdated:
|
||||
make kokkos_omp # build with the KOKKOS package for OpenMP
|
||||
make kokkos_cuda_mpi # build with the KOKKOS package for GPUs
|
||||
make kokkos_phi # build with the KOKKOS package for KNLs
|
||||
|
||||
|
||||
.. _lws: http://lammps.sandia.gov
|
||||
.. _ld: Manual.html
|
||||
.. _lc: Commands_all.html
|
||||
|
||||
@ -258,8 +258,3 @@ sub-directories with src files.
|
||||
|
||||
Type "make package-diff" to list all differences between pairs of
|
||||
files in both the src dir and a package dir.
|
||||
|
||||
|
||||
.. _lws: http://lammps.sandia.gov
|
||||
.. _ld: Manual.html
|
||||
.. _lc: Commands_all.html
|
||||
|
||||
@ -5,11 +5,11 @@ LAMMPS can be built with several optional settings. Each sub-section
|
||||
explain how to do this for building both with CMake and make.
|
||||
|
||||
| :ref:`C++11 standard compliance test <cxx11>` when building all of LAMMPS
|
||||
| :ref:`FFT library <fft>` for use with the :doc:`kspace\_style pppm <kspace_style>` command
|
||||
| :ref:`FFT library <fft>` for use with the :doc:`kspace_style pppm <kspace_style>` command
|
||||
| :ref:`Size of LAMMPS data types <size>`
|
||||
| :ref:`Read or write compressed files <gzip>`
|
||||
| :ref:`Output of JPG and PNG files <graphics>` via the :doc:`dump image <dump_image>` command
|
||||
| :ref:`Output of movie files <graphics>` via the :doc:`dump\_movie <dump_image>` command
|
||||
| :ref:`Output of movie files <graphics>` via the :doc:`dump_movie <dump_image>` command
|
||||
| :ref:`Memory allocation alignment <align>`
|
||||
| :ref:`Workaround for long long integers <longlong>`
|
||||
| :ref:`Error handling exceptions <exceptions>` when using LAMMPS as a library
|
||||
@ -72,7 +72,7 @@ FFT library
|
||||
---------------------
|
||||
|
||||
When the KSPACE package is included in a LAMMPS build, the
|
||||
:doc:`kspace\_style pppm <kspace_style>` command performs 3d FFTs which
|
||||
:doc:`kspace_style pppm <kspace_style>` command performs 3d FFTs which
|
||||
require use of an FFT library to compute 1d FFTs. The KISS FFT
|
||||
library is included with LAMMPS but other libraries can be faster.
|
||||
LAMMPS can use them if they are available on your system.
|
||||
@ -106,6 +106,7 @@ to assist:
|
||||
-D FFTW3_LIBRARIES=path # path to FFTW3 libraries
|
||||
-D FFT_FFTW_THREADS=on # enable using threaded FFTW3 libraries
|
||||
-D MKL_INCLUDE_DIRS=path # ditto for Intel MKL library
|
||||
-D FFT_MKL_THREADS=on # enable using threaded FFTs with MKL libraries
|
||||
-D MKL_LIBRARIES=path
|
||||
|
||||
**Makefile.machine settings**\ :
|
||||
@ -117,6 +118,7 @@ to assist:
|
||||
# default is KISS if not specified
|
||||
FFT_INC = -DFFT_SINGLE # do not specify for double precision
|
||||
FFT_INC = -DFFT_FFTW_THREADS # enable using threaded FFTW3 libraries
|
||||
FFT_INC = -DFFT_MKL_THREADS # enable using threaded FFTs with MKL libraries
|
||||
FFT_INC = -DFFT_PACK_ARRAY # or -DFFT_PACK_POINTER or -DFFT_PACK_MEMCPY
|
||||
|
||||
# default is FFT\_PACK\_ARRAY if not specified
|
||||
@ -129,12 +131,15 @@ to assist:
|
||||
FFT_LIB = -lfftw3 # FFTW3 double precision
|
||||
FFT_LIB = -lfftw3 -lfftw3_omp # FFTW3 double precision with threads (needs -DFFT_FFTW_THREADS)
|
||||
FFT_LIB = -lfftw3 -lfftw3f # FFTW3 single precision
|
||||
FFT_LIB = -lmkl_intel_lp64 -lmkl_sequential -lmkl_core # MKL with Intel compiler
|
||||
FFT_LIB = -lmkl_gf_lp64 -lmkl_sequential -lmkl_core # MKL with GNU compier
|
||||
FFT_LIB = -lmkl_intel_lp64 -lmkl_sequential -lmkl_core # MKL with Intel compiler, serial interface
|
||||
FFT_LIB = -lmkl_gf_lp64 -lmkl_sequential -lmkl_core # MKL with GNU compier, serial interface
|
||||
FFT_LIB = -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core # MKL with Intel compiler, threaded interface
|
||||
FFT_LIB = -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core # MKL with GNU compiler, threaded interface
|
||||
FFT_LIB = -lmkl_rt # MKL with automatic runtime selection of interface libs
|
||||
|
||||
As with CMake, you do not need to set paths in FFT\_INC or FFT\_PATH, if
|
||||
make can find the FFT header and library files. You must specify
|
||||
FFT\_LIB with the appropriate FFT libraries to include in the link.
|
||||
the compiler can find the FFT header and library files in its default search path.
|
||||
You must specify FFT\_LIB with the appropriate FFT libraries to include in the link.
|
||||
|
||||
**CMake and make info**\ :
|
||||
|
||||
@ -251,7 +256,7 @@ support 8-byte integers. It allows for:
|
||||
|
||||
Atom IDs are not required for atomic systems which do not store bond
|
||||
topology information, though IDs are enabled by default. The
|
||||
:doc:`atom\_modify id no <atom_modify>` command will turn them off. Atom
|
||||
:doc:`atom_modify id no <atom_modify>` command will turn them off. Atom
|
||||
IDs are required for molecular systems with bond topology (bonds,
|
||||
angles, dihedrals, etc). Thus if you model a molecular system with
|
||||
more than 2 billion atoms, you need the "bigbig" setting.
|
||||
@ -357,7 +362,7 @@ Read or write compressed files
|
||||
|
||||
If this option is enabled, large files can be read or written with
|
||||
gzip compression by several LAMMPS commands, including
|
||||
:doc:`read\_data <read_data>`, :doc:`rerun <rerun>`, and :doc:`dump <dump>`.
|
||||
:doc:`read_data <read_data>`, :doc:`rerun <rerun>`, and :doc:`dump <dump>`.
|
||||
|
||||
**CMake variables**\ :
|
||||
|
||||
@ -488,8 +493,3 @@ e.g. to Python.
|
||||
.. parsed-literal::
|
||||
|
||||
LMP_INC = -DLAMMPS_EXCEPTIONS
|
||||
|
||||
|
||||
.. _lws: http://lammps.sandia.gov
|
||||
.. _ld: Manual.html
|
||||
.. _lc: Commands_all.html
|
||||
|
||||
@ -17,9 +17,9 @@ General remarks
|
||||
|
||||
LAMMPS is developed and tested primarily on Linux machines. The vast
|
||||
majority of HPC clusters and supercomputers today runs on Linux as well.
|
||||
Thus portability to other platforms is desired, but not always achieved.
|
||||
While portability to other platforms is desired, it is not always achieved.
|
||||
The LAMMPS developers strongly rely on LAMMPS users giving feedback and
|
||||
providing assistance in resolving portability issues. This particularly
|
||||
providing assistance in resolving portability issues. This is particularly
|
||||
true for compiling LAMMPS on Windows, since this platform has significant
|
||||
differences with some low-level functionality.
|
||||
|
||||
@ -31,18 +31,20 @@ Running Linux on Windows
|
||||
So before trying to build LAMMPS on Windows, please consider if using
|
||||
the pre-compiled Windows binary packages are sufficient for your needs
|
||||
(as an aside, those packages themselves are build on a Linux machine
|
||||
using cross-compilers). If it is necessary for your to compile LAMMPS
|
||||
using cross-compilers). If it is necessary for you to compile LAMMPS
|
||||
on a Windows machine (e.g. because it is your main desktop), please also
|
||||
consider using a virtual machine software and run a Linux virtual machine,
|
||||
or - if have a recently updated Windows 10 installation - consider using
|
||||
the Windows subsystem for Linux, which allows to run a bash shell from
|
||||
Ubuntu and from there on, you can pretty much use that shell like you
|
||||
are running on an Ubuntu Linux machine (e.g. installing software via
|
||||
apt-get). For more details on that, please see :doc:`this tutorial <Howto_bash>`
|
||||
consider using a virtual machine software and compile and run LAMMPS in
|
||||
a Linux virtual machine, or - if you have a recently updated Windows 10
|
||||
installation - consider using the Windows subsystem for Linux. This
|
||||
optional Windows feature allows you to run the bash shell from Ubuntu
|
||||
from within Windows and from there on, you can pretty much use that
|
||||
shell like you are running on an Ubuntu Linux machine (e.g. installing
|
||||
software via apt-get and more). For more details on that, please
|
||||
see :doc:`this tutorial <Howto_bash>`
|
||||
|
||||
.. _gnu:
|
||||
|
||||
Using GNU GCC ported to Windows
|
||||
Using a GNU GCC ported to Windows
|
||||
-----------------------------------------
|
||||
|
||||
One option for compiling LAMMPS on Windows natively, that has been known
|
||||
@ -83,13 +85,13 @@ traditional build system, but CMake has also been successfully tested
|
||||
using the mingw32-cmake and mingw64-cmake wrappers that are bundled
|
||||
with the cross-compiler environment on Fedora machines. A CMake preset
|
||||
selecting all packages compatible with this cross-compilation build
|
||||
is provided. You likely need to disable the GPU package unless you
|
||||
is provided. You will likely need to disable the GPU package unless you
|
||||
download and install the contents of the pre-compiled `OpenCL ICD loader library <https://download.lammps.org/thirdparty/opencl-win-devel.tar.gz>`_
|
||||
into your MinGW64 cross-compiler environment. The cross-compilation
|
||||
currently will only produce non-MPI serial binaries.
|
||||
|
||||
Please keep in mind, though, that this only applies to compiling LAMMPS.
|
||||
Whether the resulting binaries do work correctly is no tested by the
|
||||
Please keep in mind, though, that this only applies to **compiling** LAMMPS.
|
||||
Whether the resulting binaries do work correctly is not tested by the
|
||||
LAMMPS developers. We instead rely on the feedback of the users
|
||||
of these pre-compiled LAMMPS packages for Windows. We will try to resolve
|
||||
issues to the best of our abilities if we become aware of them. However
|
||||
@ -104,8 +106,3 @@ Support for the Visual C++ compilers is currently not available. The
|
||||
CMake build system is capable of creating suitable a Visual Studio
|
||||
style build environment, but the LAMMPS code itself is not fully ported
|
||||
to support Visual C++. Volunteers to take on this task are welcome.
|
||||
|
||||
|
||||
.. _lws: http://lammps.sandia.gov
|
||||
.. _ld: Manual.html
|
||||
.. _lc: Commands_all.html
|
||||
|
||||
@ -136,4 +136,3 @@ An alphabetic list of all general LAMMPS commands.
|
||||
* :doc:`write_data <write_data>`
|
||||
* :doc:`write_dump <write_dump>`
|
||||
* :doc:`write_restart <write_restart>`
|
||||
|
||||
|
||||
@ -131,7 +131,7 @@ OPT.
|
||||
Improper_style potentials
|
||||
=========================
|
||||
|
||||
All LAMMPS :doc:`improper\_style <improper_style>` commands. Some styles
|
||||
All LAMMPS :doc:`improper_style <improper_style>` commands. Some styles
|
||||
have accelerated versions. This is indicated by additional letters in
|
||||
parenthesis: g = GPU, i = USER-INTEL, k = KOKKOS, o = USER-OMP, t =
|
||||
OPT.
|
||||
|
||||
@ -18,73 +18,73 @@ Setup simulation box:
|
||||
|
||||
* :doc:`boundary <boundary>`,
|
||||
* :doc:`box <box>`,
|
||||
* :doc:`change\_box <change_box>`,
|
||||
* :doc:`create\_box <create_box>`,
|
||||
* :doc:`change_box <change_box>`,
|
||||
* :doc:`create_box <create_box>`,
|
||||
* :doc:`dimension <dimension>`,
|
||||
* :doc:`lattice <lattice>`,
|
||||
* :doc:`region <region>`
|
||||
|
||||
Setup atoms:
|
||||
|
||||
* :doc:`atom\_modify <atom_modify>`,
|
||||
* :doc:`atom\_style <atom_style>`,
|
||||
* :doc:`atom_modify <atom_modify>`,
|
||||
* :doc:`atom_style <atom_style>`,
|
||||
* :doc:`balance <balance>`,
|
||||
* :doc:`create\_atoms <create_atoms>`,
|
||||
* :doc:`create\_bonds <create_bonds>`,
|
||||
* :doc:`delete\_atoms <delete_atoms>`,
|
||||
* :doc:`delete\_bonds <delete_bonds>`,
|
||||
* :doc:`displace\_atoms <displace_atoms>`,
|
||||
* :doc:`create_atoms <create_atoms>`,
|
||||
* :doc:`create_bonds <create_bonds>`,
|
||||
* :doc:`delete_atoms <delete_atoms>`,
|
||||
* :doc:`delete_bonds <delete_bonds>`,
|
||||
* :doc:`displace_atoms <displace_atoms>`,
|
||||
* :doc:`group <group>`,
|
||||
* :doc:`mass <mass>`,
|
||||
* :doc:`molecule <molecule>`,
|
||||
* :doc:`read\_data <read_data>`,
|
||||
* :doc:`read\_dump <read_dump>`,
|
||||
* :doc:`read\_restart <read_restart>`,
|
||||
* :doc:`read_data <read_data>`,
|
||||
* :doc:`read_dump <read_dump>`,
|
||||
* :doc:`read_restart <read_restart>`,
|
||||
* :doc:`replicate <replicate>`,
|
||||
* :doc:`set <set>`,
|
||||
* :doc:`velocity <velocity>`
|
||||
|
||||
Force fields:
|
||||
|
||||
* :doc:`angle\_coeff <angle_coeff>`,
|
||||
* :doc:`angle\_style <angle_style>`,
|
||||
* :doc:`bond\_coeff <bond_coeff>`,
|
||||
* :doc:`bond\_style <bond_style>`,
|
||||
* :doc:`bond\_write <bond_write>`,
|
||||
* :doc:`angle_coeff <angle_coeff>`,
|
||||
* :doc:`angle_style <angle_style>`,
|
||||
* :doc:`bond_coeff <bond_coeff>`,
|
||||
* :doc:`bond_style <bond_style>`,
|
||||
* :doc:`bond_write <bond_write>`,
|
||||
* :doc:`dielectric <dielectric>`,
|
||||
* :doc:`dihedral\_coeff <dihedral_coeff>`,
|
||||
* :doc:`dihedral\_style <dihedral_style>`,
|
||||
* :doc:`improper\_coeff <improper_coeff>`,
|
||||
* :doc:`improper\_style <improper_style>`,
|
||||
* :doc:`kspace\_modify <kspace_modify>`,
|
||||
* :doc:`kspace\_style <kspace_style>`,
|
||||
* :doc:`pair\_coeff <pair_coeff>`,
|
||||
* :doc:`pair\_modify <pair_modify>`,
|
||||
* :doc:`pair\_style <pair_style>`,
|
||||
* :doc:`pair\_write <pair_write>`,
|
||||
* :doc:`special\_bonds <special_bonds>`
|
||||
* :doc:`dihedral_coeff <dihedral_coeff>`,
|
||||
* :doc:`dihedral_style <dihedral_style>`,
|
||||
* :doc:`improper_coeff <improper_coeff>`,
|
||||
* :doc:`improper_style <improper_style>`,
|
||||
* :doc:`kspace_modify <kspace_modify>`,
|
||||
* :doc:`kspace_style <kspace_style>`,
|
||||
* :doc:`pair_coeff <pair_coeff>`,
|
||||
* :doc:`pair_modify <pair_modify>`,
|
||||
* :doc:`pair_style <pair_style>`,
|
||||
* :doc:`pair_write <pair_write>`,
|
||||
* :doc:`special_bonds <special_bonds>`
|
||||
|
||||
Settings:
|
||||
|
||||
* :doc:`comm\_modify <comm_modify>`,
|
||||
* :doc:`comm\_style <comm_style>`,
|
||||
* :doc:`comm_modify <comm_modify>`,
|
||||
* :doc:`comm_style <comm_style>`,
|
||||
* :doc:`info <info>`,
|
||||
* :doc:`min\_modify <min_modify>`,
|
||||
* :doc:`min\_style <min_style>`,
|
||||
* :doc:`neigh\_modify <neigh_modify>`,
|
||||
* :doc:`min_modify <min_modify>`,
|
||||
* :doc:`min_style <min_style>`,
|
||||
* :doc:`neigh_modify <neigh_modify>`,
|
||||
* :doc:`neighbor <neighbor>`,
|
||||
* :doc:`partition <partition>`,
|
||||
* :doc:`reset\_timestep <reset_timestep>`,
|
||||
* :doc:`run\_style <run_style>`,
|
||||
* :doc:`reset_timestep <reset_timestep>`,
|
||||
* :doc:`run_style <run_style>`,
|
||||
* :doc:`timer <timer>`,
|
||||
* :doc:`timestep <timestep>`
|
||||
|
||||
Operations within timestepping (fixes) and diagnostics (computes):
|
||||
|
||||
* :doc:`compute <compute>`,
|
||||
* :doc:`compute\_modify <compute_modify>`,
|
||||
* :doc:`compute_modify <compute_modify>`,
|
||||
* :doc:`fix <fix>`,
|
||||
* :doc:`fix\_modify <fix_modify>`,
|
||||
* :doc:`fix_modify <fix_modify>`,
|
||||
* :doc:`uncompute <uncompute>`,
|
||||
* :doc:`unfix <unfix>`
|
||||
|
||||
@ -93,22 +93,22 @@ Output:
|
||||
* :doc:`dump image <dump_image>`,
|
||||
* :doc:`dump movie <dump_image>`,
|
||||
* :doc:`dump <dump>`,
|
||||
* :doc:`dump\_modify <dump_modify>`,
|
||||
* :doc:`dump_modify <dump_modify>`,
|
||||
* :doc:`restart <restart>`,
|
||||
* :doc:`thermo <thermo>`,
|
||||
* :doc:`thermo\_modify <thermo_modify>`,
|
||||
* :doc:`thermo\_style <thermo_style>`,
|
||||
* :doc:`thermo_modify <thermo_modify>`,
|
||||
* :doc:`thermo_style <thermo_style>`,
|
||||
* :doc:`undump <undump>`,
|
||||
* :doc:`write\_coeff <write_coeff>`,
|
||||
* :doc:`write\_data <write_data>`,
|
||||
* :doc:`write\_dump <write_dump>`,
|
||||
* :doc:`write\_restart <write_restart>`
|
||||
* :doc:`write_coeff <write_coeff>`,
|
||||
* :doc:`write_data <write_data>`,
|
||||
* :doc:`write_dump <write_dump>`,
|
||||
* :doc:`write_restart <write_restart>`
|
||||
|
||||
Actions:
|
||||
|
||||
* :doc:`minimize <minimize>`,
|
||||
* :doc:`neb <neb>`,
|
||||
* :doc:`neb\_spin <neb_spin>`,
|
||||
* :doc:`neb_spin <neb_spin>`,
|
||||
* :doc:`prd <prd>`,
|
||||
* :doc:`rerun <rerun>`,
|
||||
* :doc:`run <run>`,
|
||||
|
||||
@ -163,4 +163,3 @@ KOKKOS, o = USER-OMP, t = OPT.
|
||||
* :doc:`vcm/chunk <compute_vcm_chunk>`
|
||||
* :doc:`voronoi/atom <compute_voronoi_atom>`
|
||||
* :doc:`xrd <compute_xrd>`
|
||||
|
||||
|
||||
@ -45,7 +45,7 @@ belong to the group.
|
||||
(3) Sometimes command B will use values that can be set by command A.
|
||||
This means command A must precede command B in the input script if it
|
||||
is to have the desired effect. For example, the
|
||||
:doc:`read\_data <read_data>` command initializes the system by setting
|
||||
:doc:`read_data <read_data>` command initializes the system by setting
|
||||
up the simulation box and assigning atoms to processors. If default
|
||||
values are not desired, the :doc:`processors <processors>` and
|
||||
:doc:`boundary <boundary>` commands need to be used before read\_data to
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
KSpace solvers
|
||||
==============
|
||||
|
||||
All LAMMPS :doc:`kspace\_style <kspace_style>` solvers. Some styles have
|
||||
All LAMMPS :doc:`kspace_style <kspace_style>` solvers. Some styles have
|
||||
accelerated versions. This is indicated by additional letters in
|
||||
parenthesis: g = GPU, i = USER-INTEL, k = KOKKOS, o = USER-OMP, t =
|
||||
OPT.
|
||||
|
||||
@ -57,11 +57,6 @@ restart2data tool
|
||||
|
||||
The functionality of the restart2data tool has been folded into the
|
||||
LAMMPS executable directly instead of having a separate tool. A
|
||||
combination of the commands :doc:`read\_restart <read_restart>` and
|
||||
:doc:`write\_data <write_data>` can be used to the same effect. For added
|
||||
combination of the commands :doc:`read_restart <read_restart>` and
|
||||
:doc:`write_data <write_data>` can be used to the same effect. For added
|
||||
convenience this conversion can also be triggered by :doc:`command line flags <Run_options>`
|
||||
|
||||
|
||||
.. _lws: http://lammps.sandia.gov
|
||||
.. _ld: Manual.html
|
||||
.. _lc: Commands_all.html
|
||||
|
||||
@ -26,23 +26,23 @@ read-in from a file.
|
||||
The relevant commands are :doc:`units <units>`,
|
||||
:doc:`dimension <dimension>`, :doc:`newton <newton>`,
|
||||
:doc:`processors <processors>`, :doc:`boundary <boundary>`,
|
||||
:doc:`atom\_style <atom_style>`, :doc:`atom\_modify <atom_modify>`.
|
||||
:doc:`atom_style <atom_style>`, :doc:`atom_modify <atom_modify>`.
|
||||
|
||||
If force-field parameters appear in the files that will be read, these
|
||||
commands tell LAMMPS what kinds of force fields are being used:
|
||||
:doc:`pair\_style <pair_style>`, :doc:`bond\_style <bond_style>`,
|
||||
:doc:`angle\_style <angle_style>`, :doc:`dihedral\_style <dihedral_style>`,
|
||||
:doc:`improper\_style <improper_style>`.
|
||||
:doc:`pair_style <pair_style>`, :doc:`bond_style <bond_style>`,
|
||||
:doc:`angle_style <angle_style>`, :doc:`dihedral_style <dihedral_style>`,
|
||||
:doc:`improper_style <improper_style>`.
|
||||
|
||||
(2) Atom definition
|
||||
|
||||
There are 3 ways to define atoms in LAMMPS. Read them in from a data
|
||||
or restart file via the :doc:`read\_data <read_data>` or
|
||||
:doc:`read\_restart <read_restart>` commands. These files can contain
|
||||
or restart file via the :doc:`read_data <read_data>` or
|
||||
:doc:`read_restart <read_restart>` commands. These files can contain
|
||||
molecular topology information. Or create atoms on a lattice (with no
|
||||
molecular topology), using these commands: :doc:`lattice <lattice>`,
|
||||
:doc:`region <region>`, :doc:`create\_box <create_box>`,
|
||||
:doc:`create\_atoms <create_atoms>`. The entire set of atoms can be
|
||||
:doc:`region <region>`, :doc:`create_box <create_box>`,
|
||||
:doc:`create_atoms <create_atoms>`. The entire set of atoms can be
|
||||
duplicated to make a larger simulation using the
|
||||
:doc:`replicate <replicate>` command.
|
||||
|
||||
@ -53,25 +53,25 @@ can be specified: force field coefficients, simulation parameters,
|
||||
output options, etc.
|
||||
|
||||
Force field coefficients are set by these commands (they can also be
|
||||
set in the read-in files): :doc:`pair\_coeff <pair_coeff>`,
|
||||
:doc:`bond\_coeff <bond_coeff>`, :doc:`angle\_coeff <angle_coeff>`,
|
||||
:doc:`dihedral\_coeff <dihedral_coeff>`,
|
||||
:doc:`improper\_coeff <improper_coeff>`,
|
||||
:doc:`kspace\_style <kspace_style>`, :doc:`dielectric <dielectric>`,
|
||||
:doc:`special\_bonds <special_bonds>`.
|
||||
set in the read-in files): :doc:`pair_coeff <pair_coeff>`,
|
||||
:doc:`bond_coeff <bond_coeff>`, :doc:`angle_coeff <angle_coeff>`,
|
||||
:doc:`dihedral_coeff <dihedral_coeff>`,
|
||||
:doc:`improper_coeff <improper_coeff>`,
|
||||
:doc:`kspace_style <kspace_style>`, :doc:`dielectric <dielectric>`,
|
||||
:doc:`special_bonds <special_bonds>`.
|
||||
|
||||
Various simulation parameters are set by these commands:
|
||||
:doc:`neighbor <neighbor>`, :doc:`neigh\_modify <neigh_modify>`,
|
||||
:doc:`neighbor <neighbor>`, :doc:`neigh_modify <neigh_modify>`,
|
||||
:doc:`group <group>`, :doc:`timestep <timestep>`,
|
||||
:doc:`reset\_timestep <reset_timestep>`, :doc:`run\_style <run_style>`,
|
||||
:doc:`min\_style <min_style>`, :doc:`min\_modify <min_modify>`.
|
||||
:doc:`reset_timestep <reset_timestep>`, :doc:`run_style <run_style>`,
|
||||
:doc:`min_style <min_style>`, :doc:`min_modify <min_modify>`.
|
||||
|
||||
Fixes impose a variety of boundary conditions, time integration, and
|
||||
diagnostic options. The :doc:`fix <fix>` command comes in many flavors.
|
||||
|
||||
Various computations can be specified for execution during a
|
||||
simulation using the :doc:`compute <compute>`,
|
||||
:doc:`compute\_modify <compute_modify>`, and :doc:`variable <variable>`
|
||||
:doc:`compute_modify <compute_modify>`, and :doc:`variable <variable>`
|
||||
commands.
|
||||
|
||||
Output options are set by the :doc:`thermo <thermo>`, :doc:`dump <dump>`,
|
||||
|
||||
|
Before Width: | Height: | Size: 14 KiB |
@ -1,15 +0,0 @@
|
||||
\documentclass[12pt]{article}
|
||||
|
||||
\pagestyle{empty}
|
||||
\begin{document}
|
||||
|
||||
$$
|
||||
E_{a} = K_2\left(\theta - \theta_0\right)^2 + K_3\left(\theta - \theta_0\right)^3 + K_4\left(\theta - \theta_0\right)^4 + K_5\left(\theta - \theta_0\right)^5 + K_6\left(\theta - \theta_0\right)^6
|
||||
$$
|
||||
|
||||
\end{document}
|
||||
|
||||
%%% Local Variables:
|
||||
%%% mode: latex
|
||||
%%% TeX-master: t
|
||||
%%% End:
|
||||
|
Before Width: | Height: | Size: 11 KiB |
@ -1,14 +0,0 @@
|
||||
\documentclass[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\begin{eqnarray*}
|
||||
a &=& {\rm lx} \\
|
||||
b^2 &=& {\rm ly}^2 + {\rm xy}^2 \\
|
||||
c^2 &=& {\rm lz}^2 + {\rm xz}^2 + {\rm yz}^2 \\
|
||||
\cos{\alpha} &=& \frac{{\rm xy}*{\rm xz} + {\rm ly}*{\rm yz}}{b*c} \\
|
||||
\cos{\beta} &=& \frac{\rm xz}{c} \\
|
||||
\cos{\gamma} &=& \frac{\rm xy}{b} \\
|
||||
\end{eqnarray*}
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 10 KiB |
@ -1,14 +0,0 @@
|
||||
\documentclass[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\begin{eqnarray*}
|
||||
{\rm lx} &=& a \\
|
||||
{\rm xy} &=& b \cos{\gamma} \\
|
||||
{\rm xz} &=& c \cos{\beta}\\
|
||||
{\rm ly}^2 &=& b^2 - {\rm xy}^2 \\
|
||||
{\rm yz} &=& \frac{b*c \cos{\alpha} - {\rm xy}*{\rm xz}}{\rm ly} \\
|
||||
{\rm lz}^2 &=& c^2 - {\rm xz}^2 - {\rm yz}^2 \\
|
||||
\end{eqnarray*}
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 4.0 KiB |
@ -1,9 +0,0 @@
|
||||
\documentclass[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
$$
|
||||
CS = \sum_{i = 1}^{N/2} | \vec{R}_i + \vec{R}_{i+N/2} |^2
|
||||
$$
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 13 KiB |
@ -1,14 +0,0 @@
|
||||
\documentclass[12pt,article]{article}
|
||||
|
||||
\usepackage{indentfirst}
|
||||
\usepackage{amsmath}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\begin{eqnarray*}
|
||||
r_{c}^{fcc} & = & \frac{1}{2} \left(\frac{\sqrt{2}}{2} + 1\right) \mathrm{a} \simeq 0.8536 \:\mathrm{a} \\
|
||||
r_{c}^{bcc} & = & \frac{1}{2}(\sqrt{2} + 1) \mathrm{a} \simeq 1.207 \:\mathrm{a} \\
|
||||
r_{c}^{hcp} & = & \frac{1}{2}\left(1+\sqrt{\frac{4+2x^{2}}{3}}\right) \mathrm{a}
|
||||
\end{eqnarray*}
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 2.5 KiB |
@ -1,12 +0,0 @@
|
||||
\documentclass[12pt,article]{article}
|
||||
|
||||
\usepackage{indentfirst}
|
||||
\usepackage{amsmath}
|
||||
|
||||
\begin{document}
|
||||
|
||||
$$
|
||||
Rc + Rs > 2*{\rm cutoff}
|
||||
$$
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 13 KiB |
@ -1,14 +0,0 @@
|
||||
\documentclass[12pt,article]{article}
|
||||
|
||||
\usepackage{indentfirst}
|
||||
\usepackage{amsmath}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\begin{eqnarray*}
|
||||
r_{c}^{fcc} & = & \frac{1}{2} \left(\frac{\sqrt{2}}{2} + 1\right) \mathrm{a} \simeq 0.8536 \:\mathrm{a} \\
|
||||
r_{c}^{bcc} & = & \frac{1}{2}(\sqrt{2} + 1) \mathrm{a} \simeq 1.207 \:\mathrm{a} \\
|
||||
r_{c}^{hcp} & = & \frac{1}{2}\left(1+\sqrt{\frac{4+2x^{2}}{3}}\right) \mathrm{a}
|
||||
\end{eqnarray*}
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 2.5 KiB |
@ -1,12 +0,0 @@
|
||||
\documentclass[12pt,article]{article}
|
||||
|
||||
\usepackage{indentfirst}
|
||||
\usepackage{amsmath}
|
||||
|
||||
\begin{document}
|
||||
|
||||
$$
|
||||
Rc + Rs > 2*{\rm cutoff}
|
||||
$$
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 23 KiB |
@ -1,9 +0,0 @@
|
||||
\documentclass[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
$$
|
||||
Q_{i} = \frac{1}{n_i}\sum_{j = 1}^{n_i} | \sum_{k = 1}^{n_{ij}} \vec{R}_{ik} + \vec{R}_{jk} |^2
|
||||
$$
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 21 KiB |
@ -1,13 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
\pagestyle{empty}
|
||||
\begin{document}
|
||||
|
||||
\begin{eqnarray*}
|
||||
U^{cond} = \displaystyle\sum_{i=1}^{N} u_{i}^{cond} \\
|
||||
U^{mech} = \displaystyle\sum_{i=1}^{N} u_{i}^{mech} \\
|
||||
U^{chem} = \displaystyle\sum_{i=1}^{N} u_{i}^{chem} \\
|
||||
U = \displaystyle\sum_{i=1}^{N} (u_{i}^{cond} + u_{i}^{mech} + u_{i}^{chem}) \\
|
||||
\theta_{avg} = (\frac{1}{N}\displaystyle\sum_{i=1}^{N} \frac{1}{\theta_{i}})^{-1} \\
|
||||
\end{eqnarray*}
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 18 KiB |
@ -1,7 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\[ \left< \frac{1}{1 + \exp\left[\left(U_1 - U_0 - \Delta_0^1A \right) /kT \right]} \right>_0 = \left< \frac{1}{1 + \exp\left[\left(U_0 - U_1 + \Delta_0^1A \right) /kT \right]} \right>_1 \]
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 15 KiB |
@ -1,10 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\[ \Delta_0^1 A = \int_{\lambda=0}^{\lambda=1} \left( \frac{\partial
|
||||
A(\lambda)}{\partial\lambda} \right)_\lambda \mathrm{d}\lambda
|
||||
\approx \sum_{i=0}^{n-1} w_i \frac{A(\lambda_{i} + \delta) -
|
||||
A(\lambda_i)}{\delta} \]
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 18 KiB |
@ -1,9 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\[ \Delta_0^1 A = \sum_{i=0}^{n-1} \Delta_{\lambda_i}^{\lambda_{i+1}} A =
|
||||
- kT \sum_{i=0}^{n-1} \ln \left< \exp \left( - \frac{U(\lambda_{i+1}) -
|
||||
U(\lambda_i)}{kT} \right) \right>_{\lambda_i} \]
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 10 KiB |
@ -1,10 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\begin{eqnarray*}
|
||||
\lambda = 0 \quad\Rightarrow\quad U = U_{\mathrm{bg}} + U_0 \\
|
||||
\lambda = 1 \quad\Rightarrow\quad U = U_{\mathrm{bg}} + U_1
|
||||
\end{eqnarray*}
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 18 KiB |
@ -1,10 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\[ \Delta_0^1 A = \int_{\lambda=0}^{\lambda=1} \left< \frac{\partial
|
||||
U(\lambda)}{\partial\lambda} \right>_\lambda \mathrm{d}\lambda
|
||||
\approx \sum_{i=0}^{n-1} w_i \left< \frac{U(\lambda_{i} + \delta) -
|
||||
U(\lambda_i)}{\delta} \right>_{\lambda_i} \]
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 9.1 KiB |
@ -1,7 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\[ U(\lambda) = U_{\mathrm{bg}} + U_1(\lambda) + U_0(\lambda) \]
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 15 KiB |
@ -1,9 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\[ \Delta_0^1 A = - kT \sum_{i=0}^{n-1} \ln \frac{\left< V \exp \left( -
|
||||
\frac{U(\lambda_{i+1}) - U(\lambda_i)}{kT} \right)
|
||||
\right>_{\lambda_i}}{\left< V \right>_{\lambda_i}} \]
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 3.6 KiB |
@ -1,9 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
$$
|
||||
{R_g}^2 = \frac{1}{M} \sum_i m_i (r_i - r_{cm})^2
|
||||
$$
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 7.1 KiB |
@ -1,9 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
$$
|
||||
NGP(t) = 3<(r(t)-r(0))^4>/(5<(r(t)-r(0))^2>^2) - 1
|
||||
$$
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 1.4 KiB |
@ -1,10 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
$$
|
||||
I=\frac{F^{*}F}{N}
|
||||
$$
|
||||
|
||||
\end{document}
|
||||
|
||||
|
Before Width: | Height: | Size: 4.8 KiB |
@ -1,9 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
$$
|
||||
F(\mathbf{k})=\sum_{j=1}^{N}f_j(\theta)exp(2\pi i \mathbf{k}\cdot \mathbf{r}_j)
|
||||
$$
|
||||
\end{document}
|
||||
|
||||
|
Before Width: | Height: | Size: 6.9 KiB |
@ -1,10 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
$$
|
||||
f_j\left ( \frac{sin(\theta)}{\lambda} \right )=\sum_{i}^{5}
|
||||
a_i exp\left ( -b_i \frac{sin^{2}(\theta)}{\lambda^{2}} \right )
|
||||
$$
|
||||
\end{document}
|
||||
|
||||
|
Before Width: | Height: | Size: 6.8 KiB |
@ -1,13 +0,0 @@
|
||||
\documentclass[12pt]{article}
|
||||
|
||||
\pagestyle{empty}
|
||||
\begin{document}
|
||||
|
||||
\begin{eqnarray*}
|
||||
c = l_z - 0.5(l_y+l_x) \\
|
||||
b = l_y - l_x \\
|
||||
k = \frac{3}{2} \frac{l_x^2+l_y^2+l_z^2}{(l_x+l_y+l_z)^2} - \frac{1}{2}
|
||||
\end{eqnarray*}
|
||||
|
||||
\end{document}
|
||||
|
||||
|
Before Width: | Height: | Size: 19 KiB |
@ -1,11 +0,0 @@
|
||||
\documentclass[24pt]{article}
|
||||
|
||||
\pagestyle{empty}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\begin{eqnarray*}
|
||||
\theta_0 = {\tt rfac0} \frac{r-r_{min0}}{R_{ii'}-r_{min0}} \pi
|
||||
\end{eqnarray*}
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 17 KiB |
@ -1,11 +0,0 @@
|
||||
\documentclass[24pt]{article}
|
||||
|
||||
\pagestyle{empty}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\begin{eqnarray*}
|
||||
u^j_{m,m'} = U^j_{m,m'}(0,0,0) + \sum_{r_{ii'} < R_{ii'}}{f_c(r_{ii'}) w_{i'} U^j_{m,m'}(\theta_0,\theta,\phi)}
|
||||
\end{eqnarray*}
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 19 KiB |
@ -1,16 +0,0 @@
|
||||
\documentclass[24pt]{article}
|
||||
|
||||
\pagestyle{empty}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\newcommand{\hcoeff}[9]{H\!\!{\tiny\begin{array}{l}#1 #2 #3 \\ #4 #5 #6 \\ #7 #8 #9 \end{array}}}
|
||||
|
||||
\begin{equation}
|
||||
B_{j_1,j_2,j} = \\
|
||||
\sum_{m_1,m'_1=-j_1}^{j_1}\sum_{m_2,m'_2=-j_2}^{j_2}\sum_{m,m'=-j}^{j} (u^j_{m,m'})^*
|
||||
\hcoeff{j}{m}{m'}{j_1}{\!m_1}{\!m'_1}{j_2}{m_2}{m'_2}
|
||||
u^{j_1}_{m_1,m'_1} u^{j_2}_{m_2,m'_2}
|
||||
\end{equation}
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 35 KiB |
@ -1,14 +0,0 @@
|
||||
\documentclass[24pt]{article}
|
||||
|
||||
\pagestyle{empty}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\begin{eqnarray*}
|
||||
\label{eqn:f_c}
|
||||
f_c(r) & = & \frac{1}{2}(\cos(\pi \frac{r-r_{min0}}{R_{ii'}-r_{min0}}) + 1), r \leq R_{ii'} \\
|
||||
& = & 0, r > R_{ii'}
|
||||
\end{eqnarray*}
|
||||
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 14 KiB |
@ -1,12 +0,0 @@
|
||||
\documentclass[24pt]{article}
|
||||
|
||||
\pagestyle{empty}
|
||||
|
||||
\begin{document}
|
||||
|
||||
|
||||
\begin{equation}
|
||||
- \sum_{i' \in I} \frac{\partial {B^{i'}_{j_1,j_2,j} }}{\partial {\bf r}_i}
|
||||
\end{equation}
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 17 KiB |
@ -1,12 +0,0 @@
|
||||
\documentclass[24pt]{article}
|
||||
|
||||
\pagestyle{empty}
|
||||
|
||||
\begin{document}
|
||||
|
||||
|
||||
\begin{eqnarray*}
|
||||
- {\bf r}_i \otimes \sum_{i' \in I} \frac{\partial {B^{i'}_{j_1,j_2,j}}}{\partial {\bf r}_i}
|
||||
\end{eqnarray*}
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 2.3 KiB |
@ -1,10 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
$$
|
||||
I=Lp(\theta)\frac{F^{*}F}{N}
|
||||
$$
|
||||
|
||||
\end{document}
|
||||
|
||||
|
Before Width: | Height: | Size: 4.7 KiB |
@ -1,9 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
$$
|
||||
F(\mathbf{k})=\sum_{j=1}^{N}f_j(\theta)exp(2\pi i \mathbf{k}\cdot \mathbf{r}_j)
|
||||
$$
|
||||
\end{document}
|
||||
|
||||
|
Before Width: | Height: | Size: 4.6 KiB |
@ -1,9 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
$$
|
||||
Lp(\theta)=\frac{1+cos^{2}(2\theta)}{cos(\theta)sin^{2}(\theta)}
|
||||
$$
|
||||
\end{document}
|
||||
|
||||
|
Before Width: | Height: | Size: 2.2 KiB |
@ -1,9 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
$$
|
||||
\frac{sin(\theta)}{\lambda}=\frac{\left | \mathbf{k} \right |}{2}
|
||||
$$
|
||||
\end{document}
|
||||
|
||||
|
Before Width: | Height: | Size: 7.4 KiB |
@ -1,10 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
$$
|
||||
f_j\left ( \frac{sin(\theta)}{\lambda} \right )=\sum_{i}^{4}
|
||||
a_i exp\left ( -b_i \frac{sin^{2}(\theta)}{\lambda^{2}} \right )+c
|
||||
$$
|
||||
\end{document}
|
||||
|
||||
|
Before Width: | Height: | Size: 3.0 KiB |
@ -1,9 +0,0 @@
|
||||
\documentclass[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
$$
|
||||
E = K [ 1 + \cos (n \phi - d) ]
|
||||
$$
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 47 KiB |
@ -1,17 +0,0 @@
|
||||
\documentclass[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\begin{eqnarray*}
|
||||
E & = & E_d + E_{mbt} + E_{ebt} + E_{at} + E_{aat} + E_{bb13} \\
|
||||
E_d & = & \sum_{n=1}^{3} K_n [ 1 - \cos (n \phi - \phi_n) ] \\
|
||||
E_{mbt} & = & (r_{jk} - r_2) [ A_1 \cos (\phi) + A_2 \cos (2\phi) + A_3 \cos (3\phi) ] \\
|
||||
E_{ebt} & = & (r_{ij} - r_1) [ B_1 \cos (\phi) + B_2 \cos (2\phi) + B_3 \cos (3\phi) ] + \\
|
||||
& & (r_{kl} - r_3) [ C_1 \cos (\phi) + C_2 \cos (2\phi) + C_3 \cos (3\phi) ] \\
|
||||
E_{at} & = & (\theta_{ijk} - \theta_1) [ D_1 \cos (\phi) + D_2 \cos (2\phi) + D_3 \cos (3\phi) ] + \\
|
||||
& & (\theta_{jkl} - \theta_2) [ E_1 \cos (\phi) + E_2 \cos (2\phi) + E_3 \cos (3\phi) ] \\
|
||||
E_{aat} & = & M (\theta_{ijk} - \theta_1) (\theta_{jkl} - \theta_2) \cos (\phi) \\
|
||||
E_{bb13} & = & N (r_{ij} - r_1) (r_{kl} - r_3)
|
||||
\end{eqnarray*}
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 7.8 KiB |
@ -1,13 +0,0 @@
|
||||
\documentstyle[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
$$
|
||||
E=-U_{min}
|
||||
\frac{e^{-a U(\theta,\theta_0)}-1}{e^a-1}
|
||||
\quad\mbox{with}\quad
|
||||
U(\theta,\theta_0)
|
||||
=-0.5 \left(1+\cos(\theta-\theta_0) \right)
|
||||
$$
|
||||
|
||||
\end{document}
|
||||
|
Before Width: | Height: | Size: 4.4 KiB |
@ -1,9 +0,0 @@
|
||||
\documentclass[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
$$
|
||||
E = \sum_{i=1,m} K_i [ 1.0 + \cos ( n_i \phi - d_i ) ]
|
||||
$$
|
||||
|
||||
\end{document}
|
||||