Relevant code:
Parts(3, indexcount) = push(pi/2, 0.0d0,0.0d0,0.0d0, Parts(1, indexcount),Parts(2, indexcount), 0.01d0, 20000.0d0)
real(16) function push(phaseinit, yinit, pxinit, pyinit, a0, R, dt, Time_total)
implicit none
real(16) :: phaseinit, yinit, pxinit, pyinit, gammamax, I0, R_star, k_ratio, Vph
etc...
When compiling:
Error: Type mismatch in argument 'yinit' at (1); passed REAL(8) to REAL(16)
I tried to find online resources detailing how exactly to properly initialize a numerical value for a real(16)
, but I couldn't find anything. This seemingly allows me to initialize real(8)
, but I don't know what the corresponding procedure is for real(16)
.