Skip to content

Reference ABCMolecule ABCMolecule.to_vasp

ABCMolecule.to_vasp

to_vasp(filename, cartesian=None)

Write ABCMolecule object to .vasp file.

Parameters:

  • filename (str) –

    Name of .xyz file that will be created.

  • cartesian (bool | None, default: None ) –

    If True, .vasp file will contain cartesian coordinates. If False, .vasp file will contain direct coordinates. If not provided, .vasp file will default to self.positional coordinates.

Returns:

  • .vasp file containing ABCMolecule object.