Octopus
minimizer_tests.F90 File Reference

Go to the source code of this file.

Modules

module  minimizer_tests_oct_m
 This modules takes care of testing optimizers using standard test functions.
 

Functions/Subroutines

subroutine, public minimizer_tests_oct_m::test_optimizers (namespace)
 Unit tests for different optimizers. More...
 
subroutine minimizer_tests_oct_m::rosenbrock_gradient_2d (n, x, val, getgrad, grad)
 Gradient of the Rosenbrock function. More...
 
subroutine minimizer_tests_oct_m::sphere_gradient_2d (n, x, val, getgrad, grad)
 Gradient of the sphere function. More...
 
subroutine minimizer_tests_oct_m::rastrigin_gradient_2d (n, x, val, getgrad, grad)
 Gradient of the Rastrigin function. More...
 
subroutine minimizer_tests_oct_m::write_iter_info (iter, n, val, maxdr, maxgrad, x)
 Helper function required by the minimizer. More...
 
subroutine minimizer_tests_oct_m::set_log_file (name)
 Set the log‐file name before running each test. More...
 

Variables

character(len=:), allocatable minimizer_tests_oct_m::current_log
 Name of the current log file for write_iter_info. More...