irradiapy.lammps.commands.write_restart module

This module contains the WriteRestart class for LAMMPS write_restart commands.

class irradiapy.lammps.commands.write_restart.WriteRestart(*, file, kw_vals=<factory>)[source]

Bases: Command

Class representing a LAMMPS write_restart command.

Reference

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

command()[source]

Generate the LAMMPS command.

Return type:

str

file: str
kw_vals: dict[str, str]