-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split torch.Tensor and metatensor bindings (#4)
Co-authored-by: Kevin Kazuki Huguenin-Dumittan <kvhuguenin@gmail.com>
- Loading branch information
1 parent
c57b6e9
commit 49e9497
Showing
32 changed files
with
543 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,5 @@ furo | |
sphinx > 7.0 | ||
sphinx-gallery | ||
sphinx-toggleprompt | ||
pydata-sphinx-theme | ||
tomli | ||
chemiscope |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Fourier Convolution | ||
=================== | ||
|
||
.. autoclass:: meshlode.lib.FourierSpaceConvolution | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
General Library functions | ||
######################### | ||
|
||
General Library functions and classes of meshLODE mathematical helper functions, which | ||
are used for the meshLODE calculators. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
fourier_convolution | ||
mesh_interpolator | ||
system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Mesh Interpolator | ||
================= | ||
|
||
.. autoclass:: meshlode.lib.MeshInterpolator | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
5 changes: 4 additions & 1 deletion
5
docs/src/references/system.rst → docs/src/references/lib/system.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
.. automodule:: meshlode.system | ||
System | ||
====== | ||
|
||
.. autoclass:: meshlode.System | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.. _metatensor: | ||
|
||
Metatensor Bindings | ||
################### | ||
|
||
MeshLODE calculators returning representations as :py:class:`metatensor.TensorMap`. | ||
For using these bindings you need to install the ``metatensor.torch`` optional | ||
dependencies. | ||
|
||
.. code-block:: bash | ||
pip install .[metatensor] | ||
For a plain :py:class:`torch.Tensor` refer to :ref:`calculators`. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
meshpotential |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
MeshPotential | ||
############# | ||
|
||
.. autoclass:: meshlode.metatensor.MeshPotential | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.