The Elk Code
 
Loading...
Searching...
No Matches
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
6real(8) function fmin_nm(id,rd,x)
7implicit none
8! arguments
9integer, intent(in) :: id(*)
10real(8), intent(in) :: rd(*),x(*)
11! external functions
12real(8), external :: polefit
13select case(id(1))
14case(1)
15 fmin_nm=polefit(rd,x)
16case default
17 write(*,*)
18 write(*,'("Error(fmin_nm): function type not defined : ",I8)') id(1)
19 write(*,*)
20 stop
21end select
22end function
23
real(8) function fmin_nm(id, rd, x)
Definition fmin_nm.f90:7
real(8) function polefit(zfm, c)
Definition polefit.f90:7