The Elk Code
fmin_nm.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2002-2007 J. K. Dewhurst, S. Sharma and C. Ambrosch-Draxl.
3 ! This file is distributed under the terms of the GNU General Public License.
4 ! See the file COPYING for license details.
5 
6 real(8) function fmin_nm(id,rd,x)
7 implicit none
8 ! arguments
9 integer, intent(in) :: id(*)
10 real(8), intent(in) :: rd(*),x(*)
11 ! external functions
12 real(8), external :: polefit
13 select case(id(1))
14 case(1)
15  fmin_nm=polefit(rd,x)
16 case default
17  write(*,*)
18  write(*,'("Error(fmin_nm): function type not defined : ",I8)') id(1)
19  write(*,*)
20  stop
21 end select
22 end function
23 
real(8) function polefit(zfm, c)
Definition: polefit.f90:7
real(8) function fmin_nm(id, rd, x)
Definition: fmin_nm.f90:7