LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] pair_style polymorphic command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] pair_style polymorphic command

From: Steve Plimpton <sjplimp@...24...>
Date: Fri, 30 Jun 2017 09:19:21 -0600

I think that would require creating a new derived class
that overwrites one of the methods
in pair_polymorphic.cpp with your new analytic form.

E.g. the attractive() or ters_zetaterm_d() methods.

I'm CCing the authors to see if they have further comments.


On Tue, Jun 27, 2017 at 2:48 PM, Samantha Walker <samanthakaylanwalker@...24...> wrote:
Dear Lammps-community,

In the pair_style polymorphic command documentation, I understand that users can modify the six functions (U, V, F, P, W, G) to create their own analytical or tabular form of the potentials. I am looking to modify to a Stillenger-Weber like three-body term. Where do I modify these six functions for the analytical form? If I understand correctly, the examples in the "potential" folder are for the tabulated form. Is there an example for the analytical form?

Thank you,
Sammy Walker

Check out the vibrant tech community on one of the world's most
engaging tech sites,!
lammps-users mailing list