consistently use a :class: qualifier for admonitions

This commit is contained in:
Axel Kohlmeyer
2025-01-30 03:54:26 -05:00
parent b4eee0c27a
commit 444c6d78f7
4 changed files with 6 additions and 0 deletions

View File

@ -203,6 +203,7 @@ processed in the expected order before types are removed from dynamic
dispatch. dispatch.
.. admonition:: Important Notes .. admonition:: Important Notes
:class: note
In order to be able to detect incompatibilities at compile time and In order to be able to detect incompatibilities at compile time and
to avoid unexpected behavior, it is crucial that all member functions to avoid unexpected behavior, it is crucial that all member functions

View File

@ -956,6 +956,7 @@ Procedures Bound to the :f:type:`lammps` Derived Type
:f:func:`extract_atom` between runs. :f:func:`extract_atom` between runs.
.. admonition:: Array index order .. admonition:: Array index order
:class: tip
Two-dimensional arrays returned from :f:func:`extract_atom` will be Two-dimensional arrays returned from :f:func:`extract_atom` will be
**transposed** from equivalent arrays in C, and they will be indexed **transposed** from equivalent arrays in C, and they will be indexed
@ -1068,6 +1069,7 @@ Procedures Bound to the :f:type:`lammps` Derived Type
you based on data from the :cpp:class:`Compute` class. you based on data from the :cpp:class:`Compute` class.
.. admonition:: Array index order .. admonition:: Array index order
:class: tip
Two-dimensional arrays returned from :f:func:`extract_compute` will be Two-dimensional arrays returned from :f:func:`extract_compute` will be
**transposed** from equivalent arrays in C, and they will be indexed **transposed** from equivalent arrays in C, and they will be indexed
@ -1326,6 +1328,7 @@ Procedures Bound to the :f:type:`lammps` Derived Type
:rtype data: polymorphic :rtype data: polymorphic
.. admonition:: Array index order .. admonition:: Array index order
:class: tip
Two-dimensional global, per-atom, or local array data from Two-dimensional global, per-atom, or local array data from
:f:func:`extract_fix` will be **transposed** from equivalent arrays in :f:func:`extract_fix` will be **transposed** from equivalent arrays in

View File

@ -52,6 +52,7 @@ your machine and "release" is one of the 3 branches listed above.
between them at any time using "git checkout <branch name>".) between them at any time using "git checkout <branch name>".)
.. admonition:: Saving time and disk space when using ``git clone`` .. admonition:: Saving time and disk space when using ``git clone``
:class: note
The complete git history of the LAMMPS project is quite large because The complete git history of the LAMMPS project is quite large because
it contains the entire commit history of the project since fall 2006, it contains the entire commit history of the project since fall 2006,

View File

@ -145,6 +145,7 @@ per line.
The detail of *nn* module implementation can be found at :ref:`(Yanxon) <Yanxon2020>`. The detail of *nn* module implementation can be found at :ref:`(Yanxon) <Yanxon2020>`.
.. admonition:: Notes on mliappy models .. admonition:: Notes on mliappy models
:class: note
When the *model* keyword is *mliappy*, if the filename ends in '.pt', When the *model* keyword is *mliappy*, if the filename ends in '.pt',
or '.pth', it will be loaded using pytorch; otherwise, it will be or '.pth', it will be loaded using pytorch; otherwise, it will be