EMPIRE DA
v1.9.1
Data assimilation codes using EMPIRE communication
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | fcn (n, x, f, g) |
This is the subroutine which the optimization routines call to get the objective function value and its gradient. More... | |
subroutine fcn | ( | integer, intent(in) | n, |
real(kind=kind(1.0d0)), dimension(n), intent(in) | x, | ||
real(kind=kind(1.0d0)), intent(out) | f, | ||
real(kind=kind(1.0d0)), dimension(n), intent(out) | g | ||
) |
This is the subroutine which the optimization routines call to get the objective function value and its gradient.
[in] | n | the dimension of the optimzation problem |
[in] | x | the current optimization state |
[out] | f | the objective function value |
[out] | g | the gradient of the objective function |
Definition at line 30 of file fcn.f90.