potfit wiki

open source force-matching

User Tools

Site Tools


fweight

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
fweight [2015/05/15 11:57] danielfweight [2018/01/02 16:49] (current) daniel
Line 13: Line 13:
 This can be a problem for very small reference values. By enabling the ''fweight'' compile option, each force component $F_k$ is weighted by the factor  This can be a problem for very small reference values. By enabling the ''fweight'' compile option, each force component $F_k$ is weighted by the factor 
  
-$$u_k=\frac{1}{(\boldsymbol F_k+\epsilon)^2}$$+$$u_k=\frac{1}{(\boldsymbol F_k^0+\epsilon)^2},$$
  
-This increases the importance of numerically small forces+where $\boldsymbol F_k^0$ is the magnitude of the force vector for atom $k$.
  
-The compile time parameter FORCE_EPS (in ''potfit.h'') prevents the overweighting of very tiny forces. The default for this value is 0.1.+This increases the relative contributions of numerically small forces to the error sum. 
 + 
 +The compile time parameter FORCE_EPS (in ''defines.h'') prevents the overweighting of very tiny forces. The default for this value is 0.1.
  
fweight.1431683871.txt.gz · Last modified: 2015/05/15 11:57 by daniel