![]() |
QMCPACK
|
Tests for variational parameter derivatives. More...
Go to the source code of this file.
Classes | |
class | GradientTest |
Namespaces | |
qmcplusplus | |
helper functions for EinsplineSetBuilder | |
Tests for variational parameter derivatives.
This optimization type will compare finite difference derivatives with the analytic derivatives. It can also output a file that can be used with 'qmca' to get error bars.
The input is placed under the batched linear optimizer (method="opt_batch"). It uses the 'optimize' tag with the 'method' attribute set to 'gradient_test' For example:
The output_param_file parameter defaults to 'no'. If 'yes', a file named "<project id>.param.s000.scalar.dat" is created. Each iteration of the optimizer loop outputs one line in the file. (The above example will produce 4 entries in the file). This is a hack to enable computing error bars on the parameter gradients.
Definition in file GradientTest.h.