Open g-bauer opened 8 years ago
I agree this is nice to have, but I would not add a separated table for that. As combining rules mainly (only?) make sense for Lennard-Jones, we can reuse the lj
key:
[input]
version = 1
[[pairs]]
atoms = ["A", "A"]
lj = {sigma = "... ", epsilon = ..."}
[[pairs]]
atoms = ["B", "B"]
lj = {sigma = "... ", epsilon = ..."}
[[pairs]]
atoms = ["A", "B"]
# Use previously defined parameters here
lj = {combine = "LorentzBerthelot"}
That plus #7 allow to use combining rules for all unspecified parameters:
[[pairs]]
atoms = ["*", "*"]
lj = {combine = "LorentzBerthelot"}
It would be very convenient to have combining rules. For example, specify in the input:
As an option, one would not need to specify A,B pair interactions. Instead, a combining rule is applied. Another possibility is to make the combining rule "global", i.e.: