Homec4science

avoid segfault when failing to open potential from LAMMPS_POTENTIALS use rewind…

Authored by Axel Kohlmeyer <akohlmey@gmail.com> on Oct 13 2014, 19:28.

Description

avoid segfault when failing to open potential from LAMMPS_POTENTIALS use rewind() instead of opening and closing the potential

Details

Committed
Axel Kohlmeyer <akohlmey@gmail.com>Oct 13 2014, 19:28
Pushed
jungeOct 6 2016, 16:49
Parents
rLAMMPS9f554da42e30: Merge remote-tracking branch 'lammps-ro/master' into lammps-icms
Branches
Unknown
Tags
Unknown

Event Timeline

Axel Kohlmeyer <akohlmey@gmail.com> committed rLAMMPS54d82e9c2528: avoid segfault when failing to open potential from LAMMPS_POTENTIALS use rewind… (authored by Axel Kohlmeyer <akohlmey@gmail.com>).Oct 13 2014, 19:28