3 SUBROUTINE scaleprof (S_psi, S_jpar, S_ne, S_te, S_ni, S_ti, S_vtor, &
4 coreprof_in, coreprof_out)
29 TYPE (type_coreprof
),
POINTER :: coreprof_in(:)
30 TYPE (type_coreprof
),
POINTER :: coreprof_out(:)
43 ALLOCATE(coreprof_out(1))
47 CALL copy_cpo(coreprof_in(1), coreprof_out(1))
51 coreprof_out(1)%psi%value = coreprof_in(1)%psi%value * s_psi
52 coreprof_out(1)%profiles1d%jtot%value = coreprof_in(1)%profiles1d%jtot%value * s_jpar
54 coreprof_out(1)%ne%value = coreprof_in(1)%ne%value * s_ne
55 coreprof_out(1)%te%value = coreprof_in(1)%te%value * s_te
57 coreprof_out(1)%ni%value = coreprof_in(1)%ni%value * s_ni
58 coreprof_out(1)%ti%value = coreprof_in(1)%ti%value * s_ti
60 coreprof_out(1)%vtor%value = coreprof_in(1)%vtor%value * s_vtor
subroutine scaleprof(S_psi, S_jpar, S_ne, S_te, S_ni, S_ti, S_vtor, COREPROF_IN, COREPROF_OUT)