4 (coreprof_in, coreprof_out, &
5 coretransp_in, coretransp_out, &
6 coresource_in, coresource_out, &
7 coreimpur_in, coreimpur_out, &
8 coreneutrals_in, coreneutrals_out, &
9 neoclassic_in, neoclassic_out, &
10 equilibrium_in, equilibrium_out, &
11 toroidfield_in, toroidfield_out)
20 TYPE (type_coreprof
),
POINTER :: coreprof_in(:)
21 TYPE (type_coreprof
),
POINTER :: coreprof_out(:)
22 TYPE (type_coretransp
),
POINTER :: coretransp_in(:)
23 TYPE (type_coretransp
),
POINTER :: coretransp_out(:)
24 TYPE (type_coresource
),
POINTER :: coresource_in(:)
25 TYPE (type_coresource
),
POINTER :: coresource_out(:)
26 TYPE (type_coreimpur
),
POINTER :: coreimpur_in(:)
27 TYPE (type_coreimpur
),
POINTER :: coreimpur_out(:)
28 TYPE (type_coreneutrals
),
POINTER :: coreneutrals_in(:)
29 TYPE (type_coreneutrals
),
POINTER :: coreneutrals_out(:)
30 TYPE (type_neoclassic
),
POINTER :: neoclassic_in(:)
31 TYPE (type_neoclassic
),
POINTER :: neoclassic_out(:)
32 TYPE (type_equilibrium
),
POINTER :: equilibrium_in(:)
33 TYPE (type_equilibrium
),
POINTER :: equilibrium_out(:)
34 TYPE (type_toroidfield
),
POINTER :: toroidfield_in(:)
35 TYPE (type_toroidfield
),
POINTER :: toroidfield_out(:)
47 ALLOCATE(coreprof_out(1))
48 ALLOCATE(coretransp_out(1))
49 ALLOCATE(coresource_out(1))
50 ALLOCATE(coreimpur_out(1))
51 ALLOCATE(coreneutrals_out(1))
52 ALLOCATE(neoclassic_out(1))
53 ALLOCATE(equilibrium_out(1))
54 ALLOCATE(toroidfield_out(1))
58 CALL copy_cpo(coreprof_in(1), coreprof_out(1))
59 CALL copy_cpo(coretransp_in(1), coretransp_out(1))
60 CALL copy_cpo(coresource_in(1), coresource_out(1))
61 CALL copy_cpo(coreimpur_in(1), coreimpur_out(1))
62 CALL copy_cpo(coreneutrals_in(1), coreneutrals_out(1))
63 CALL copy_cpo(neoclassic_in(1), neoclassic_out(1))
64 CALL copy_cpo(equilibrium_in(1), equilibrium_out(1))
65 CALL copy_cpo(toroidfield_in(1), toroidfield_out(1))
subroutine changeocc(COREPROF_IN, COREPROF_OUT, CORETRANSP_IN, CORETRANSP_OUT, CORESOURCE_IN, CORESOURCE_OUT, COREIMPUR_IN, COREIMPUR_OUT, CORENEUTRALS_IN, CORENEUTRALS_OUT, NEOCLASSIC_IN, NEOCLASSIC_OUT, EQUILIBRIUM_IN, EQUILIBRIUM_OUT, TOROIDFIELD_IN, TOROIDFIELD_OUT)