Commit Graph

10 Commits

Author SHA1 Message Date
a1665fddc8 next iteration of preparing for clang-format 2021-04-30 13:51:14 -04:00
980244dd0c add protection comments 2021-04-27 22:31:01 -04:00
df7fe4431f make LAMMPS homepage URL and C++ indicator comments consistent 2021-04-22 21:26:07 -04:00
0aa9aa96f6 Update pair_python 2021-04-06 14:50:08 -04:00
649a8cc01a Fix typo 2020-03-14 13:57:48 +09:00
5221ac2d55 add placeholders to include files for error messges 2018-04-03 17:48:31 -06:00
67962b15fc a bunch refactoring changes in the python pair style and the examples
- make all python potential classes derived from LAMMPSPairPotential
  which contains shared functionality. We currently don't check
  for supported atom types. may want to add that again later.
- keep track of skipped atom types in the C++ code.
- add test against units setting. must set self.units='...' in constructor
- make compute_force method consistent with Pair::single() in LAMMPS and return force/r instead of force.
- rename potentials.py to py_pot.py
- update test runs. some small tweaks.
2017-05-17 20:55:48 -04:00
43efe9e417 adding Pair::single() support to python pair style and examples
with the single function, python pair styles can be massively
sped up and made compatible to accelerators, as one can translate
the analytic force and energy functions through LAMMPS into suitable
tables and then simply use the on-the-fly tables for production runs
2017-05-17 17:20:56 -04:00
6e113c1eaf basic feature complete version of lj melt example with python interaction function 2017-05-15 00:15:41 -04:00
34cc3946b8 first few pieces of pair style python 2017-05-14 18:29:06 -04:00