Refactor LammpsNumpyWrapper to numpy_wrapper

LammpsNumpyWrapper was a class that was defined inside of the
lammps.numpy property when it was first accessed. This made it hard
to document the methods of this class.

This commit extracts this utility class into the lammps module and
renames it to 'numpy_wrapper'.
This commit is contained in:
Richard Berger
2020-10-02 17:28:25 -04:00
parent 0089a35d95
commit d91d8de76d
2 changed files with 205 additions and 174 deletions

View File

@ -44,6 +44,9 @@ functions. Below is a detailed documentation of the API.
.. autoclass:: lammps.lammps
:members:
.. autoclass:: lammps.numpy_wrapper
:members:
----------
The ``PyLammps`` class API