--
Join us on Slack: https://join.slack.com/t/votca/signup
---
You received this message because you are subscribed to the Google Groups "votca" group.
To unsubscribe from this group and stop receiving emails from it, send an email to votca+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/votca/709b8ef5-1e86-4d54-aab5-13edf67f5b59n%40googlegroups.com.
2) That is correct. As far as I remember, in LAMMPS the entry of the .sw file has to contain both entries as you assumed. In this case (central atom of type 2! is <type1>) it than has to contain 213 and another potential for 231 for the 3 body interaction between 1-2-3. In votca (FM) I think, you also then should include two potentials (and define both of them in the fmatch.xml file, as described in https://www.votca.org/csg/methods.html#force-matching and also the tutorial) here with the entries
<threebody>true</threebody>and
<threebody>true</threebody>But I would try both. With two entries and with only one, as e.g.
and then compare the result. I would assume that in the second case the potential f(3b)(theta) is just 2 times the one of the first case. But please double check."
Concerning the second question, I did a quick test of declaring redundant angle potentials (i.e. swapping the order of the 1st and 3rd atom forming the angle) in the fmatch.xml. I got some very weird results: the plots below are the forces I got as an output (before any smoothening, for what is worth it) for redundant 3 body terms. In the plots, the sequence of three atoms corresponding to each line are now informed with the central atom coming first and the blue line is the sum of both forces, showing that the forces of redundant potentials mirror each other and sum to 0. Basically all the "force matching" is being done with the other two pairwise potentials I had in the fmatch.xml file.

I am gonna leave my files here in a tarball in case anyone is interested in reproducing/exploring further (https://drive.google.com/file/d/1oMWZbv2wzf_ZO5iAogu7M2r7MIRlN8WG/view?usp=sharing). For what is worth it, you probably can extend a bit the min/max range for the 3 body terms as I didnt put precisely the most optimal values within the scope of the sampled region to make this test. Given that I got reasonable results by not declaring redundant potentials in the xml file, I would say that you should not declare redundant potentials in the fmatch.xml file (but yes, ofc later in the LAMMPS pair_style the story changes as you can find out in the LAMMPS manual).