9 diff_vtor, vconv_vtor, &
38 TYPE (type_coretransp
),
POINTER :: coretransp_in(:)
39 TYPE (type_coretransp
),
POINTER :: coretransp_out(:)
43 INTEGER,
PARAMETER :: nslice = 1
48 INTEGER,
ALLOCATABLE :: nzimp(:)
50 INTEGER :: nneut, ineut
51 INTEGER,
ALLOCATABLE :: ncomp(:)
52 INTEGER,
ALLOCATABLE :: ntype(:)
56 REAL(R8) :: diff_ni(30), vconv_ni(30)
57 REAL(R8) :: diff_ti(30), vconv_ti(30)
58 REAL(R8) :: diff_ne, vconv_ne
59 REAL(R8) :: diff_te, vconv_te
60 REAL(R8) :: diff_vtor(30), vconv_vtor(30)
61 REAL(R8) :: diff_nz(100), vconv_nz(100)
62 REAL(R8) :: diff_tz(100), vconv_tz(100)
65 nrho =
SIZE (coretransp_in(1)%VALUES(1)%rho_tor, dim=1)
66 CALL
get_comp_dimensions(coretransp_in(1)%COMPOSITIONS, nnucl, nion, nimp, nzimp, nneut, ntype, ncomp)
71 ALLOCATE (coretransp_out(1))
72 CALL copy_cpo(coretransp_in(1), coretransp_out(1))
78 IF (coretransp_out(1)%VALUES(1)%rho_tor(irho)/coretransp_out(1)%VALUES(1)%rho_tor(nrho) .GT. rho_etb)
THEN
80 coretransp_out(1)%VALUES(1)%te_transp%diff_eff(irho) = diff_te
81 coretransp_out(1)%VALUES(1)%te_transp%vconv_eff(irho) = vconv_te
82 coretransp_out(1)%VALUES(1)%ne_transp%diff_eff(irho,1) = diff_ne
83 coretransp_out(1)%VALUES(1)%ne_transp%vconv_eff(irho,1) = vconv_ne
84 coretransp_out(1)%VALUES(1)%ne_transp%diff_eff(irho,2) = 0.0_r8
85 coretransp_out(1)%VALUES(1)%ne_transp%vconv_eff(irho,2) = 0.0_r8
86 coretransp_out(1)%VALUES(1)%ne_transp%diff_eff(irho,3) = 0.0_r8
87 coretransp_out(1)%VALUES(1)%ne_transp%vconv_eff(irho,3) = 0.0_r8
90 coretransp_out(1)%VALUES(1)%ni_transp%diff_eff(irho,iion,1) = diff_ni(iion)
91 coretransp_out(1)%VALUES(1)%ni_transp%vconv_eff(irho,iion,1) = vconv_ni(iion)
92 coretransp_out(1)%VALUES(1)%ni_transp%diff_eff(irho,iion,2) = 0.0_r8
93 coretransp_out(1)%VALUES(1)%ni_transp%vconv_eff(irho,iion,2) = 0.0_r8
94 coretransp_out(1)%VALUES(1)%ni_transp%diff_eff(irho,iion,3) = 0.0_r8
95 coretransp_out(1)%VALUES(1)%ni_transp%vconv_eff(irho,iion,3) = 0.0_r8
96 coretransp_out(1)%VALUES(1)%ti_transp%diff_eff(irho,iion) = diff_ti(iion)
97 coretransp_out(1)%VALUES(1)%ti_transp%vconv_eff(irho,iion) = vconv_ti(iion)
98 coretransp_out(1)%VALUES(1)%vtor_transp%diff_eff(irho,iion) = diff_vtor(iion)
99 coretransp_out(1)%VALUES(1)%vtor_transp%vconv_eff(irho,iion) = vconv_vtor(iion)
104 DO izimp = 1, nzimp(iimp)
105 coretransp_out(1)%VALUES(1)%nz_transp(iimp)%diff_eff(irho,izimp) = diff_nz(iimp)
106 coretransp_out(1)%VALUES(1)%nz_transp(iimp)%vconv_eff(irho,izimp)= vconv_nz(iimp)
107 coretransp_out(1)%VALUES(1)%tz_transp(iimp)%diff_eff(irho,izimp) = diff_tz(iimp)
108 coretransp_out(1)%VALUES(1)%tz_transp(iimp)%vconv_eff(irho,izimp)= vconv_tz(iimp)
subroutine get_comp_dimensions(COMPOSITIONS, NNUCL, NION, NIMP, NZIMP, NNEUT, NTYPE, NCOMP)
This module contains routines for allocation/deallocation if CPOs used in ETS.
subroutine etb_transport(CORETRANSP_IN, CORETRANSP_OUT, DIFF_NI, VCONV_NI, DIFF_NE, VCONV_NE, DIFF_TI, VCONV_TI, DIFF_TE, VCONV_TE, DIFF_VTOR, VCONV_VTOR, DIFF_NZ, VCONV_NZ, DIFF_TZ, VCONV_TZ, RHO_ETB)