small tweaks
This commit is contained in:
@ -2506,7 +2506,7 @@ length of the data area, and a short description.
|
|||||||
*
|
*
|
||||||
* \param name string with the keyword of the desired property.
|
* \param name string with the keyword of the desired property.
|
||||||
Typically the name of the pointer variable returned
|
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)
|
void *Atom::extract(const char *name)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -354,8 +354,8 @@ namespace LAMMPS_NS {
|
|||||||
* If the potential file has a ``UNITS`` tag in the first line, the
|
* If the potential file has a ``UNITS`` tag in the first line, the
|
||||||
* tag's value is compared to the current unit style setting.
|
* tag's value is compared to the current unit style setting.
|
||||||
* The behavior of the function then depends on the value of the
|
* The behavior of the function then depends on the value of the
|
||||||
* *auto_convert* parameter. If it is ``nullptr``, then the unit values
|
* *auto_convert* parameter. If it is a null pointer, then the unit
|
||||||
* must match or else the open will fail with an error. Otherwise
|
* values must match or else the open will fail with an error. Otherwise
|
||||||
* the bitmask that *auto_convert* points to is used check for
|
* the bitmask that *auto_convert* points to is used check for
|
||||||
* compatibility with possible automatic conversions by the calling
|
* compatibility with possible automatic conversions by the calling
|
||||||
* function. If compatible, the bitmask is set to the required
|
* 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 name file- or pathname of the potential file
|
||||||
* \param lmp pointer to top-level LAMMPS class instance
|
* \param lmp pointer to top-level LAMMPS class instance
|
||||||
* \param auto_convert pointer to unit conversion bitmask or nullptr
|
* \param auto_convert pointer to unit conversion bitmask or ``nullptr``
|
||||||
* \return FILE pointer of the opened potential file or nullptr*/
|
* \return FILE pointer of the opened potential file or ``nullptr`` */
|
||||||
|
|
||||||
FILE *open_potential(const std::string &name, LAMMPS *lmp, int *auto_convert);
|
FILE *open_potential(const std::string &name, LAMMPS *lmp, int *auto_convert);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user