The Elk Code
 
Loading...
Searching...
No Matches
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
6subroutine findnjcmax
7use modmain
8implicit none
9! local variables
10integer is,n
11! find the maximum size of the spherical Bessel function array over all species
12njcmax=1
13do is=1,nspecies
14 n=(lmaxi+1)*nrcmti(is)+(lmaxo+1)*(nrcmt(is)-nrcmti(is))
15 if (n > njcmax) njcmax=n
16end do
17end subroutine
18
subroutine findnjcmax
Definition findnjcmax.f90:7
integer njcmax
Definition modmain.f90:1170
integer, dimension(maxspecies) nrcmt
Definition modmain.f90:173
integer lmaxo
Definition modmain.f90:201
integer lmaxi
Definition modmain.f90:205
integer, dimension(maxspecies) nrcmti
Definition modmain.f90:211
integer nspecies
Definition modmain.f90:34