src: remove unused parameters
This commit is contained in:
parent
7818ac731c
commit
d18e05353a
@ -10,7 +10,7 @@ contains
|
|||||||
subroutine init_btr(rtrparam,ywork,ypwork,xc,du1,gri,ggri,psjki,ppabs,ccci, &
|
subroutine init_btr(rtrparam,ywork,ypwork,xc,du1,gri,ggri,psjki,ppabs,ccci, &
|
||||||
tau0,alphaabs0,dids0,ccci0,p0jk,ext,eyt,iiv)
|
tau0,alphaabs0,dids0,ccci0,p0jk,ext,eyt,iiv)
|
||||||
use gray_params, only : raytracing_parameters
|
use gray_params, only : raytracing_parameters
|
||||||
use const_and_precisions, only : zero,half,two
|
use const_and_precisions, only : half,two
|
||||||
implicit none
|
implicit none
|
||||||
type(raytracing_parameters), intent(in) :: rtrparam
|
type(raytracing_parameters), intent(in) :: rtrparam
|
||||||
real(wp_), dimension(:,:), intent(out), pointer :: ywork,ypwork, &
|
real(wp_), dimension(:,:), intent(out), pointer :: ywork,ypwork, &
|
||||||
|
@ -50,7 +50,6 @@ contains
|
|||||||
! Reads the wave launcher parameters for the case
|
! Reads the wave launcher parameters for the case
|
||||||
! where w(z, α) and 1/R(z, α) depend on the launcher angle α.
|
! where w(z, α) and 1/R(z, α) depend on the launcher angle α.
|
||||||
|
|
||||||
use const_and_precisions, only : pi,vc=>ccgs_
|
|
||||||
use gray_params, only : antenna_parameters
|
use gray_params, only : antenna_parameters
|
||||||
use simplespline, only : spli, difcs
|
use simplespline, only : spli, difcs
|
||||||
use utils, only : get_free_unit,locate
|
use utils, only : get_free_unit,locate
|
||||||
|
@ -18,7 +18,6 @@ contains
|
|||||||
real(wp_), intent(in) :: psin
|
real(wp_), intent(in) :: psin
|
||||||
real(wp_), intent(out) :: dens,ddens
|
real(wp_), intent(out) :: dens,ddens
|
||||||
! local variables
|
! local variables
|
||||||
integer, parameter :: nn=3, nn1=nn+1, nn2=nn+2
|
|
||||||
integer :: ier,nu
|
integer :: ier,nu
|
||||||
real(wp_) :: profd,dprofd,dpsib,tt,fp,dfp,fh,dfh
|
real(wp_) :: profd,dprofd,dpsib,tt,fp,dfp,fh,dfh
|
||||||
real(wp_), dimension(1) :: xxs,ffs
|
real(wp_), dimension(1) :: xxs,ffs
|
||||||
|
@ -44,8 +44,7 @@ subroutine harmnumber(yg,mu,npl,nhmin,nhmax,iwr)
|
|||||||
! local constants
|
! local constants
|
||||||
! expcr = maximum value for mu*(gamma-1) above which the distribution function
|
! expcr = maximum value for mu*(gamma-1) above which the distribution function
|
||||||
! is considered to be 0
|
! is considered to be 0
|
||||||
! eps = small number to have a correct rounding when ygnc/yg is an integer
|
real(wp_), parameter :: expcr=16.0_wp_
|
||||||
real(wp_), parameter :: expcr=16.0_wp_,eps=1.e-8_wp_
|
|
||||||
! arguments
|
! arguments
|
||||||
! yg = omegac/omega
|
! yg = omegac/omega
|
||||||
! npl = parallel N
|
! npl = parallel N
|
||||||
|
@ -863,7 +863,7 @@ contains
|
|||||||
REAL(wp_), INTENT(out) :: K,dKdu
|
REAL(wp_), INTENT(out) :: K,dKdu
|
||||||
INTEGER :: nfun
|
INTEGER :: nfun
|
||||||
REAL(wp_) :: gam2,err,flag,Integr
|
REAL(wp_) :: gam2,err,flag,Integr
|
||||||
REAL(wp_), PARAMETER :: a = zero, b = one, rtol = 1e-4_wp_, atol = 1e-12_wp_
|
REAL(wp_), PARAMETER :: rtol = 1e-4_wp_, atol = 1e-12_wp_
|
||||||
|
|
||||||
r2 = (1+Zeff)/fc ! global parameter needed for integrand, HSL_f(t)
|
r2 = (1+Zeff)/fc ! global parameter needed for integrand, HSL_f(t)
|
||||||
|
|
||||||
|
@ -617,7 +617,7 @@ contains
|
|||||||
ywrk0,ypwrk0,xc0,du10,gri,ggri,index_rt)
|
ywrk0,ypwrk0,xc0,du10,gri,ggri,index_rt)
|
||||||
! beam tracing initial conditions igrad=1
|
! beam tracing initial conditions igrad=1
|
||||||
! !!!!!! check ray tracing initial conditions igrad=0 !!!!!!
|
! !!!!!! check ray tracing initial conditions igrad=0 !!!!!!
|
||||||
use const_and_precisions, only : wp_,izero,zero,one,pi,half,two,degree,ui=>im
|
use const_and_precisions, only : wp_,zero,one,pi,half,two,degree,ui=>im
|
||||||
use math, only : catand
|
use math, only : catand
|
||||||
use gray_params, only : idst
|
use gray_params, only : idst
|
||||||
use beamdata, only : nray,nrayr,nrayth,rwmax
|
use beamdata, only : nray,nrayr,nrayth,rwmax
|
||||||
@ -1227,7 +1227,7 @@ contains
|
|||||||
|
|
||||||
subroutine plas_deriv(xv,bres,xgcn,psinv,dens,btot,bv,derbv, &
|
subroutine plas_deriv(xv,bres,xgcn,psinv,dens,btot,bv,derbv, &
|
||||||
xg,yg,derxg,deryg,ajphi)
|
xg,yg,derxg,deryg,ajphi)
|
||||||
use const_and_precisions, only : wp_,zero,pi,ccj=>mu0inv
|
use const_and_precisions, only : wp_,zero,ccj=>mu0inv
|
||||||
use gray_params, only : iequil
|
use gray_params, only : iequil
|
||||||
use equilibrium, only : psia,equinum_fpol,equinum_psi,equian,sgnbphi
|
use equilibrium, only : psia,equinum_fpol,equinum_psi,equian,sgnbphi
|
||||||
use coreprofiles, only : density
|
use coreprofiles, only : density
|
||||||
@ -1523,8 +1523,6 @@ contains
|
|||||||
real(wp_),intent(out) :: anprre,anprim,alpha,didp
|
real(wp_),intent(out) :: anprre,anprim,alpha,didp
|
||||||
integer, intent(out) :: nhmin,nhmax,iokhawa
|
integer, intent(out) :: nhmin,nhmax,iokhawa
|
||||||
integer, intent(out) :: error
|
integer, intent(out) :: error
|
||||||
! local constants
|
|
||||||
real(wp_), parameter :: taucr=12.0_wp_,xxcr=16.0_wp_,eps=1.e-8_wp_
|
|
||||||
! local variables
|
! local variables
|
||||||
real(wp_) :: rbavi,rrii,rhop
|
real(wp_) :: rbavi,rrii,rhop
|
||||||
integer :: lrm,ithn,ierrcd
|
integer :: lrm,ithn,ierrcd
|
||||||
@ -2044,7 +2042,6 @@ bb: do
|
|||||||
|
|
||||||
|
|
||||||
subroutine print_surfq(qval)
|
subroutine print_surfq(qval)
|
||||||
use const_and_precisions, only : wp_, one
|
|
||||||
use equilibrium, only : psinr,nq,fq,frhotor,rmaxis,zmaxis, &
|
use equilibrium, only : psinr,nq,fq,frhotor,rmaxis,zmaxis, &
|
||||||
zbsup,zbinf
|
zbsup,zbinf
|
||||||
use magsurf_data, only : contours_psi,npoints,print_contour
|
use magsurf_data, only : contours_psi,npoints,print_contour
|
||||||
|
@ -115,7 +115,7 @@ contains
|
|||||||
integer, parameter :: nnintp=101,ncnt=100,nlam=101,ksp=3, &
|
integer, parameter :: nnintp=101,ncnt=100,nlam=101,ksp=3, &
|
||||||
njest=nnintp+ksp+1,nlest=nlam+ksp+1, &
|
njest=nnintp+ksp+1,nlest=nlam+ksp+1, &
|
||||||
lwrk=4*(nnintp+nlam)+11*(njest+nlest)+njest*nnintp+nlest+54, &
|
lwrk=4*(nnintp+nlam)+11*(njest+nlest)+njest*nnintp+nlest+54, &
|
||||||
kwrk=nnintp+nlam+njest+nlest+3,lw01=nnintp*4+nlam*3+nnintp*nlam
|
kwrk=nnintp+nlam+njest+nlest+3
|
||||||
|
|
||||||
! local variables
|
! local variables
|
||||||
integer :: ier,ierr,l,jp,inc,inc1,iopt,njp,nlm,ninpr
|
integer :: ier,ierr,l,jp,inc,inc1,iopt,njp,nlm,ninpr
|
||||||
|
@ -83,8 +83,6 @@ contains
|
|||||||
use gray_params, only : nnd
|
use gray_params, only : nnd
|
||||||
use beamdata, only : nray,nstep
|
use beamdata, only : nray,nstep
|
||||||
implicit none
|
implicit none
|
||||||
! local constants
|
|
||||||
real(wp_), parameter :: rtbc=one
|
|
||||||
! arguments
|
! arguments
|
||||||
real(wp_), dimension(nray,nstep), intent(in) :: psjki,ppabs,ccci
|
real(wp_), dimension(nray,nstep), intent(in) :: psjki,ppabs,ccci
|
||||||
integer, dimension(nray), intent(in) :: iiv
|
integer, dimension(nray), intent(in) :: iiv
|
||||||
|
@ -47,7 +47,7 @@ contains
|
|||||||
end subroutine polellipse
|
end subroutine polellipse
|
||||||
|
|
||||||
subroutine pol_limit(anv,bv,bres,sox,ext,eyt) !,gam)
|
subroutine pol_limit(anv,bv,bres,sox,ext,eyt) !,gam)
|
||||||
use const_and_precisions, only : wp_,ui=>im,pi,zero,one
|
use const_and_precisions, only : wp_,ui=>im,zero,one
|
||||||
implicit none
|
implicit none
|
||||||
! arguments
|
! arguments
|
||||||
real(wp_), dimension(3), intent(in) :: anv,bv
|
real(wp_), dimension(3), intent(in) :: anv,bv
|
||||||
|
Loading…
Reference in New Issue
Block a user