Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | Y_R | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | Y_PHI | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | Y_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_PLL | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_MU | ||
real(kind=rp), | intent(in) | :: | m_cache | |||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCol | ||
type(FIELDS), | intent(in) | :: | F | |||
type(PROFILES), | intent(in) | :: | P | |||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | E_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | ne | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | PSIp |
subroutine advance_FPinterp_vars(params,Y_R,Y_PHI,Y_Z,V_PLL,V_MU, &
m_cache,flagCon,flagCol,F,P,E_PHI,ne,PSIp)
TYPE(KORC_PARAMS), INTENT(INOUT) :: params
!! Core KORC simulation parameters.
TYPE(PROFILES), INTENT(IN) :: P
TYPE(FIELDS), INTENT(IN) :: F
INTEGER(ip) :: tt
!! time iterator.
REAL(rp),DIMENSION(params%pchunk), INTENT(IN) :: Y_R,Y_PHI,Y_Z
REAL(rp),DIMENSION(params%pchunk), INTENT(INOUT) :: V_PLL,V_MU,PSIp
REAL(rp),DIMENSION(params%pchunk), INTENT(OUT) :: E_PHI
REAL(rp),intent(in) :: m_cache
INTEGER(is),DIMENSION(params%pchunk),intent(INOUT) :: flagCon,flagCol
REAL(rp),DIMENSION(params%pchunk), INTENT(OUT) :: ne
! write(output_unit_write,'("E_PHI_FP: ",E17.10)') E_PHI
do tt=1_ip,params%t_skip
call include_CoulombCollisions_GC_p(tt,params,Y_R,Y_PHI,Y_Z, &
V_PLL,V_MU,m_cache,flagCon,flagCol,F,P,E_PHI,ne,PSIp)
! write(output_unit_write,'("Collision Loop in FP")')
end do
! write(output_unit_write,'("V_PLL: ",E17.10)') V_PLL
! write(output_unit_write,'("V_MU: ",E17.10)') V_MU
end subroutine advance_FPinterp_vars