!--------------------------------------------------------------------------------! Copyright (c) 2016 Peter Grünberg Institut, Forschungszentrum Jülich, Germany! This file is part of FLEUR and available as free software under the conditions! of the MIT license as expressed in the LICENSE file in more detail.!--------------------------------------------------------------------------------

don=1,ntypelwn=lmax(n)c...generatethej_lpp(br)ontheradialgriddoi=1,jri(n)gs=rk*rmsh(i,n)callsphbes(lwn,gs,jlpp)jj(:,i)=jlpp(:)enddodolpp=0,lwn! lpp is the ang. momentum of the bessel functionc***************************************************************************c...thelocalorbitalsoverlapsc***************************************************************************if(nlo(n).GE.1)thendolop=1,nlo(n)dolo=1,nlo(n)l=llo(lo,n)lp=llo(lop,n)lmini=abs(lp-l)lmaxi=lp+lc..thegauntconditionsif((mod(l+lp+lpp,2).eq.1).or.(lpp.LT.lmini).or.+(lpp.gt.lmaxi))thenulojulo(lo,lop,lpp)=0.elsedoi=1,jri(n)