Unverified Commit 1da73925 authored by Richard Berger's avatar Richard Berger
Browse files

Resolve conflicting target names

parent fffc03e0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ There are multiple Python interface classes in the :py:mod:`lammps` module:
  features to conveniently include LAMMPS into `Jupyter
  <https://jupyter.org/>`_ notebooks.

.. _mpi4py: https://mpi4py.readthedocs.io
.. _mpi4py_url: https://mpi4py.readthedocs.io

----------

@@ -45,7 +45,7 @@ installed or used. The *ptr* argument is for use of the
:doc:`python <python>` command, where a pointer to the already existing
:cpp:class:`LAMMPS <LAMMPS_NS::LAMMPS>` class instance can be passed
to the Python class and used instead of creating a new instance.  The
*comm* argument may be used in combination with the `mpi4py <mpi4py_>`_
*comm* argument may be used in combination with the `mpi4py <mpi4py_url_>`_
module to pass an MPI communicator to LAMMPS and thus it is possible
to run the Python module like the library interface on a subset of the
MPI ranks after splitting the communicator. Here is a simple example:
+2 −2
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ class NeighList:
class lammps(object):
  """Create an instance of the LAMMPS Python class.

  .. _mpi4py: https://mpi4py.readthedocs.io/
  .. _mpi4py_docs: https://mpi4py.readthedocs.io/

  This is a Python wrapper class that exposes the LAMMPS C-library
  interface to Python.  It either requires that LAMMPS has been compiled
@@ -144,7 +144,7 @@ class lammps(object):
  :type  cmdargs: list
  :param ptr: pointer to a LAMMPS C++ class instance when called from an embedded Python interpreter.  None means load symbols from shared library.
  :type  ptr: pointer
  :param comm: MPI communicator (as provided by `mpi4py <mpi4py_>`_). ``None`` means use ``MPI_COMM_WORLD`` implicitly.
  :param comm: MPI communicator (as provided by `mpi4py <mpi4py_docs_>`_). ``None`` means use ``MPI_COMM_WORLD`` implicitly.
  :type  comm: MPI_Comm
  """