Homec4science

Change how a Python pair style is loaded

Authored by Richard Berger <richard.berger@temple.edu> on May 17 2017, 05:29.

Description

Change how a Python pair style is loaded

Implements a class loader which takes a fully qualified Python class
name, loads the module and creates an object instance.

To add flexibility, the current working directory and the
directory specified by the LAMMPS_POTENTIALS environment variable are
added to the module search path.

Details

Event Timeline

Richard Berger <richard.berger@temple.edu> committed rLAMMPS7caf6cf459d3: Change how a Python pair style is loaded (authored by Richard Berger <richard.berger@temple.edu>).May 17 2017, 05:29