Skip to content
Snippets Groups Projects
Commit 25661c95 authored by Rudolf Zeller's avatar Rudolf Zeller Committed by Philipp Rüssmann
Browse files

introduced automatic determination of the factor between chebyshev interval lengths

parent f84b7091
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ contains
! .. Local variables
! real (kind=dp), parameter :: fac=2e0_dp
real (kind=dp), parameter :: fac=1.2e0_dp
real (kind=dp) :: fac
integer :: npan_inst, i_stat, i_all
integer :: i1, ir2, ip, icell
integer :: imin, imax, iminnew, imaxnew, lm1
......@@ -105,6 +105,7 @@ contains
! log panel
rmin = rmesh(2, i1)
rmax = r_log
fac = (rmax/rmin)**(1.d0/npan_log)
rval = 0e0_dp
ishift = 0
if (r_log>rmesh(irmin(i1),i1)) then
......@@ -162,6 +163,10 @@ contains
call chebmesh(npan_tot(i1), ncheb, rpan_intervall(0:,i1), rnew(1,i1))
! do ir2 = 1,50
! write(6,*) ir2, rnew(ir2,i1)
! end do
! do interpolation only when optional arguments are given
if (present(ntcell)) then
! interpolate shape function THETAS to new shape function THETASNEW
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment