From 4b25eb1a34d3d7cd689e30bef113e8f7536f73ec Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 15 Sep 2020 19:07:30 -0400 Subject: [PATCH] small tweaks --- src/atom.cpp | 2 +- src/utils.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/atom.cpp b/src/atom.cpp index baaadad2be..b0cec36459 100644 --- a/src/atom.cpp +++ b/src/atom.cpp @@ -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) { diff --git a/src/utils.h b/src/utils.h index c9e958365d..840ddf549b 100644 --- a/src/utils.h +++ b/src/utils.h @@ -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);