EMPIRE DA  v1.9.1
Data assimilation codes using EMPIRE communication
 All Classes Files Functions Variables Pages
fcn.f90
Go to the documentation of this file.
1 subroutine fcn( n, x, f, g )
2 implicit none
3 integer :: n
4 real(kind=kind(1.0d0)), dimension(n), intent(in) :: x
5 real(kind=kind(1.0d0)), intent(out) :: f
6 real(kind=kind(1.0d0)), dimension(n), intent(out) :: g
7 
8 ! Rosenbrock
9 
10 call objective_function(n,x,f) !get the objective function evaluated at x
11 
12 call objective_gradient(n,x,g) !get gradient of the objective function at x
13 
14 end subroutine fcn
15 
subroutine objective_gradient(n, x, g)
subroutine fcn(n, x, f, g)
This is the subroutine which the optimization routines call to get the objective function value and i...
Definition: 4denvar_fcn.f90:31
subroutine objective_function(n, x, f)