diff --git a/doc/src/Modify_overview.rst b/doc/src/Modify_overview.rst index 3ec05c4ddd..e733dc1563 100644 --- a/doc/src/Modify_overview.rst +++ b/doc/src/Modify_overview.rst @@ -56,13 +56,13 @@ the executable and can be invoked with a pair_style command like the example above. Arguments like 0.1 and 3.5 can be defined and processed by your new class. -.. note: +.. note:: - With the traditional make process, simply adding the new files to the - src folder and compiling LAMMPS again for the desired configuration - with "make machine" is sufficient. When using CMake, you need to - re-run CMake with "cmake ." in the build folder to have it recognize - the added files and include them into the build system. + With the traditional make process, simply adding the new files to the + src folder and compiling LAMMPS again for the desired configuration + with "make machine" is sufficient. When using CMake, you need to + re-run CMake with "cmake ." in the build folder to have it recognize + the added files and include them into the build system. As illustrated by this example pair style, many kinds of options are referred to in the LAMMPS documentation as the "style" of a particular diff --git a/src/library.cpp b/src/library.cpp index 4a6919f8c4..d045cf1d23 100644 --- a/src/library.cpp +++ b/src/library.cpp @@ -4614,7 +4614,7 @@ void lammps_force_timeout(void *handle) This function can be used to query if an error inside of LAMMPS has thrown a :ref:`C++ exception `. -.. note: +.. note:: This function will always report "no error" when the LAMMPS library has been compiled without ``-DLAMMPS_EXCEPTIONS`` which turns fatal @@ -4652,7 +4652,7 @@ a "2" indicates an abort that would happen only in a single MPI rank and thus may not be recoverable as other MPI ranks may be waiting on the failing MPI ranks to send messages. -.. note: +.. note:: This function will do nothing when the LAMMPS library has been compiled without ``-DLAMMPS_EXCEPTIONS`` which turns errors aborting