53 USE deallocate_structures
57 INTEGER :: nslice, islice
59 INTEGER :: nnucl, inucl
62 INTEGER,
ALLOCATABLE :: nzimp(:)
64 INTEGER :: nneut, ineut
65 INTEGER,
ALLOCATABLE :: ncomp(:)
67 INTEGER,
ALLOCATABLE :: ntype(:)
70 TYPE (type_coreprof
),
POINTER :: coreprof(:)
71 TYPE (type_compositions_type
) :: compositions
75 ALLOCATE (coreprof(nslice))
81 CALL deallocate_cpo(coreprof(islice)%compositions)
82 CALL copy_cpo(compositions, coreprof(islice)%compositions)
86 ALLOCATE (coreprof(islice)%codeparam%codename(1))
87 ALLOCATE (coreprof(islice)%codeparam%codeversion(1))
88 ALLOCATE (coreprof(islice)%codeparam%output_diag(1))
92 ALLOCATE (coreprof(islice)%rho_tor(nrho))
93 ALLOCATE (coreprof(islice)%rho_tor_norm(nrho))
98 ALLOCATE (coreprof(islice)%psi%value(nrho))
99 ALLOCATE (coreprof(islice)%ni%value(nrho,nion))
100 ALLOCATE (coreprof(islice)%ne%value(nrho))
101 ALLOCATE (coreprof(islice)%ti%value(nrho,nion))
102 ALLOCATE (coreprof(islice)%te%value(nrho))
103 ALLOCATE (coreprof(islice)%vtor%value(nrho,nion))
107 ALLOCATE (coreprof(islice)%psi%ddrho(nrho))
108 ALLOCATE (coreprof(islice)%ni%ddrho(nrho,nion))
109 ALLOCATE (coreprof(islice)%ne%ddrho(nrho))
110 ALLOCATE (coreprof(islice)%ti%ddrho(nrho,nion))
111 ALLOCATE (coreprof(islice)%te%ddrho(nrho))
112 ALLOCATE (coreprof(islice)%vtor%ddrho(nrho,nion))
116 ALLOCATE (coreprof(islice)%ni%flag(nion))
117 ALLOCATE (coreprof(islice)%ti%flag(nion))
118 ALLOCATE (coreprof(islice)%vtor%flag(nion))
120 ALLOCATE (coreprof(islice)%ni%boundary%type(nion))
121 ALLOCATE (coreprof(islice)%ti%boundary%type(nion))
122 ALLOCATE (coreprof(islice)%vtor%boundary%type(nion))
124 ALLOCATE (coreprof(islice)%ni%boundary%rho_tor(nion))
125 ALLOCATE (coreprof(islice)%ti%boundary%rho_tor(nion))
126 ALLOCATE (coreprof(islice)%vtor%boundary%rho_tor(nion))
128 ALLOCATE (coreprof(islice)%psi%boundary%value(3))
129 ALLOCATE (coreprof(islice)%ni%boundary%value(3,nion))
130 ALLOCATE (coreprof(islice)%ne%boundary%value(3))
131 ALLOCATE (coreprof(islice)%ti%boundary%value(3,nion))
132 ALLOCATE (coreprof(islice)%te%boundary%value(3))
133 ALLOCATE (coreprof(islice)%vtor%boundary%value(3,nion))
137 ALLOCATE (coreprof(islice)%psi%sigma_par%value(nrho))
138 ALLOCATE (coreprof(islice)%ni%transp_coef%diff(nrho,nion))
139 ALLOCATE (coreprof(islice)%ne%transp_coef%diff(nrho))
140 ALLOCATE (coreprof(islice)%ti%transp_coef%diff(nrho,nion))
141 ALLOCATE (coreprof(islice)%te%transp_coef%diff(nrho))
142 ALLOCATE (coreprof(islice)%vtor%transp_coef%diff(nrho,nion))
143 ALLOCATE (coreprof(islice)%ni%transp_coef%vconv(nrho,nion))
144 ALLOCATE (coreprof(islice)%ne%transp_coef%vconv(nrho))
145 ALLOCATE (coreprof(islice)%ti%transp_coef%vconv(nrho,nion))
146 ALLOCATE (coreprof(islice)%te%transp_coef%vconv(nrho))
147 ALLOCATE (coreprof(islice)%vtor%transp_coef%vconv(nrho,nion))
148 ALLOCATE (coreprof(islice)%profiles1d%wtor%value(nrho,nion))
152 ALLOCATE (coreprof(islice)%ni%flux%flux_dv(nrho,nion))
153 ALLOCATE (coreprof(islice)%ne%flux%flux_dv(nrho))
154 ALLOCATE (coreprof(islice)%ti%flux%flux_dv(nrho,nion))
155 ALLOCATE (coreprof(islice)%te%flux%flux_dv(nrho))
156 ALLOCATE (coreprof(islice)%vtor%flux%flux_dv(nrho,nion))
160 ALLOCATE (coreprof(islice)%psi%jni%value(nrho))
161 ALLOCATE (coreprof(islice)%ni%source_term%value(nrho,nion))
162 ALLOCATE (coreprof(islice)%ni%source_term%integral(nrho,nion))
163 ALLOCATE (coreprof(islice)%ne%source_term%value(nrho))
164 ALLOCATE (coreprof(islice)%ne%source_term%integral(nrho))
165 ALLOCATE (coreprof(islice)%ti%source_term%value(nrho,nion))
166 ALLOCATE (coreprof(islice)%ti%source_term%integral(nrho,nion))
167 ALLOCATE (coreprof(islice)%te%source_term%value(nrho))
168 ALLOCATE (coreprof(islice)%te%source_term%integral(nrho))
169 ALLOCATE (coreprof(islice)%vtor%source_term%value(nrho,nion))
170 ALLOCATE (coreprof(islice)%vtor%source_term%integral(nrho,nion))
174 ALLOCATE (coreprof(islice)%profiles1d%pr_th%value(nrho))
175 ALLOCATE (coreprof(islice)%profiles1d%pr_perp%value(nrho))
176 ALLOCATE (coreprof(islice)%profiles1d%pr_parallel%value(nrho))
177 ALLOCATE (coreprof(islice)%profiles1d%pe%value(nrho))
178 ALLOCATE (coreprof(islice)%profiles1d%pi_tot%value(nrho))
179 ALLOCATE (coreprof(islice)%profiles1d%pi%value(nrho,nion))
180 ALLOCATE (coreprof(islice)%profiles1d%jtot%value(nrho))
181 ALLOCATE (coreprof(islice)%profiles1d%jni%value(nrho))
182 ALLOCATE (coreprof(islice)%profiles1d%jphi%value(nrho))
183 ALLOCATE (coreprof(islice)%profiles1d%joh%value(nrho))
184 ALLOCATE (coreprof(islice)%profiles1d%q%value(nrho))
185 ALLOCATE (coreprof(islice)%profiles1d%vloop%value(nrho))
186 ALLOCATE (coreprof(islice)%profiles1d%sigmapar%value(nrho))
187 ALLOCATE (coreprof(islice)%profiles1d%qoh%value(nrho))
188 ALLOCATE (coreprof(islice)%profiles1d%qoh%integral(nrho))
189 ALLOCATE (coreprof(islice)%profiles1d%eparallel%value(nrho))
190 ALLOCATE (coreprof(islice)%profiles1d%shear%value(nrho))
191 ALLOCATE (coreprof(islice)%profiles1d%bpol%value(nrho))
192 ALLOCATE (coreprof(islice)%profiles1d%zeff%value(nrho))
193 ALLOCATE (coreprof(islice)%profiles1d%qei%value(nrho))
197 coreprof(islice)%codeparam%codename =
'-999999999'
198 coreprof(islice)%codeparam%codeversion =
'-999999999'
199 coreprof(islice)%codeparam%output_diag =
'-999999999'
200 coreprof(islice)%codeparam%output_flag = -999999999
202 coreprof(islice)%rho_tor(:) = 0.0_r8
203 coreprof(islice)%rho_tor_norm(:) = 0.0_r8
205 coreprof(islice)%psi%flag = 0
206 coreprof(islice)%ne%flag = 0
207 coreprof(islice)%te%flag = 0
208 coreprof(islice)%ni%flag(:) = 0
209 coreprof(islice)%ti%flag(:) = 0
210 coreprof(islice)%vtor%flag(:) = 0
212 coreprof(islice)%psi%boundary%type = 0
213 coreprof(islice)%ne%boundary%type = 0
214 coreprof(islice)%te%boundary%type = 0
215 coreprof(islice)%ni%boundary%type(:) = 0
216 coreprof(islice)%ti%boundary%type(:) = 0
217 coreprof(islice)%vtor%boundary%type(:) = 0
219 coreprof(islice)%psi%boundary%rho = 0.0_r8
220 coreprof(islice)%ni%boundary%rho_tor = 0.0_r8
221 coreprof(islice)%ne%boundary%rho_tor = 0.0_r8
222 coreprof(islice)%ti%boundary%rho_tor = 0.0_r8
223 coreprof(islice)%te%boundary%rho_tor = 0.0_r8
224 coreprof(islice)%vtor%boundary%rho_tor = 0.0_r8
227 coreprof(islice)%psi%boundary%value(:) = 0.0_r8
228 coreprof(islice)%ni%boundary%value(:,:) = 0.0_r8
229 coreprof(islice)%ne%boundary%value(:) = 0.0_r8
230 coreprof(islice)%ti%boundary%value(:,:) = 0.0_r8
231 coreprof(islice)%te%boundary%value(:) = 0.0_r8
232 coreprof(islice)%vtor%boundary%value(:,:) = 0.0_r8
235 coreprof(islice)%psi%value(:) = 0.0_r8
236 coreprof(islice)%ni%value(:,:) = 0.0_r8
237 coreprof(islice)%ne%value(:) = 0.0_r8
238 coreprof(islice)%ti%value(:,:) = 0.0_r8
239 coreprof(islice)%te%value(:) = 0.0_r8
240 coreprof(islice)%vtor%value(:,:) = 0.0_r8
243 coreprof(islice)%psi%sigma_par%value = 0.0_r8
244 coreprof(islice)%profiles1d%q%value(:) = 0.0_r8
245 coreprof(islice)%profiles1d%jtot%value(:) = 0.0_r8
246 coreprof(islice)%profiles1d%jni%value(:) = 0.0_r8
247 coreprof(islice)%profiles1d%jphi%value(:) = 0.0_r8
248 coreprof(islice)%profiles1d%joh%value(:) = 0.0_r8
249 coreprof(islice)%profiles1d%vloop%value(:) = 0.0_r8
250 coreprof(islice)%profiles1d%sigmapar%value(:) = 0.0_r8
251 coreprof(islice)%profiles1d%qoh%value(:) = 0.0_r8
252 coreprof(islice)%profiles1d%qoh%integral(:) = 0.0_r8
253 coreprof(islice)%profiles1d%eparallel%value(:) = 0.0_r8
254 coreprof(islice)%profiles1d%pr_th%value(:) = 0.0_r8
255 coreprof(islice)%profiles1d%pr_perp%value(:) = 0.0_r8
256 coreprof(islice)%profiles1d%pr_parallel%value(:) = 0.0_r8
257 coreprof(islice)%profiles1d%pe%value(:) = 0.0_r8
258 coreprof(islice)%profiles1d%pi_tot%value(:) = 0.0_r8
259 coreprof(islice)%profiles1d%pi%value(:,:) = 0.0_r8
260 coreprof(islice)%ni%flux%flux_dv(:,:) = 0.0_r8
261 coreprof(islice)%ne%flux%flux_dv(:) = 0.0_r8
262 coreprof(islice)%ti%flux%flux_dv(:,:) = 0.0_r8
263 coreprof(islice)%te%flux%flux_dv(:) = 0.0_r8
264 coreprof(islice)%vtor%flux%flux_dv(:,:) = 0.0_r8
265 coreprof(islice)%ni%transp_coef%diff(:,:) = 0.0_r8
266 coreprof(islice)%ne%transp_coef%diff(:) = 0.0_r8
267 coreprof(islice)%ti%transp_coef%diff(:,:) = 0.0_r8
268 coreprof(islice)%te%transp_coef%diff(:) = 0.0_r8
269 coreprof(islice)%vtor%transp_coef%diff(:,:) = 0.0_r8
270 coreprof(islice)%ni%transp_coef%vconv(:,:) = 0.0_r8
271 coreprof(islice)%ne%transp_coef%vconv(:) = 0.0_r8
272 coreprof(islice)%ti%transp_coef%vconv(:,:) = 0.0_r8
273 coreprof(islice)%te%transp_coef%vconv(:) = 0.0_r8
274 coreprof(islice)%vtor%transp_coef%vconv(:,:) = 0.0_r8
275 coreprof(islice)%profiles1d%bpol%value(:) = 0.0_r8
276 coreprof(islice)%profiles1d%zeff%value(:) = 0.0_r8
277 coreprof(islice)%profiles1d%qei%value(:) = 0.0_r8
278 coreprof(islice)%profiles1d%shear%value(:) = 0.0_r8
280 coreprof(islice)%psi%jni%value(:) = 0.0_r8
281 coreprof(islice)%ni%source_term%value(:,:) = 0.0_r8
282 coreprof(islice)%ni%source_term%integral(:,:) = 0.0_r8
283 coreprof(islice)%ne%source_term%value(:) = 0.0_r8
284 coreprof(islice)%ne%source_term%integral(:) = 0.0_r8
285 coreprof(islice)%ti%source_term%value(:,:) = 0.0_r8
286 coreprof(islice)%ti%source_term%integral(:,:) = 0.0_r8
287 coreprof(islice)%te%source_term%value(:) = 0.0_r8
288 coreprof(islice)%te%source_term%integral(:) = 0.0_r8
289 coreprof(islice)%vtor%source_term%value(:,:) = 0.0_r8
290 coreprof(islice)%vtor%source_term%integral(:,:) = 0.0_r8
296 CALL deallocate_cpo(compositions)
336 USE deallocate_structures
340 INTEGER :: nslice, islice
342 INTEGER :: nnucl, inucl
343 INTEGER :: nion, iion
344 INTEGER :: nimp, iimp
345 INTEGER,
ALLOCATABLE :: nzimp(:)
347 INTEGER :: nneut, ineut
348 INTEGER,
ALLOCATABLE :: ncomp(:)
350 INTEGER,
ALLOCATABLE :: ntype(:)
353 TYPE (type_coretransp
),
POINTER :: coretransp(:)
354 TYPE (type_compositions_type
) :: compositions
356 ALLOCATE (coretransp(nslice))
363 CALL deallocate_cpo(coretransp(islice)%compositions)
364 CALL copy_cpo(compositions, coretransp(islice)%compositions)
367 ALLOCATE(coretransp(islice)%values(1))
372 ALLOCATE (coretransp(islice)%codeparam%codename(1))
373 ALLOCATE (coretransp(islice)%codeparam%codeversion(1))
374 ALLOCATE (coretransp(islice)%codeparam%output_diag(1))
378 ALLOCATE (coretransp(islice)%values(1)%rho_tor(nrho))
379 ALLOCATE (coretransp(islice)%values(1)%rho_tor_norm(nrho))
381 coretransp(islice)%VALUES(1)%rho_tor(:) = 0.0_r8
382 coretransp(islice)%VALUES(1)%rho_tor_norm(:) = 0.0_r8
388 ALLOCATE (coretransp(islice)%values(1)%sigma(nrho))
389 ALLOCATE (coretransp(islice)%values(1)%ne_transp%diff_eff(nrho,3))
390 ALLOCATE (coretransp(islice)%values(1)%ne_transp%vconv_eff(nrho,3))
391 ALLOCATE (coretransp(islice)%values(1)%ni_transp%diff_eff(nrho,nion,3))
392 ALLOCATE (coretransp(islice)%values(1)%ni_transp%vconv_eff(nrho,nion,3))
393 ALLOCATE (coretransp(islice)%values(1)%ti_transp%diff_eff(nrho,nion))
394 ALLOCATE (coretransp(islice)%values(1)%ti_transp%vconv_eff(nrho,nion))
395 ALLOCATE (coretransp(islice)%values(1)%te_transp%diff_eff(nrho))
396 ALLOCATE (coretransp(islice)%values(1)%te_transp%vconv_eff(nrho))
397 ALLOCATE (coretransp(islice)%values(1)%vtor_transp%diff_eff(nrho,nion))
398 ALLOCATE (coretransp(islice)%values(1)%vtor_transp%vconv_eff(nrho,nion))
401 coretransp(islice)%codeparam%codename =
'-999999999'
402 coretransp(islice)%codeparam%codeversion =
'-999999999'
403 coretransp(islice)%codeparam%output_diag =
'-999999999'
404 coretransp(islice)%codeparam%output_flag = -999999999
406 coretransp(islice)%VALUES(1)%sigma(:) = 0.0_r8
407 coretransp(islice)%VALUES(1)%ne_transp%diff_eff(:,:) = 0.0_r8
408 coretransp(islice)%VALUES(1)%ne_transp%vconv_eff(:,:) = 0.0_r8
409 coretransp(islice)%VALUES(1)%ni_transp%diff_eff(:,:,:) = 0.0_r8
410 coretransp(islice)%VALUES(1)%ni_transp%vconv_eff(:,:,:) = 0.0_r8
411 coretransp(islice)%VALUES(1)%ti_transp%diff_eff(:,:) = 0.0_r8
412 coretransp(islice)%VALUES(1)%ti_transp%vconv_eff(:,:) = 0.0_r8
413 coretransp(islice)%VALUES(1)%te_transp%diff_eff(:) = 0.0_r8
414 coretransp(islice)%VALUES(1)%te_transp%vconv_eff(:) = 0.0_r8
415 coretransp(islice)%VALUES(1)%vtor_transp%diff_eff(:,:) = 0.0_r8
416 coretransp(islice)%VALUES(1)%vtor_transp%vconv_eff(:,:) = 0.0_r8
419 ALLOCATE (coretransp(islice)%values(1)%nz_transp(nimp))
420 ALLOCATE (coretransp(islice)%values(1)%tz_transp(nimp))
423 ALLOCATE (coretransp(islice)%values(1)%nz_transp(iimp)%diff_eff(nrho,nzimp(iimp)))
424 ALLOCATE (coretransp(islice)%values(1)%nz_transp(iimp)%vconv_eff(nrho,nzimp(iimp)))
425 ALLOCATE (coretransp(islice)%values(1)%tz_transp(iimp)%diff_eff(nrho,nzimp(iimp)))
426 ALLOCATE (coretransp(islice)%values(1)%tz_transp(iimp)%vconv_eff(nrho,nzimp(iimp)))
429 coretransp(islice)%values(1)%nz_transp(iimp)%diff_eff(:,:) = 0.0_r8
430 coretransp(islice)%values(1)%nz_transp(iimp)%vconv_eff(:,:) = 0.0_r8
431 coretransp(islice)%values(1)%tz_transp(iimp)%diff_eff(:,:) = 0.0_r8
432 coretransp(islice)%values(1)%tz_transp(iimp)%vconv_eff(:,:) = 0.0_r8
439 CALL deallocate_cpo(compositions)
480 USE deallocate_structures
484 INTEGER :: nslice, islice
486 INTEGER :: nnucl, inucl
487 INTEGER :: nion, iion
488 INTEGER :: nimp, iimp
489 INTEGER,
ALLOCATABLE :: nzimp(:)
491 INTEGER :: nneut, ineut
492 INTEGER,
ALLOCATABLE :: ncomp(:)
494 INTEGER,
ALLOCATABLE :: ntype(:)
497 TYPE (type_coresource
),
POINTER :: coresource(:)
498 TYPE (type_compositions_type
) :: compositions
502 ALLOCATE (coresource(nslice))
508 CALL deallocate_cpo(coresource(islice)%compositions)
509 CALL copy_cpo(compositions, coresource(islice)%compositions)
512 ALLOCATE(coresource(islice)%values(1))
515 ALLOCATE (coresource(islice)%codeparam%codename(1))
516 ALLOCATE (coresource(islice)%codeparam%codeversion(1))
517 ALLOCATE (coresource(islice)%codeparam%output_diag(1))
521 ALLOCATE (coresource(islice)%VALUES(1)%rho_tor(nrho))
522 ALLOCATE (coresource(islice)%VALUES(1)%rho_tor_norm(nrho))
524 coresource(islice)%VALUES(1)%rho_tor(:) = 0.0_r8
525 coresource(islice)%VALUES(1)%rho_tor_norm(:) = 0.0_r8
529 ALLOCATE (coresource(islice)%VALUES(1)%sigma(nrho))
530 ALLOCATE (coresource(islice)%VALUES(1)%j(nrho))
531 ALLOCATE (coresource(islice)%VALUES(1)%se%exp(nrho))
532 ALLOCATE (coresource(islice)%VALUES(1)%se%imp(nrho))
533 ALLOCATE (coresource(islice)%VALUES(1)%qe%exp(nrho))
534 ALLOCATE (coresource(islice)%VALUES(1)%qe%imp(nrho))
535 ALLOCATE (coresource(islice)%VALUES(1)%si%exp(nrho,nion))
536 ALLOCATE (coresource(islice)%VALUES(1)%si%imp(nrho,nion))
537 ALLOCATE (coresource(islice)%VALUES(1)%qi%exp(nrho,nion))
538 ALLOCATE (coresource(islice)%VALUES(1)%qi%imp(nrho,nion))
539 ALLOCATE (coresource(islice)%VALUES(1)%ui%exp(nrho,nion))
540 ALLOCATE (coresource(islice)%VALUES(1)%ui%imp(nrho,nion))
543 coresource(islice)%codeparam%codename =
'-999999999'
544 coresource(islice)%codeparam%codeversion =
'-999999999'
545 coresource(islice)%codeparam%output_diag =
'-999999999'
546 coresource(islice)%codeparam%output_flag = -999999999
548 coresource(islice)%VALUES(1)%sigma(:) = 0.0_r8
549 coresource(islice)%VALUES(1)%j(:) = 0.0_r8
550 coresource(islice)%VALUES(1)%se%exp(:) = 0.0_r8
551 coresource(islice)%VALUES(1)%se%imp(:) = 0.0_r8
552 coresource(islice)%VALUES(1)%qe%exp(:) = 0.0_r8
553 coresource(islice)%VALUES(1)%qe%imp(:) = 0.0_r8
554 coresource(islice)%VALUES(1)%si%exp(:,:) = 0.0_r8
555 coresource(islice)%VALUES(1)%si%imp(:,:) = 0.0_r8
556 coresource(islice)%VALUES(1)%qi%exp(:,:) = 0.0_r8
557 coresource(islice)%VALUES(1)%qi%imp(:,:) = 0.0_r8
558 coresource(islice)%VALUES(1)%ui%exp(:,:) = 0.0_r8
559 coresource(islice)%VALUES(1)%ui%imp(:,:) = 0.0_r8
563 ALLOCATE (coresource(islice)%VALUES(1)%sz(nimp))
564 ALLOCATE (coresource(islice)%VALUES(1)%qz(nimp))
567 ALLOCATE (coresource(islice)%VALUES(1)%sz(iimp)%exp(nrho,nzimp(iimp)))
568 ALLOCATE (coresource(islice)%VALUES(1)%sz(iimp)%imp(nrho,nzimp(iimp)))
569 ALLOCATE (coresource(islice)%VALUES(1)%qz(iimp)%exp(nrho,nzimp(iimp)))
570 ALLOCATE (coresource(islice)%VALUES(1)%qz(iimp)%imp(nrho,nzimp(iimp)))
573 coresource(islice)%VALUES(1)%sz(iimp)%exp(:,:) = 0.0_r8
574 coresource(islice)%VALUES(1)%sz(iimp)%imp(:,:) = 0.0_r8
575 coresource(islice)%VALUES(1)%qz(iimp)%exp(:,:) = 0.0_r8
576 coresource(islice)%VALUES(1)%qz(iimp)%imp(:,:) = 0.0_r8
584 CALL deallocate_cpo(compositions)
628 USE deallocate_structures
632 INTEGER :: nslice, islice
634 INTEGER :: nnucl, inucl
635 INTEGER :: nion, iion
636 INTEGER :: nimp, iimp
637 INTEGER,
ALLOCATABLE :: nzimp(:)
639 INTEGER :: nneut, ineut
640 INTEGER,
ALLOCATABLE :: ncomp(:)
642 INTEGER,
ALLOCATABLE :: ntype(:)
645 TYPE (type_coreimpur
),
POINTER :: coreimpur(:)
646 TYPE (type_compositions_type
) :: compositions
650 ALLOCATE (coreimpur(nslice))
657 CALL deallocate_cpo(coreimpur(islice)%compositions)
658 CALL copy_cpo(compositions, coreimpur(islice)%compositions)
661 ALLOCATE (coreimpur(islice)%codeparam%codename(1))
662 ALLOCATE (coreimpur(islice)%codeparam%codeversion(1))
663 ALLOCATE (coreimpur(islice)%codeparam%output_diag(1))
665 coreimpur(islice)%codeparam%codename =
'-999999999'
666 coreimpur(islice)%codeparam%codeversion =
'-999999999'
667 coreimpur(islice)%codeparam%output_diag =
'-999999999'
668 coreimpur(islice)%codeparam%output_flag = -999999999
671 ALLOCATE (coreimpur(islice)%rho_tor(nrho))
672 ALLOCATE (coreimpur(islice)%rho_tor_norm(nrho))
674 coreimpur(islice)%rho_tor(:) = 0.0_r8
675 coreimpur(islice)%rho_tor_norm(:) = 0.0_r8
683 ALLOCATE (coreimpur(islice)%impurity(nimp))
687 ALLOCATE (coreimpur(islice)%impurity(iimp)%z(nrho,nzimp(iimp)))
688 ALLOCATE (coreimpur(islice)%impurity(iimp)%zsq(nrho,nzimp(iimp)))
689 ALLOCATE (coreimpur(islice)%impurity(iimp)%nz(nrho,nzimp(iimp)))
690 ALLOCATE (coreimpur(islice)%impurity(iimp)%tz(nrho,nzimp(iimp)))
691 ALLOCATE (coreimpur(islice)%impurity(iimp)%boundary%value(3,nzimp(iimp)))
692 ALLOCATE (coreimpur(islice)%impurity(iimp)%boundary%type(nzimp(iimp)))
693 ALLOCATE (coreimpur(islice)%impurity(iimp)%boundary%rho(nzimp(iimp)))
694 ALLOCATE (coreimpur(islice)%impurity(iimp)%transp_coef%diff(nrho,nzimp(iimp)))
695 ALLOCATE (coreimpur(islice)%impurity(iimp)%transp_coef%vconv(nrho,nzimp(iimp)))
696 ALLOCATE (coreimpur(islice)%impurity(iimp)%source_term%value(nrho,nzimp(iimp)))
697 ALLOCATE (coreimpur(islice)%impurity(iimp)%flux%flux_dv(nrho,nzimp(iimp)))
698 ALLOCATE (coreimpur(islice)%impurity(iimp)%flux%flux_interp(nrho,nzimp(iimp)))
701 coreimpur(islice)%impurity(iimp)%z(:,:) = 0.0_r8
702 coreimpur(islice)%impurity(iimp)%zsq(:,:) = 0.0_r8
703 coreimpur(islice)%impurity(iimp)%nz(:,:) = 0.0_r8
704 coreimpur(islice)%impurity(iimp)%tz(:,:) = 0.0_r8
705 coreimpur(islice)%impurity(iimp)%boundary%value(:,:) = 0.0_r8
706 coreimpur(islice)%impurity(iimp)%boundary%type(:) = 0
707 coreimpur(islice)%impurity(iimp)%boundary%rho(:) = 0.0_r8
708 coreimpur(islice)%impurity(iimp)%transp_coef%diff(:,:) = 0.0_r8
709 coreimpur(islice)%impurity(iimp)%transp_coef%vconv(:,:)= 0.0_r8
710 coreimpur(islice)%impurity(iimp)%source_term%value(:,:)= 0.0_r8
711 coreimpur(islice)%impurity(iimp)%flux%flux_dv(:,:) = 0.0_r8
712 coreimpur(islice)%impurity(iimp)%flux%flux_interp(:,:) = 0.0_r8
715 ALLOCATE (coreimpur(islice)%impurity(iimp)%diagnostic%radiation%line_rad%profile(nrho,nzimp(iimp)))
716 ALLOCATE (coreimpur(islice)%impurity(iimp)%diagnostic%radiation%line_rad%integral(nrho,nzimp(iimp)))
717 ALLOCATE (coreimpur(islice)%impurity(iimp)%diagnostic%radiation%brem_radrec%profile(nrho,nzimp(iimp)))
718 ALLOCATE (coreimpur(islice)%impurity(iimp)%diagnostic%radiation%brem_radrec%integral(nrho,nzimp(iimp)))
719 ALLOCATE (coreimpur(islice)%impurity(iimp)%diagnostic%radiation%sum%profile(nrho,nzimp(iimp)))
720 ALLOCATE (coreimpur(islice)%impurity(iimp)%diagnostic%radiation%sum%integral(nrho,nzimp(iimp)))
723 coreimpur(islice)%impurity(iimp)%diagnostic%radiation%line_rad%profile(:,:) = 0.0_r8
724 coreimpur(islice)%impurity(iimp)%diagnostic%radiation%line_rad%integral(:,:) = 0.0_r8
725 coreimpur(islice)%impurity(iimp)%diagnostic%radiation%brem_radrec%profile(:,:) = 0.0_r8
726 coreimpur(islice)%impurity(iimp)%diagnostic%radiation%brem_radrec%integral(:,:) = 0.0_r8
727 coreimpur(islice)%impurity(iimp)%diagnostic%radiation%sum%profile(:,:) = 0.0_r8
728 coreimpur(islice)%impurity(iimp)%diagnostic%radiation%sum%integral(:,:) = 0.0_r8
731 ALLOCATE (coreimpur(islice)%impurity(iimp)%diagnostic%energy%ionization%profile(nrho,nzimp(iimp)))
732 ALLOCATE (coreimpur(islice)%impurity(iimp)%diagnostic%energy%ionization%integral(nrho,nzimp(iimp)))
733 ALLOCATE (coreimpur(islice)%impurity(iimp)%diagnostic%energy%recombin%profile(nrho,nzimp(iimp)))
734 ALLOCATE (coreimpur(islice)%impurity(iimp)%diagnostic%energy%recombin%integral(nrho,nzimp(iimp)))
735 ALLOCATE (coreimpur(islice)%impurity(iimp)%diagnostic%energy%sum%profile(nrho,nzimp(iimp)))
736 ALLOCATE (coreimpur(islice)%impurity(iimp)%diagnostic%energy%sum%integral(nrho,nzimp(iimp)))
739 coreimpur(islice)%impurity(iimp)%diagnostic%energy%ionization%profile(:,:) = 0.0_r8
740 coreimpur(islice)%impurity(iimp)%diagnostic%energy%ionization%integral(:,:) = 0.0_r8
741 coreimpur(islice)%impurity(iimp)%diagnostic%energy%recombin%profile(:,:) = 0.0_r8
742 coreimpur(islice)%impurity(iimp)%diagnostic%energy%recombin%integral(:,:) = 0.0_r8
743 coreimpur(islice)%impurity(iimp)%diagnostic%energy%sum%profile(:,:) = 0.0_r8
744 coreimpur(islice)%impurity(iimp)%diagnostic%energy%sum%integral(:,:) = 0.0_r8
748 ALLOCATE (coreimpur(islice)%diagnostic%radiation%line_rad%profile(nrho,nimp))
749 ALLOCATE (coreimpur(islice)%diagnostic%radiation%line_rad%integral(nrho,nimp))
750 ALLOCATE (coreimpur(islice)%diagnostic%radiation%brem_radrec%profile(nrho,nimp))
751 ALLOCATE (coreimpur(islice)%diagnostic%radiation%brem_radrec%integral(nrho,nimp))
752 ALLOCATE (coreimpur(islice)%diagnostic%radiation%sum%profile(nrho,nimp))
753 ALLOCATE (coreimpur(islice)%diagnostic%radiation%sum%integral(nrho,nimp))
756 coreimpur(islice)%diagnostic%radiation%line_rad%profile(:,:) = 0.0_r8
757 coreimpur(islice)%diagnostic%radiation%line_rad%integral(:,:) = 0.0_r8
758 coreimpur(islice)%diagnostic%radiation%brem_radrec%profile(:,:) = 0.0_r8
759 coreimpur(islice)%diagnostic%radiation%brem_radrec%integral(:,:) = 0.0_r8
760 coreimpur(islice)%diagnostic%radiation%sum%profile(:,:) = 0.0_r8
761 coreimpur(islice)%diagnostic%radiation%sum%integral(:,:) = 0.0_r8
764 ALLOCATE (coreimpur(islice)%diagnostic%energy%ionization%profile(nrho,nimp))
765 ALLOCATE (coreimpur(islice)%diagnostic%energy%ionization%integral(nrho,nimp))
766 ALLOCATE (coreimpur(islice)%diagnostic%energy%recombin%profile(nrho,nimp))
767 ALLOCATE (coreimpur(islice)%diagnostic%energy%recombin%integral(nrho,nimp))
768 ALLOCATE (coreimpur(islice)%diagnostic%energy%sum%profile(nrho,nimp))
769 ALLOCATE (coreimpur(islice)%diagnostic%energy%sum%integral(nrho,nimp))
772 coreimpur(islice)%diagnostic%energy%ionization%profile(:,:) = 0.0_r8
773 coreimpur(islice)%diagnostic%energy%ionization%integral(:,:) = 0.0_r8
774 coreimpur(islice)%diagnostic%energy%recombin%profile(:,:) = 0.0_r8
775 coreimpur(islice)%diagnostic%energy%recombin%integral(:,:) = 0.0_r8
776 coreimpur(islice)%diagnostic%energy%sum%profile(:,:) = 0.0_r8
777 coreimpur(islice)%diagnostic%energy%sum%integral(:,:) = 0.0_r8
780 ALLOCATE (coreimpur(islice)%diagnosticsum%radiation%line_rad%profile(nrho))
781 ALLOCATE (coreimpur(islice)%diagnosticsum%radiation%line_rad%integral(nrho))
782 ALLOCATE (coreimpur(islice)%diagnosticsum%radiation%brem_radrec%profile(nrho))
783 ALLOCATE (coreimpur(islice)%diagnosticsum%radiation%brem_radrec%integral(nrho))
784 ALLOCATE (coreimpur(islice)%diagnosticsum%radiation%sum%profile(nrho))
785 ALLOCATE (coreimpur(islice)%diagnosticsum%radiation%sum%integral(nrho))
788 coreimpur(islice)%diagnosticsum%radiation%line_rad%profile(:) = 0.0_r8
789 coreimpur(islice)%diagnosticsum%radiation%line_rad%integral(:) = 0.0_r8
790 coreimpur(islice)%diagnosticsum%radiation%brem_radrec%profile(:) = 0.0_r8
791 coreimpur(islice)%diagnosticsum%radiation%brem_radrec%integral(:) = 0.0_r8
792 coreimpur(islice)%diagnosticsum%radiation%sum%profile(:) = 0.0_r8
793 coreimpur(islice)%diagnosticsum%radiation%sum%integral(:) = 0.0_r8
796 ALLOCATE (coreimpur(islice)%diagnosticsum%energy%ionization%profile(nrho))
797 ALLOCATE (coreimpur(islice)%diagnosticsum%energy%ionization%integral(nrho))
798 ALLOCATE (coreimpur(islice)%diagnosticsum%energy%recombin%profile(nrho))
799 ALLOCATE (coreimpur(islice)%diagnosticsum%energy%recombin%integral(nrho))
800 ALLOCATE (coreimpur(islice)%diagnosticsum%energy%sum%profile(nrho))
801 ALLOCATE (coreimpur(islice)%diagnosticsum%energy%sum%integral(nrho))
804 coreimpur(islice)%diagnosticsum%energy%ionization%profile(:) = 0.0_r8
805 coreimpur(islice)%diagnosticsum%energy%ionization%integral(:) = 0.0_r8
806 coreimpur(islice)%diagnosticsum%energy%recombin%profile(:) = 0.0_r8
807 coreimpur(islice)%diagnosticsum%energy%recombin%integral(:) = 0.0_r8
808 coreimpur(islice)%diagnosticsum%energy%sum%profile(:) = 0.0_r8
809 coreimpur(islice)%diagnosticsum%energy%sum%integral(:) = 0.0_r8
817 CALL deallocate_cpo(compositions)
855 USE deallocate_structures
859 INTEGER :: nslice, islice
861 INTEGER :: nnucl, inucl
862 INTEGER :: nion, iion
863 INTEGER :: nimp, iimp
864 INTEGER,
ALLOCATABLE :: nzimp(:)
866 INTEGER :: nneut, ineut
867 INTEGER,
ALLOCATABLE :: ncomp(:)
869 INTEGER,
ALLOCATABLE :: ntype(:)
872 TYPE (type_corefast
),
POINTER :: corefast(:)
873 TYPE (type_compositions_type
) :: compositions
877 ALLOCATE (corefast(nslice))
883 CALL deallocate_cpo(corefast(islice)%compositions)
884 CALL copy_cpo(compositions, corefast(islice)%compositions)
886 ALLOCATE(corefast(islice)%values(1))
889 ALLOCATE (corefast(islice)%codeparam%codename(1))
890 ALLOCATE (corefast(islice)%codeparam%codeversion(1))
891 ALLOCATE (corefast(islice)%codeparam%output_diag(1))
895 ALLOCATE (corefast(islice)%values(1)%rho_tor(nrho))
896 ALLOCATE (corefast(islice)%values(1)%rho_tor_norm(nrho))
900 ALLOCATE (corefast(islice)%values(1)%psi(nrho))
901 ALLOCATE (corefast(islice)%values(1)%volume(nrho))
902 ALLOCATE (corefast(islice)%values(1)%area(nrho))
903 ALLOCATE (corefast(islice)%values(1)%j(nrho))
904 ALLOCATE (corefast(islice)%values(1)%sigma(nrho))
905 ALLOCATE (corefast(islice)%values(1)%ni(nrho,nion))
906 ALLOCATE (corefast(islice)%values(1)%ne(nrho))
908 ALLOCATE (corefast(islice)%values(1)%nz(nrho,nimp))
909 ALLOCATE (corefast(islice)%values(1)%pi(nrho,nion))
910 ALLOCATE (corefast(islice)%values(1)%pe(nrho))
912 ALLOCATE (corefast(islice)%values(1)%pz(nrho,nimp))
913 ALLOCATE (corefast(islice)%values(1)%pi_para(nrho,nion))
914 ALLOCATE (corefast(islice)%values(1)%pe_para(nrho))
916 ALLOCATE (corefast(islice)%values(1)%pz_para(nrho,nimp))
917 ALLOCATE (corefast(islice)%values(1)%ui(nrho,nion))
919 ALLOCATE (corefast(islice)%values(1)%uz(nrho,nimp))
922 corefast(islice)%codeparam%codename =
'-999999999'
923 corefast(islice)%codeparam%codeversion =
'-999999999'
924 corefast(islice)%codeparam%output_diag =
'-999999999'
925 corefast(islice)%codeparam%output_flag = -999999999
927 corefast(islice)%values(1)%rho_tor(:) = 0.0_r8
928 corefast(islice)%values(1)%rho_tor_norm(:) = 0.0_r8
930 corefast(islice)%values(1)%psi(:) = 0.0_r8
931 corefast(islice)%values(1)%volume(:) = 0.0_r8
933 corefast(islice)%values(1)%area(:) = 0.0_r8
934 corefast(islice)%values(1)%j(:) = 0.0_r8
935 corefast(islice)%values(1)%sigma(:) = 0.0_r8
936 corefast(islice)%values(1)%ni(:,:) = 0.0_r8
937 corefast(islice)%values(1)%ne(:) = 0.0_r8
939 corefast(islice)%values(1)%nz(:,:) = 0.0_r8
940 corefast(islice)%values(1)%pi(:,:) = 0.0_r8
941 corefast(islice)%values(1)%pe(:) = 0.0_r8
943 corefast(islice)%values(1)%pz(:,:) = 0.0_r8
944 corefast(islice)%values(1)%pi_para(:,:) = 0.0_r8
945 corefast(islice)%values(1)%pe_para(:) = 0.0_r8
947 corefast(islice)%values(1)%pz_para(:,:) = 0.0_r8
948 corefast(islice)%values(1)%ui(:,:) = 0.0_r8
950 corefast(islice)%values(1)%uz(:,:) = 0.0_r8
955 CALL deallocate_cpo(compositions)
993 USE deallocate_structures
997 INTEGER :: nslice, islice
999 INTEGER :: nnucl, inucl
1000 INTEGER :: nion, iion
1001 INTEGER :: nimp, iimp
1002 INTEGER,
ALLOCATABLE :: nzimp(:)
1004 INTEGER :: nneut, ineut
1005 INTEGER,
ALLOCATABLE :: ncomp(:)
1007 INTEGER,
ALLOCATABLE :: ntype(:)
1010 TYPE (type_coreneutrals
),
POINTER :: coreneutrals(:)
1011 TYPE (type_compositions_type
) :: compositions
1017 ALLOCATE (coreneutrals(nslice))
1023 DO islice = 1,nslice
1025 CALL deallocate_cpo(coreneutrals(islice)%compositions)
1026 CALL copy_cpo(compositions, coreneutrals(islice)%compositions)
1028 ALLOCATE (coreneutrals(islice)%codeparam%codename(1))
1029 ALLOCATE (coreneutrals(islice)%codeparam%codeversion(1))
1030 ALLOCATE (coreneutrals(islice)%codeparam%output_diag(1))
1032 coreneutrals(islice)%codeparam%codename =
'-999999999'
1033 coreneutrals(islice)%codeparam%codeversion =
'-999999999'
1034 coreneutrals(islice)%codeparam%output_diag =
'-999999999'
1035 coreneutrals(islice)%codeparam%output_flag = -999999999
1038 ALLOCATE (coreneutrals(islice)%rho_tor(nrho))
1039 ALLOCATE (coreneutrals(islice)%rho_tor_norm(nrho))
1041 coreneutrals(islice)%rho_tor(:) = 0.0_r8
1042 coreneutrals(islice)%rho_tor_norm(:) = 0.0_r8
1047 IF(nneut.LE.0)
RETURN
1049 DO islice = 1,nslice
1052 ALLOCATE (coreneutrals(islice)%profiles(nneut))
1054 ALLOCATE (coreneutrals(islice)%profiles(ineut)%neutraltype(ntype(ineut)))
1055 ALLOCATE (coreneutrals(islice)%profiles(ineut)%prad0(nrho))
1057 coreneutrals(islice)%profiles(ineut)%prad0 = 0.0_r8
1060 DO itype = 1, ntype(ineut)
1061 ALLOCATE (coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%n0%value(nrho))
1062 ALLOCATE (coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%n0%flux(nrho))
1063 ALLOCATE (coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%n0%boundary%value(3))
1064 ALLOCATE (coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%t0%value(nrho))
1065 ALLOCATE (coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%t0%flux(nrho))
1066 ALLOCATE (coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%t0%boundary%value(3))
1067 ALLOCATE (coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%v0%toroidal%value(nrho))
1068 ALLOCATE (coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%v0%toroidal%boundary%value(3))
1069 ALLOCATE (coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%v0%poloidal%value(nrho))
1070 ALLOCATE (coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%v0%poloidal%boundary%value(3))
1071 ALLOCATE (coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%v0%radial%value(nrho))
1072 ALLOCATE (coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%v0%radial%boundary%value(3))
1075 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%n0%value(:) = 0.0_r8
1076 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%n0%flux(:) = 0.0_r8
1077 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%n0%boundary%value(:) = 0.0_r8
1078 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%n0%boundary%type = 0
1079 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%n0%boundary%rho_tor = 0.0_r8
1080 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%t0%value(:) = 0.0_r8
1081 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%t0%flux(:) = 0.0_r8
1082 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%t0%boundary%value(:) = 0.0_r8
1083 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%t0%boundary%type = 0
1084 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%t0%boundary%rho_tor = 0.0_r8
1085 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%v0%toroidal%value(:) = 0.0_r8
1086 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%v0%toroidal%boundary%value(:) = 0.0_r8
1087 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%v0%toroidal%boundary%type = 0
1088 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%v0%toroidal%boundary%rho_tor = 0.0_r8
1089 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%v0%poloidal%value(:) = 0.0_r8
1090 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%v0%poloidal%boundary%value(:) = 0.0_r8
1091 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%v0%poloidal%boundary%type = 0
1092 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%v0%poloidal%boundary%rho_tor = 0.0_r8
1093 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%v0%radial%value(:) = 0.0_r8
1094 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%v0%radial%boundary%value(:) = 0.0_r8
1095 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%v0%radial%boundary%type = 0
1096 coreneutrals(islice)%profiles(ineut)%neutraltype(itype)%v0%radial%boundary%rho_tor = 0.0_r8
1102 CALL deallocate_cpo(compositions)
1141 USE deallocate_structures
1145 INTEGER :: nslice, islice
1147 INTEGER :: nnucl, inucl
1148 INTEGER :: nion, iion
1149 INTEGER :: nimp, iimp
1150 INTEGER,
ALLOCATABLE :: nzimp(:)
1152 INTEGER :: nneut, ineut
1153 INTEGER,
ALLOCATABLE :: ncomp(:)
1155 INTEGER,
ALLOCATABLE :: ntype(:)
1158 TYPE (type_coredelta
),
POINTER :: coredelta(:)
1159 TYPE (type_compositions_type
) :: compositions
1163 ALLOCATE (coredelta(nslice))
1167 DO islice = 1,nslice
1169 CALL deallocate_cpo(coredelta(islice)%compositions)
1170 CALL copy_cpo(compositions, coredelta(islice)%compositions)
1173 ALLOCATE(coredelta(islice)%VALUES(1))
1176 ALLOCATE (coredelta(islice)%codeparam%codename(1))
1177 ALLOCATE (coredelta(islice)%codeparam%codeversion(1))
1178 ALLOCATE (coredelta(islice)%codeparam%output_diag(1))
1182 ALLOCATE (coredelta(islice)%VALUES(1)%rho_tor(nrho))
1183 ALLOCATE (coredelta(islice)%VALUES(1)%rho_tor_norm(nrho))
1185 coredelta(islice)%VALUES(1)%rho_tor(:) = 0.0_r8
1186 coredelta(islice)%VALUES(1)%rho_tor_norm(:) = 0.0_r8
1190 ALLOCATE (coredelta(islice)%VALUES(1)%psi(nrho))
1191 ALLOCATE (coredelta(islice)%VALUES(1)%volume(nrho))
1192 ALLOCATE (coredelta(islice)%VALUES(1)%area(nrho))
1193 ALLOCATE (coredelta(islice)%VALUES(1)%delta_psi(nrho))
1194 ALLOCATE (coredelta(islice)%VALUES(1)%delta_te(nrho))
1195 ALLOCATE (coredelta(islice)%VALUES(1)%delta_ne(nrho))
1196 ALLOCATE (coredelta(islice)%VALUES(1)%delta_ti(nrho,nion))
1197 ALLOCATE (coredelta(islice)%VALUES(1)%delta_ni(nrho,nion))
1198 ALLOCATE (coredelta(islice)%VALUES(1)%delta_vtor(nrho,nion))
1200 ALLOCATE (coredelta(islice)%VALUES(1)%IMPURITY(nimp))
1202 ALLOCATE (coredelta(islice)%VALUES(1)%IMPURITY(iimp)%delta_nz(nrho,nzimp(iimp)))
1203 ALLOCATE (coredelta(islice)%VALUES(1)%IMPURITY(iimp)%delta_tz(nrho,nzimp(iimp)))
1204 coredelta(islice)%VALUES(1)%IMPURITY(iimp)%delta_nz = 0.0_r8
1205 coredelta(islice)%VALUES(1)%IMPURITY(iimp)%delta_tz = 0.0_r8
1210 coredelta(islice)%codeparam%codename =
'-999999999'
1211 coredelta(islice)%codeparam%codeversion =
'-999999999'
1212 coredelta(islice)%codeparam%output_diag =
'-999999999'
1213 coredelta(islice)%codeparam%output_flag = -999999999
1215 coredelta(islice)%VALUES(1)%psi = 0.0_r8
1216 coredelta(islice)%VALUES(1)%volume = 0.0_r8
1217 coredelta(islice)%VALUES(1)%area = 0.0_r8
1218 coredelta(islice)%VALUES(1)%delta_psi = 0.0_r8
1219 coredelta(islice)%VALUES(1)%delta_te = 0.0_r8
1220 coredelta(islice)%VALUES(1)%delta_ne = 0.0_r8
1221 coredelta(islice)%VALUES(1)%delta_ti = 0.0_r8
1222 coredelta(islice)%VALUES(1)%delta_ni = 0.0_r8
1223 coredelta(islice)%VALUES(1)%delta_vtor = 0.0_r8
1229 CALL deallocate_cpo(compositions)
1271 INTEGER :: nslice, islice
1277 TYPE (type_equilibrium
),
POINTER :: equilibrium(:)
1281 ALLOCATE (equilibrium(nslice))
1284 DO islice = 1,nslice
1287 ALLOCATE (equilibrium(islice)%profiles_1d%rho_tor(npsi))
1288 ALLOCATE (equilibrium(islice)%profiles_1d%q(npsi))
1289 ALLOCATE (equilibrium(islice)%profiles_1d%pressure(npsi))
1290 ALLOCATE (equilibrium(islice)%profiles_1d%jparallel(npsi))
1291 ALLOCATE (equilibrium(islice)%profiles_1d%jphi(npsi))
1293 ALLOCATE (equilibrium(islice)%profiles_1d%gm1(npsi))
1294 ALLOCATE (equilibrium(islice)%profiles_1d%gm2(npsi))
1295 ALLOCATE (equilibrium(islice)%profiles_1d%gm3(npsi))
1296 ALLOCATE (equilibrium(islice)%profiles_1d%gm4(npsi))
1297 ALLOCATE (equilibrium(islice)%profiles_1d%gm5(npsi))
1298 ALLOCATE (equilibrium(islice)%profiles_1d%gm6(npsi))
1299 ALLOCATE (equilibrium(islice)%profiles_1d%gm7(npsi))
1300 ALLOCATE (equilibrium(islice)%profiles_1d%gm8(npsi))
1301 ALLOCATE (equilibrium(islice)%profiles_1d%gm9(npsi))
1303 ALLOCATE (equilibrium(islice)%profiles_1d%volume(npsi))
1304 ALLOCATE (equilibrium(islice)%profiles_1d%vprime(npsi))
1305 ALLOCATE (equilibrium(islice)%profiles_1d%area(npsi))
1306 ALLOCATE (equilibrium(islice)%profiles_1d%aprime(npsi))
1307 ALLOCATE (equilibrium(islice)%profiles_1d%F_dia(npsi))
1308 ALLOCATE (equilibrium(islice)%profiles_1d%pprime(npsi))
1309 ALLOCATE (equilibrium(islice)%profiles_1d%ffprime(npsi))
1311 ALLOCATE (equilibrium(islice)%profiles_1d%elongation(npsi))
1312 ALLOCATE (equilibrium(islice)%profiles_1d%tria_upper(npsi))
1313 ALLOCATE (equilibrium(islice)%profiles_1d%tria_lower(npsi))
1314 ALLOCATE (equilibrium(islice)%profiles_1d%r_inboard(npsi))
1315 ALLOCATE (equilibrium(islice)%profiles_1d%r_outboard(npsi))
1316 ALLOCATE (equilibrium(islice)%profiles_1d%dpsidrho_tor(npsi))
1317 ALLOCATE (equilibrium(islice)%profiles_1d%beta_pol(npsi))
1318 ALLOCATE (equilibrium(islice)%profiles_1d%li(npsi))
1319 ALLOCATE (equilibrium(islice)%profiles_1d%dvdrho(npsi))
1320 ALLOCATE (equilibrium(islice)%profiles_1d%surface(npsi))
1321 ALLOCATE (equilibrium(islice)%profiles_1d%ftrap(npsi))
1322 ALLOCATE (equilibrium(islice)%profiles_1d%b_av(npsi))
1323 ALLOCATE (equilibrium(islice)%profiles_1d%b_min(npsi))
1324 ALLOCATE (equilibrium(islice)%profiles_1d%b_max(npsi))
1326 ALLOCATE (equilibrium(islice)%profiles_1d%phi(npsi))
1327 ALLOCATE (equilibrium(islice)%profiles_1d%psi(npsi))
1328 ALLOCATE (equilibrium(islice)%profiles_1d%rho_vol(npsi))
1331 equilibrium(islice)%profiles_1d%rho_tor(:) = 0.0_r8
1332 equilibrium(islice)%profiles_1d%q(:) = 0.0_r8
1333 equilibrium(islice)%profiles_1d%pressure(:) = 0.0_r8
1334 equilibrium(islice)%profiles_1d%jparallel(:) = 0.0_r8
1335 equilibrium(islice)%profiles_1d%jphi(:) = 0.0_r8
1337 equilibrium(islice)%profiles_1d%phi(:) = 0.0_r8
1338 equilibrium(islice)%profiles_1d%psi(:) = 0.0_r8
1339 equilibrium(islice)%profiles_1d%rho_vol(:) = 0.0_r8
1341 equilibrium(islice)%profiles_1d%gm1(:) = 0.0_r8
1342 equilibrium(islice)%profiles_1d%gm2(:) = 0.0_r8
1343 equilibrium(islice)%profiles_1d%gm3(:) = 0.0_r8
1344 equilibrium(islice)%profiles_1d%gm4(:) = 0.0_r8
1345 equilibrium(islice)%profiles_1d%gm5(:) = 0.0_r8
1346 equilibrium(islice)%profiles_1d%gm6(:) = 0.0_r8
1347 equilibrium(islice)%profiles_1d%gm7(:) = 0.0_r8
1348 equilibrium(islice)%profiles_1d%gm8(:) = 0.0_r8
1349 equilibrium(islice)%profiles_1d%gm9(:) = 0.0_r8
1351 equilibrium(islice)%profiles_1d%volume(:) = 0.0_r8
1352 equilibrium(islice)%profiles_1d%vprime(:) = 0.0_r8
1353 equilibrium(islice)%profiles_1d%area(:) = 0.0_r8
1354 equilibrium(islice)%profiles_1d%aprime(:) = 0.0_r8
1355 equilibrium(islice)%profiles_1d%F_dia(:) = 0.0_r8
1356 equilibrium(islice)%profiles_1d%pprime(:) = 0.0_r8
1357 equilibrium(islice)%profiles_1d%ffprime(:) = 0.0_r8
1359 equilibrium(islice)%profiles_1d%elongation(:) = 0.0_r8
1360 equilibrium(islice)%profiles_1d%tria_upper(:) = 0.0_r8
1361 equilibrium(islice)%profiles_1d%tria_lower(:) = 0.0_r8
1362 equilibrium(islice)%profiles_1d%r_inboard(:) = 0.0_r8
1363 equilibrium(islice)%profiles_1d%r_outboard(:) = 0.0_r8
1364 equilibrium(islice)%profiles_1d%dpsidrho_tor(:) = 0.0_r8
1365 equilibrium(islice)%profiles_1d%beta_pol(:) = 0.0_r8
1366 equilibrium(islice)%profiles_1d%li(:) = 0.0_r8
1367 equilibrium(islice)%profiles_1d%dvdrho(:) = 0.0_r8
1368 equilibrium(islice)%profiles_1d%surface(:) = 0.0_r8
1369 equilibrium(islice)%profiles_1d%ftrap(:) = 0.0_r8
1370 equilibrium(islice)%profiles_1d%b_av(:) = 0.0_r8
1371 equilibrium(islice)%profiles_1d%b_min(:) = 0.0_r8
1372 equilibrium(islice)%profiles_1d%b_max(:) = 0.0_r8
1376 ALLOCATE(equilibrium(1)%profiles_2d(1))
1377 ALLOCATE(equilibrium(1)%profiles_2d(1)%grid%dim1(ndim1))
1378 ALLOCATE(equilibrium(1)%profiles_2d(1)%grid%dim2(ndim2))
1379 ALLOCATE(equilibrium(1)%profiles_2d(1)%r(ndim1, ndim2))
1380 ALLOCATE(equilibrium(1)%profiles_2d(1)%z(ndim1, ndim2))
1381 ALLOCATE(equilibrium(1)%profiles_2d(1)%psi(ndim1, ndim2))
1382 ALLOCATE(equilibrium(1)%profiles_2d(1)%theta(ndim1, ndim2))
1383 ALLOCATE(equilibrium(1)%profiles_2d(1)%jphi(ndim1, ndim2))
1384 ALLOCATE(equilibrium(1)%profiles_2d(1)%jpar(ndim1, ndim2))
1385 ALLOCATE(equilibrium(1)%profiles_2d(1)%br(ndim1, ndim2))
1386 ALLOCATE(equilibrium(1)%profiles_2d(1)%bz(ndim1, ndim2))
1387 ALLOCATE(equilibrium(1)%profiles_2d(1)%bphi(ndim1, ndim2))
1388 ALLOCATE(equilibrium(1)%profiles_2d(1)%vphi(ndim1, ndim2))
1389 ALLOCATE(equilibrium(1)%profiles_2d(1)%vtheta(ndim1, ndim2))
1390 ALLOCATE(equilibrium(1)%profiles_2d(1)%rho_mass(ndim1, ndim2))
1391 ALLOCATE(equilibrium(1)%profiles_2d(1)%pressure(ndim1, ndim2))
1392 ALLOCATE(equilibrium(1)%profiles_2d(1)%temperature(ndim1, ndim2))
1394 equilibrium(1)%profiles_2d(1)%grid%dim1(:) = 0.0_r8
1395 equilibrium(1)%profiles_2d(1)%grid%dim2(:) = 0.0_r8
1396 equilibrium(1)%profiles_2d(1)%r(:,:) = 0.0_r8
1397 equilibrium(1)%profiles_2d(1)%z(:,:) = 0.0_r8
1398 equilibrium(1)%profiles_2d(1)%psi(:,:) = 0.0_r8
1399 equilibrium(1)%profiles_2d(1)%theta(:,:) = 0.0_r8
1400 equilibrium(1)%profiles_2d(1)%jphi(:,:) = 0.0_r8
1401 equilibrium(1)%profiles_2d(1)%jpar(:,:) = 0.0_r8
1402 equilibrium(1)%profiles_2d(1)%br(:,:) = 0.0_r8
1403 equilibrium(1)%profiles_2d(1)%bz(:,:) = 0.0_r8
1404 equilibrium(1)%profiles_2d(1)%bphi(:,:) = 0.0_r8
1405 equilibrium(1)%profiles_2d(1)%vphi(:,:) = 0.0_r8
1406 equilibrium(1)%profiles_2d(1)%vtheta(:,:) = 0.0_r8
1407 equilibrium(1)%profiles_2d(1)%rho_mass(:,:) = 0.0_r8
1408 equilibrium(1)%profiles_2d(1)%pressure(:,:) = 0.0_r8
1409 equilibrium(1)%profiles_2d(1)%temperature(:,:) = 0.0_r8
1414 ALLOCATE(equilibrium(1)%coord_sys%grid%dim1(ndim1))
1415 ALLOCATE(equilibrium(1)%coord_sys%grid%dim2(ndim2))
1416 ALLOCATE(equilibrium(1)%coord_sys%g_11(ndim1, ndim2))
1417 ALLOCATE(equilibrium(1)%coord_sys%g_12(ndim1, ndim2))
1418 ALLOCATE(equilibrium(1)%coord_sys%g_13(ndim1, ndim2))
1419 ALLOCATE(equilibrium(1)%coord_sys%g_22(ndim1, ndim2))
1420 ALLOCATE(equilibrium(1)%coord_sys%g_23(ndim1, ndim2))
1421 ALLOCATE(equilibrium(1)%coord_sys%g_33(ndim1, ndim2))
1422 ALLOCATE(equilibrium(1)%coord_sys%position%R(ndim1, ndim2))
1423 ALLOCATE(equilibrium(1)%coord_sys%position%Z(ndim1, ndim2))
1425 equilibrium(1)%coord_sys%grid%dim1(:) = 0.0_r8
1426 equilibrium(1)%coord_sys%grid%dim2(:) = 0.0_r8
1427 equilibrium(1)%coord_sys%g_11(:,:) = 0.0_r8
1428 equilibrium(1)%coord_sys%g_12(:,:) = 0.0_r8
1429 equilibrium(1)%coord_sys%g_13(:,:) = 0.0_r8
1430 equilibrium(1)%coord_sys%g_22(:,:) = 0.0_r8
1431 equilibrium(1)%coord_sys%g_23(:,:) = 0.0_r8
1432 equilibrium(1)%coord_sys%g_33(:,:) = 0.0_r8
1433 equilibrium(1)%coord_sys%position%R(:,:) = 0.0_r8
1434 equilibrium(1)%coord_sys%position%Z(:,:) = 0.0_r8
1439 ALLOCATE(equilibrium(1)%eqgeometry%boundary(1))
1440 ALLOCATE(equilibrium(1)%eqgeometry%boundary(1)%r(npoints))
1441 ALLOCATE(equilibrium(1)%eqgeometry%boundary(1)%z(npoints))
1443 equilibrium(1)%eqgeometry%boundary(1)%r(:) = 0.0_r8
1444 equilibrium(1)%eqgeometry%boundary(1)%z(:) = 0.0_r8
1490 INTEGER :: nslice, islice
1492 TYPE (type_toroidfield
),
POINTER :: toroidfield(:)
1496 ALLOCATE (toroidfield(nslice))
1539 USE deallocate_structures
1543 INTEGER :: nslice, islice
1545 INTEGER :: nnucl, inucl
1546 INTEGER :: nion, iion
1547 INTEGER :: nimp, iimp
1548 INTEGER,
ALLOCATABLE :: nzimp(:)
1550 INTEGER :: nneut, ineut
1551 INTEGER,
ALLOCATABLE :: ncomp(:)
1553 INTEGER,
ALLOCATABLE :: ntype(:)
1556 TYPE (type_neoclassic
),
POINTER :: neoclassic(:)
1557 TYPE (type_compositions_type
) :: compositions
1559 ALLOCATE (neoclassic(nslice))
1564 DO islice = 1,nslice
1566 CALL deallocate_cpo(neoclassic(islice)%compositions)
1567 CALL copy_cpo(compositions, neoclassic(islice)%compositions)
1572 ALLOCATE (neoclassic(islice)%codeparam%codename(1))
1573 ALLOCATE (neoclassic(islice)%codeparam%codeversion(1))
1574 ALLOCATE (neoclassic(islice)%codeparam%output_diag(1))
1578 ALLOCATE (neoclassic(islice)%rho_tor(nrho))
1579 ALLOCATE (neoclassic(islice)%rho_tor_norm(nrho))
1581 neoclassic(islice)%rho_tor(:) = 0.0_r8
1582 neoclassic(islice)%rho_tor_norm(:) = 0.0_r8
1588 ALLOCATE (neoclassic(islice)%sigma(nrho))
1589 ALLOCATE (neoclassic(islice)%jboot(nrho))
1590 ALLOCATE (neoclassic(islice)%er(nrho))
1591 ALLOCATE (neoclassic(islice)%vpol(nrho,nion))
1592 ALLOCATE (neoclassic(islice)%ne_neo%diff_eff(nrho))
1593 ALLOCATE (neoclassic(islice)%ne_neo%vconv_eff(nrho))
1594 ALLOCATE (neoclassic(islice)%ni_neo%diff_eff(nrho,nion))
1595 ALLOCATE (neoclassic(islice)%ni_neo%vconv_eff(nrho,nion))
1596 ALLOCATE (neoclassic(islice)%ti_neo%diff_eff(nrho,nion))
1597 ALLOCATE (neoclassic(islice)%ti_neo%vconv_eff(nrho,nion))
1598 ALLOCATE (neoclassic(islice)%te_neo%diff_eff(nrho))
1599 ALLOCATE (neoclassic(islice)%te_neo%vconv_eff(nrho))
1600 ALLOCATE (neoclassic(islice)%mtor_neo%diff_eff(nrho))
1601 ALLOCATE (neoclassic(islice)%mtor_neo%vconv_eff(nrho))
1604 neoclassic(islice)%codeparam%codename =
'-999999999'
1605 neoclassic(islice)%codeparam%codeversion =
'-999999999'
1606 neoclassic(islice)%codeparam%output_diag =
'-999999999'
1607 neoclassic(islice)%codeparam%output_flag = -999999999
1609 neoclassic(islice)%sigma(:) = 0.0_r8
1610 neoclassic(islice)%jboot(:) = 0.0_r8
1611 neoclassic(islice)%er(:) = 0.0_r8
1612 neoclassic(islice)%vpol(:,:) = 0.0_r8
1613 neoclassic(islice)%ne_neo%diff_eff(:) = 0.0_r8
1614 neoclassic(islice)%ne_neo%vconv_eff(:) = 0.0_r8
1615 neoclassic(islice)%ni_neo%diff_eff(:,:) = 0.0_r8
1616 neoclassic(islice)%ni_neo%vconv_eff(:,:) = 0.0_r8
1617 neoclassic(islice)%ti_neo%diff_eff(:,:) = 0.0_r8
1618 neoclassic(islice)%ti_neo%vconv_eff(:,:) = 0.0_r8
1619 neoclassic(islice)%te_neo%diff_eff(:) = 0.0_r8
1620 neoclassic(islice)%te_neo%vconv_eff(:) = 0.0_r8
1621 neoclassic(islice)%mtor_neo%diff_eff(:) = 0.0_r8
1622 neoclassic(islice)%mtor_neo%vconv_eff(:) = 0.0_r8
1625 ALLOCATE (neoclassic(islice)%nz_neo(nimp))
1626 ALLOCATE (neoclassic(islice)%tz_neo(nimp))
1629 ALLOCATE (neoclassic(islice)%nz_neo(iimp)%diff_eff(nrho,nzimp(iimp)))
1630 ALLOCATE (neoclassic(islice)%nz_neo(iimp)%vconv_eff(nrho,nzimp(iimp)))
1631 ALLOCATE (neoclassic(islice)%tz_neo(iimp)%diff_eff(nrho,nzimp(iimp)))
1632 ALLOCATE (neoclassic(islice)%tz_neo(iimp)%vconv_eff(nrho,nzimp(iimp)))
1635 neoclassic(islice)%nz_neo(iimp)%diff_eff(:,:) = 0.0_r8
1636 neoclassic(islice)%nz_neo(iimp)%vconv_eff(:,:) = 0.0_r8
1637 neoclassic(islice)%tz_neo(iimp)%diff_eff(:,:) = 0.0_r8
1638 neoclassic(islice)%tz_neo(iimp)%vconv_eff(:,:) = 0.0_r8
1645 CALL deallocate_cpo(compositions)
1683 USE deallocate_structures
1687 INTEGER :: nslice, islice
1691 INTEGER,
ALLOCATABLE :: nzimp(:)
1693 INTEGER,
ALLOCATABLE :: ncomp(:)
1694 INTEGER,
ALLOCATABLE :: ntype(:)
1696 TYPE (type_compositionc
),
POINTER :: compositionc(:)
1697 TYPE (type_compositions_type
) :: compositions
1700 ALLOCATE (compositionc(nslice))
1706 DO islice = 1,nslice
1708 CALL deallocate_cpo(compositionc(islice)%compositions)
1709 CALL copy_cpo(compositions, compositionc(islice)%compositions)
1714 CALL deallocate_cpo(compositions)
1752 INTEGER :: nslice, islice
1753 INTEGER :: nnucl, inucl
1754 INTEGER :: nion, iion
1755 INTEGER :: nimp, iimp
1756 INTEGER,
ALLOCATABLE :: nzimp(:)
1758 INTEGER :: nneut, ineut
1759 INTEGER,
ALLOCATABLE :: ncomp(:)
1761 INTEGER,
ALLOCATABLE :: ntype(:)
1764 TYPE (type_compositions_type
) :: compositions
1768 ALLOCATE (compositions%NUCLEI(nnucl))
1770 ALLOCATE(compositions%NUCLEI(inucl)%label(1))
1771 compositions%NUCLEI(inucl)%zn = 0.0_r8
1772 compositions%NUCLEI(inucl)%amn = 0.0_r8
1773 compositions%NUCLEI(inucl)%label =
" "
1779 ALLOCATE (compositions%IONS(nion))
1781 ALLOCATE(compositions%IONS(iion)%label(1))
1782 compositions%IONS(iion)%nucindex = 0
1783 compositions%IONS(iion)%zion = 0.0_r8
1784 compositions%IONS(iion)%imp_flag = 0
1785 compositions%IONS(iion)%label =
" "
1792 ALLOCATE (compositions%IMPURITIES(nimp))
1794 compositions%IMPURITIES(iimp)%nucindex = 0
1795 compositions%IMPURITIES(iimp)%i_ion = 0
1796 compositions%IMPURITIES(iimp)%nzimp = nzimp(iimp)
1797 ALLOCATE (compositions%IMPURITIES(iimp)%zmin(nzimp(iimp)))
1798 ALLOCATE (compositions%IMPURITIES(iimp)%zmax(nzimp(iimp)))
1799 ALLOCATE (compositions%IMPURITIES(iimp)%label(nzimp(iimp)))
1800 DO izimp = 1, nzimp(iimp)
1801 compositions%IMPURITIES(iimp)%zmin(izimp) = 0.0_r8
1802 compositions%IMPURITIES(iimp)%zmax(izimp) = 0.0_r8
1803 compositions%IMPURITIES(iimp)%label(izimp) =
" "
1811 IF (nneut.GE.1)
THEN
1812 ALLOCATE (compositions%NEUTRALSCOMP(nneut))
1814 ALLOCATE (compositions%NEUTRALSCOMP(ineut)%NEUTCOMP(ncomp(ineut)))
1815 ALLOCATE (compositions%NEUTRALSCOMP(ineut)%TYPE(ntype(ineut)))
1816 DO icomp = 1, ncomp(ineut)
1817 compositions%NEUTRALSCOMP(ineut)%NEUTCOMP(icomp)%nucindex = 0
1818 compositions%NEUTRALSCOMP(ineut)%NEUTCOMP(icomp)%multiplicity = 0
1820 DO itype = 1, ntype(ineut)
1821 ALLOCATE(compositions%NEUTRALSCOMP(ineut)%TYPE(itype)%id(1))
1822 ALLOCATE(compositions%NEUTRALSCOMP(ineut)%TYPE(itype)%description(1))
1823 compositions%NEUTRALSCOMP(ineut)%TYPE(itype)%id =
" "
1824 compositions%NEUTRALSCOMP(ineut)%TYPE(itype)%flag = 0
1825 compositions%NEUTRALSCOMP(ineut)%TYPE(itype)%description =
" "
1867 INTEGER,
INTENT(OUT) :: nnucl
1868 INTEGER,
INTENT(OUT) :: nion
1869 INTEGER,
INTENT(OUT) :: nimp
1870 INTEGER,
INTENT(OUT),
ALLOCATABLE :: nzimp(:)
1871 INTEGER,
INTENT(OUT) :: nneut
1872 INTEGER,
INTENT(OUT),
ALLOCATABLE :: ncomp(:)
1873 INTEGER,
INTENT(OUT),
ALLOCATABLE :: ntype(:)
1878 TYPE (type_compositions_type
) :: compositions
1882 IF(
ASSOCIATED(compositions%NUCLEI))
THEN
1883 nnucl =
SIZE (compositions%NUCLEI)
1889 IF(
ASSOCIATED(compositions%IONS))
THEN
1890 nion =
SIZE (compositions%IONS)
1896 IF(
ASSOCIATED(compositions%IMPURITIES))
THEN
1897 nimp =
SIZE (compositions%IMPURITIES)
1898 ALLOCATE (nzimp(nimp))
1901 nzimp(iimp) = compositions%IMPURITIES(iimp)%nzimp
1908 IF(
ASSOCIATED(compositions%NEUTRALSCOMP))
THEN
1909 nneut =
SIZE (compositions%NEUTRALSCOMP)
1910 ALLOCATE (ntype(nneut))
1911 ALLOCATE (ncomp(nneut))
1915 ncomp(ineut) =
SIZE(compositions%NEUTRALSCOMP(ineut)%NEUTCOMP)
1916 ntype(ineut) =
SIZE(compositions%NEUTRALSCOMP(ineut)%TYPE)
subroutine allocate_compositions(NSLICE, NNUCL, NION, NIMP, NZIMP, NNEUT, NTYPE, NCOMP, COMPOSITIONS)
subroutine allocate_coreimpur_cpo(NSLICE, NRHO, NNUCL, NION, NIMP, NZIMP, NNEUT, NTYPE, NCOMP, COREIMPUR)
This routine allocates COREIMPUR CPO.
subroutine allocate_coredelta_cpo(NSLICE, NRHO, NNUCL, NION, NIMP, NZIMP, NNEUT, NTYPE, NCOMP, COREDELTA)
This routine allocates COREDELTA CPO.
subroutine allocate_coreprof_cpo(NSLICE, NRHO, NNUCL, NION, NIMP, NZIMP, NNEUT, NTYPE, NCOMP, COREPROF)
This routine allocates COREPROF CPO.
subroutine get_comp_dimensions(COMPOSITIONS, NNUCL, NION, NIMP, NZIMP, NNEUT, NTYPE, NCOMP)
subroutine allocate_corefast_cpo(NSLICE, NRHO, NNUCL, NION, NIMP, NZIMP, NNEUT, NTYPE, NCOMP, COREFAST)
This routine allocates COREFAST CPO.
This module contains routines for allocation/deallocation if CPOs used in ETS.
subroutine allocate_coresource_cpo(NSLICE, NRHO, NNUCL, NION, NIMP, NZIMP, NNEUT, NTYPE, NCOMP, CORESOURCE)
This routine allocates CORESOURCE CPO.
subroutine allocate_equilibrium_cpo(NSLICE, NPSI, NDIM1, NDIM2, NPOINTS, EQUILIBRIUM)
This routine allocates EQUILIBRIUM CPO.
subroutine allocate_neoclassic_cpo(NSLICE, NRHO, NNUCL, NION, NIMP, NZIMP, NNEUT, NTYPE, NCOMP, NEOCLASSIC)
This routine allocates NEOCLASSIC CPO.
subroutine allocate_coreneutrals_cpo(NSLICE, NRHO, NNUCL, NION, NIMP, NZIMP, NNEUT, NTYPE, NCOMP, CORENEUTRALS)
subroutine allocate_compositionc_cpo(NSLICE, NNUCL, NION, NIMP, NZIMP, NNEUT, NTYPE, NCOMP, COMPOSITIONC)
subroutine allocate_toroidfield_cpo(NSLICE, TOROIDFIELD)
This routine allocates TOROIDFIELD CPO.
subroutine allocate_coretransp_cpo(NSLICE, NRHO, NNUCL, NION, NIMP, NZIMP, NNEUT, NTYPE, NCOMP, CORETRANSP)
This routine allocates CORETRANSP CPO.