30 subroutine fcn( n, x, f, g )
34 integer,
intent(in) :: n
35 real(kind=kind(1.0d0)),
dimension(n),
intent(in) :: x
37 real(kind=kind(1.0d0)),
intent(out) :: f
38 real(kind=kind(1.0d0)),
dimension(n),
intent(out) :: g
41 select case(pf%filter)
45 write(emp_e,*)
'wrong case in fcn'
Module that stores the information about the outputting from empire.
subroutine threedvar_fcn(n, x, f, g)
subroutine to provide the objective function and gradient for 3dvar
module pf_control holds all the information to control the the main program
subroutine fcn(n, x, f, g)
This is the subroutine which the optimization routines call to get the objective function value and i...