DATAFormatter

class sknano.io.lammps_data.DATAFormatter(atom_style='full', bond_style=None, angle_style=None, dihedral_style=None, improper_style=None, pair_style=None, **kwargs)[source] [edit on github][source]

Bases: sknano.io.StructureIOFormatter

StructureDataFormatter class the LAMMPS data format spec.

Parameters:
  • atom_style (str) – LAMMPS atom style.
  • bond_style (str) –
  • angle_style (str) –
  • dihedral_style (str) –
  • improper_style (str) –
  • pair_style (str) –

Attributes

angle_style LAMMPS data angle_style.
atom_style LAMMPS data atom_style.
bond_style LAMMPS data bond_style.
dihedral_style LAMMPS data dihedral_style.
fmtstr Format string.
improper_style LAMMPS data improper_style.
pair_style LAMMPS data pair_style.

Methods

format() Return str of dump attributes formatted for an output stream.
todict() Return dict of constructor parameters.

Attributes Summary

angle_style LAMMPS data angle_style.
atom_style LAMMPS data atom_style.
bond_style LAMMPS data bond_style.
dihedral_style LAMMPS data dihedral_style.
improper_style LAMMPS data improper_style.
pair_style LAMMPS data pair_style.

Methods Summary

format() Return str of dump attributes formatted for an output stream.
todict() Return dict of constructor parameters.

Attributes Documentation

angle_style

LAMMPS data angle_style.

atom_style

LAMMPS data atom_style.

bond_style

LAMMPS data bond_style.

dihedral_style

LAMMPS data dihedral_style.

improper_style

LAMMPS data improper_style.

pair_style

LAMMPS data pair_style.

Methods Documentation

format()[source] [edit on github][source]

Return str of dump attributes formatted for an output stream.

todict()[source] [edit on github][source]

Return dict of constructor parameters.