potfit wiki

open source force-matching

User Tools

Site Tools


examples:potentials:pair:2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
examples_potentials_pair_2 [2013/08/16 14:01] – add warning danielexamples_potentials_pair_2 [2013/08/16 14:51] daniel
Line 20: Line 20:
 #E #E
  
 +# This is the definition of 1 global parameter called epsilon
 global 1 global 1
 epsilon 0.10    0.00    1.00 epsilon 0.10    0.00    1.00
Line 25: Line 26:
 type lj type lj
 cutoff 6.0 cutoff 6.0
 +# Use the global parameter epsilon
 epsilon! epsilon!
 sigma   2.50    1.00    4.00 sigma   2.50    1.00    4.00
Line 30: Line 32:
 type lj type lj
 cutoff 6.0 cutoff 6.0
 +# Use the global parameter epsilon
 epsilon! epsilon!
 sigma   2.50    1.00    4.00 sigma   2.50    1.00    4.00
Line 35: Line 38:
 type lj type lj
 cutoff 6.0 cutoff 6.0
-epsilon!+epsilon 0.10    0.00    1.00
 sigma   2.50    1.00    4.00 sigma   2.50    1.00    4.00
 </code> </code>
  
-The first parameter of each lj-potential (epsilon!) will be replaced with the epsilon+The first parameter of the first two lj-potentials (epsilon!) will be replaced with the epsilon
 parameter of the global section. This can be used to share parameters amongst several potentials. parameter of the global section. This can be used to share parameters amongst several potentials.
  
examples/potentials/pair/2.txt · Last modified: 2018/01/10 17:35 by daniel