resolve whitespace issues

This commit is contained in:
Axel Kohlmeyer
2021-04-07 18:05:00 -04:00
parent 7b34f025ee
commit 084c0713d6
4 changed files with 17 additions and 17 deletions

View File

@ -1363,9 +1363,9 @@ fit to a large archive of quantum mechanical (DFT) data. The USER-PACE
package provides an efficient implementation for running simulations package provides an efficient implementation for running simulations
with ACE potentials. with ACE potentials.
**Authors:** **Authors:**
This package was written by Yury Lysogorskiy^1, This package was written by Yury Lysogorskiy^1,
Cas van der Oord^2, Anton Bochkarev^1, Cas van der Oord^2, Anton Bochkarev^1,
Sarath Menon^1, Matteo Rinaldi^1, Thomas Hammerschmidt^1, Matous Mrovec^1, Sarath Menon^1, Matteo Rinaldi^1, Thomas Hammerschmidt^1, Matous Mrovec^1,
Aidan Thompson^3, Gabor Csanyi^2, Christoph Ortner^4, Ralf Drautz^1. Aidan Thompson^3, Gabor Csanyi^2, Christoph Ortner^4, Ralf Drautz^1.

View File

@ -15,8 +15,8 @@ Syntax
.. parsed-literal:: .. parsed-literal::
*product* = use product algorithm for basis functions *product* = use product algorithm for basis functions
*recursive* = use recursive algorithm for basis functions *recursive* = use recursive algorithm for basis functions
Examples Examples
"""""""" """"""""
@ -30,24 +30,24 @@ Examples
Description Description
""""""""""" """""""""""
Pair style *pace* computes interactions using the Atomic Cluster Pair style *pace* computes interactions using the Atomic Cluster
Expansion (ACE), which is a general expansion of the atomic energy in Expansion (ACE), which is a general expansion of the atomic energy in
multi-body basis functions. :ref:`(Drautz) <Drautz20191>`. multi-body basis functions. :ref:`(Drautz) <Drautz20191>`.
The *pace* pair style The *pace* pair style
provides an efficient implementation that provides an efficient implementation that
is described in this paper :ref:`(Lysogorskiy) <Lysogorskiy20211>`. is described in this paper :ref:`(Lysogorskiy) <Lysogorskiy20211>`.
In ACE, the total energy is decomposed into a sum over In ACE, the total energy is decomposed into a sum over
atomic energies. The energy of atom *i* is expressed as a atomic energies. The energy of atom *i* is expressed as a
linear or non-linear function of one or more density functions. linear or non-linear function of one or more density functions.
By projecting the By projecting the
density onto a local atomic base, the lowest order contributions density onto a local atomic base, the lowest order contributions
to the energy can be expressed as a set of scalar polynomials in to the energy can be expressed as a set of scalar polynomials in
basis function contributions summed over neighbor atoms. basis function contributions summed over neighbor atoms.
Only a single pair_coeff command is used with the *pace* style which Only a single pair_coeff command is used with the *pace* style which
specifies an ACE coefficient file followed by N additional arguments specifies an ACE coefficient file followed by N additional arguments
specifying the mapping of ACE elements to LAMMPS atom types, specifying the mapping of ACE elements to LAMMPS atom types,
where N is the number of LAMMPS atom types: where N is the number of LAMMPS atom types:
* ACE coefficient file * ACE coefficient file
@ -61,7 +61,7 @@ the ACE file.
The pair_style *pace* command may be followed by an optional keyword The pair_style *pace* command may be followed by an optional keyword
*product* or *recursive*, which determines which of two algorithms *product* or *recursive*, which determines which of two algorithms
is used for the calculation of basis functions and derivatives. is used for the calculation of basis functions and derivatives.
The default is *recursive*. The default is *recursive*.
See the :doc:`pair_coeff <pair_coeff>` doc page for alternate ways See the :doc:`pair_coeff <pair_coeff>` doc page for alternate ways
@ -92,7 +92,7 @@ Restrictions
"""""""""""" """"""""""""
This pair style is part of the USER-PACE package. It is only enabled if LAMMPS This pair style is part of the USER-PACE package. It is only enabled if LAMMPS
was built with that package. was built with that package.
See the :doc:`Build package <Build_package>` doc page for more info. See the :doc:`Build package <Build_package>` doc page for more info.
Related commands Related commands

View File

@ -446,7 +446,7 @@ double PairPACE::init_one(int i, int j) {
return basis_set->radial_functions->cut(map[i], map[j]); return basis_set->radial_functions->cut(map[i], map[j]);
} }
/* ---------------------------------------------------------------------- /* ----------------------------------------------------------------------
extract method for extracting value of scale variable extract method for extracting value of scale variable
---------------------------------------------------------------------- */ ---------------------------------------------------------------------- */
void *PairPACE::extract(const char *str, int &dim) void *PairPACE::extract(const char *str, int &dim)

View File

@ -94,4 +94,4 @@ namespace LAMMPS_NS {
} }
#endif #endif
#endif #endif