Previous topic

mapp.md.atoms.ff_lj

Next topic

mapp.md.atoms.strain

mapp.md.atoms.import_cfg

atoms.import_cfg(cfg_file)

Imports cfg file to mapp.md.atoms.

This is a static function that is used to import a desired system presented in cfg (Atomeye) format to mapp.md.atoms object. It should be thought of a specialized constructor for mapp.md.atoms class.

Parameters:

cfg_file : string

path to cfg file

Returns:

mapp.dmd.atoms

object that holds the configuration of the system

Notes

both cfg formats (standard and extended) are supported.