EMPIRE DA  v1.9.1
Data assimilation codes using EMPIRE communication
 All Classes Files Functions Variables Pages
fcn.f90 File Reference

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...
 

Function/Subroutine Documentation

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.

Parameters
[in]nthe dimension of the optimzation problem
[in]xthe current optimization state
[out]fthe objective function value
[out]gthe gradient of the objective function

Definition at line 30 of file fcn.f90.

Here is the call graph for this function: