small tweaks
This commit is contained in:
@ -240,7 +240,8 @@ class Atom2D(Atom):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def position(self):
|
def position(self):
|
||||||
"""
|
"""Access to coordinates of an atom
|
||||||
|
|
||||||
:getter: Return position of atom
|
:getter: Return position of atom
|
||||||
:setter: Set position of atom
|
:setter: Set position of atom
|
||||||
:type: tuple (float, float)
|
:type: tuple (float, float)
|
||||||
@ -255,7 +256,7 @@ class Atom2D(Atom):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def velocity(self):
|
def velocity(self):
|
||||||
"""
|
"""Access to velocity of an atom
|
||||||
:getter: Return velocity of atom
|
:getter: Return velocity of atom
|
||||||
:setter: Set velocity of atom
|
:setter: Set velocity of atom
|
||||||
:type: tuple (float, float)
|
:type: tuple (float, float)
|
||||||
@ -270,8 +271,7 @@ class Atom2D(Atom):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def force(self):
|
def force(self):
|
||||||
"""
|
"""Access to force of an atom
|
||||||
Return the total force acting on the atom
|
|
||||||
|
|
||||||
:type: tuple (float, float)
|
:type: tuple (float, float)
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -62,7 +62,7 @@ namespace utils {
|
|||||||
*
|
*
|
||||||
* \param lmp pointer to LAMMPS class instance
|
* \param lmp pointer to LAMMPS class instance
|
||||||
* \param format format string of message to be printed
|
* \param format format string of message to be printed
|
||||||
* \param ... arguments to format string */
|
* \param args arguments to format string */
|
||||||
|
|
||||||
template <typename S, typename... Args> void logmesg(LAMMPS *lmp, const S &format, Args &&...args)
|
template <typename S, typename... Args> void logmesg(LAMMPS *lmp, const S &format, Args &&...args)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user