Unverified Commit 4b25eb1a authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

small tweaks

parent 88cee4ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2506,7 +2506,7 @@ length of the data area, and a short description.
 *
 * \param  name  string with the keyword of the desired property.
                 Typically the name of the pointer variable returned
 * \return       pointer to the requested data cast to ``void *`` or nullptr */
 * \return       pointer to the requested data cast to ``void *`` or ``nullptr`` */

void *Atom::extract(const char *name)
{
+4 −4
Original line number Diff line number Diff line
@@ -354,8 +354,8 @@ namespace LAMMPS_NS {
     * If the potential file has a ``UNITS`` tag in the first line, the
     * tag's value is compared to the current unit style setting.
     * The behavior of the function then depends on the value of the
     * *auto_convert* parameter.  If it is ``nullptr``, then the unit values
     * must match or else the open will fail with an error.  Otherwise
     * *auto_convert* parameter.  If it is a null pointer, then the unit
     * values must match or else the open will fail with an error.  Otherwise
     * the bitmask that *auto_convert* points to is used check for
     * compatibility with possible automatic conversions by the calling
     * function.  If compatible, the bitmask is set to the required
@@ -363,8 +363,8 @@ namespace LAMMPS_NS {
     *
     * \param name          file- or pathname of the potential file
     * \param lmp           pointer to top-level LAMMPS class instance
     * \param auto_convert  pointer to unit conversion bitmask or nullptr
     * \return              FILE pointer of the opened potential file or nullptr*/
     * \param auto_convert  pointer to unit conversion bitmask or ``nullptr``
     * \return              FILE pointer of the opened potential file or ``nullptr`` */

    FILE *open_potential(const std::string &name, LAMMPS *lmp, int *auto_convert);