must have a verbatim block to include .. versionadded::
This commit is contained in:
@ -2587,6 +2587,7 @@ Nurdin
|
|||||||
Nvalue
|
Nvalue
|
||||||
nvaluelast
|
nvaluelast
|
||||||
Nvalues
|
Nvalues
|
||||||
|
nvar
|
||||||
nvc
|
nvc
|
||||||
nvcc
|
nvcc
|
||||||
nve
|
nve
|
||||||
|
|||||||
@ -2465,17 +2465,21 @@ int lammps_set_variable(void *handle, char *name, char *str)
|
|||||||
|
|
||||||
/** Retrieve informational string for a variable.
|
/** Retrieve informational string for a variable.
|
||||||
*
|
*
|
||||||
* .. versionadded:: TBD
|
\verbatim embed:rst
|
||||||
*
|
|
||||||
* This function copies a string with human readable information about
|
.. versionadded:: TBD
|
||||||
* a defined variable: name, style, current value(s) into the provided
|
|
||||||
* C-style string buffer. That is the same info as produced by the
|
This function copies a string with human readable information about
|
||||||
* :doc:`info variables <info>` command. The length of the buffer must
|
a defined variable: name, style, current value(s) into the provided
|
||||||
* be provided as *buf_size* argument. If the info exceeds the length
|
C-style string buffer. That is the same info as produced by the
|
||||||
* of the buffer, it will be truncated accordingly. If the index is
|
:doc:`info variables <info>` command. The length of the buffer must
|
||||||
* out of range, the function returns 0 and *buffer* is set to an empty
|
be provided as *buf_size* argument. If the info exceeds the length
|
||||||
* string, otherwise 1.
|
of the buffer, it will be truncated accordingly. If the index is
|
||||||
*
|
out of range, the function returns 0 and *buffer* is set to an empty
|
||||||
|
string, otherwise 1.
|
||||||
|
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
* \param handle pointer to a previously created LAMMPS instance cast to ``void *``.
|
* \param handle pointer to a previously created LAMMPS instance cast to ``void *``.
|
||||||
* \param idx index of the variable (0 <= idx < nvar)
|
* \param idx index of the variable (0 <= idx < nvar)
|
||||||
* \param buffer string buffer to copy the info to
|
* \param buffer string buffer to copy the info to
|
||||||
|
|||||||
Reference in New Issue
Block a user