# potfit wiki

open source force-matching

### Sidebar

User Guide

Examples

Potential Databases

More

output:tempfile

# Tempfile

The tempfile is written regularly during a simulation, depending on the optimization algorithm. It always contains the potential with the currently lowest sum of squares.

The file can be used to plot the current potential to see if it contains some unwanted features.

### Simulated Annealing

Every time a new minimum in the sum of squares is discovered, the tempfile is written.

### Differential Evolution

Same as Simulated Annealing, tempfile always contains the potential with the lowest sum of squares.

### Powell's Least Squares

Once every time the outer loop has successfully completed. This means after every line that is written to standard output the tempfile is written.

output/tempfile.txt · Last modified: 2018/09/23 11:02 by daniel