irradiapy.lammps.commands.variable module

This module contains the Variable class for LAMMPS variable commands.

class irradiapy.lammps.commands.variable.Variable(*, name, style, args=<factory>)[source]

Bases: Command

Class representing a LAMMPS variable command.

Reference

https://docs.lammps.org/variable.html

args: list[str]
command()[source]

Generate the LAMMPS command.

Return type:

str

delete()[source]

Returns the corresponding Variable instance to delete this variable.

Return type:

str

name: str
style: str