cp2k/tools/scriptmini
Eisuke Kawashima 40b9ef4da9 Fix typo
2020-03-12 16:48:53 +01:00
..
README added docs 2009-05-13 13:01:27 +00:00
scriptmini.f90 Fix typo 2020-03-12 16:48:53 +01:00
scriptmini.in added docs 2009-05-13 13:01:27 +00:00
scriptmini_eval Fix typo 2020-03-12 16:48:53 +01:00

#
# a quite general derivative free approach to minimize stuff.
# basically scriptmini.f90 will compile into an executable which will
# minimize the script called scriptmini_eval
# communication between scriptmini.x and scriptmini_eval is through two files
# scriptmini_eval.in and scriptmini_eval.out
# the former contains the variables at which scriptmini_eval should evaluate the objective function
# while the later should contain the value of the objective function at these variables
#
# The 2 line how to goes as :
#
gfortran -O2 -o scriptmini.x scriptmini.f90
./scriptmini.x < scriptmini.in