The Elk Code
findnjcmax.f90
Go to the documentation of this file.
1
2
! Copyright (C) 2018 J. K. Dewhurst, S. Sharma and E. K. U. Gross.
3
! This file is distributed under the terms of the GNU General Public License.
4
! See the file COPYING for license details.
5
6
subroutine
findnjcmax
7
use
modmain
8
implicit none
9
! local variables
10
integer
is,n
11
! find the maximum size of the spherical Bessel function array over all species
12
njcmax
=1
13
do
is=1,
nspecies
14
n=(
lmaxi
+1)*
nrcmti
(is)+(
lmaxo
+1)*(
nrcmt
(is)-
nrcmti
(is))
15
if
(n >
njcmax
)
njcmax
=n
16
end do
17
end subroutine
18
modmain::lmaxo
integer lmaxo
Definition:
modmain.f90:201
modmain
Definition:
modmain.f90:6
modmain::nspecies
integer nspecies
Definition:
modmain.f90:34
modmain::njcmax
integer njcmax
Definition:
modmain.f90:1173
modmain::nrcmt
integer, dimension(maxspecies) nrcmt
Definition:
modmain.f90:173
modmain::nrcmti
integer, dimension(maxspecies) nrcmti
Definition:
modmain.f90:211
findnjcmax
subroutine findnjcmax
Definition:
findnjcmax.f90:7
modmain::lmaxi
integer lmaxi
Definition:
modmain.f90:205
findnjcmax.f90
Generated by
1.8.14