VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
Loading...
Searching...
No Matches
free_mem_funct3d.f90
Go to the documentation of this file.
1
3
7 USE vmec_main
8 USE realspace
9 USE vforces
10 IMPLICIT NONE
11
12 INTEGER :: istat1 = 0
13
14 IF (ALLOCATED(armn)) then
15 DEALLOCATE (armn, azmn, brmn, bzmn, crmn, czmn, blmn, clmn, &
16 r1, ru, rv, z1, zu, zv, gcon, rcon, zcon, ru0, zu0, &
18 rcon0, zcon0, guu, guv, gvv, stat=istat1)
19 IF (istat1 .ne. 0) stop 'deallocation error#1 in funct3d'
20 end if
21
22 IF (ALLOCATED(extra1)) then
23 DEALLOCATE (extra1, extra2, extra3, extra4, stat=istat1)
24 IF (istat1 .ne. 0) stop 'deallocation error#3 in funct3d'
25 end if
26
27END SUBROUTINE free_mem_funct3d
subroutine free_mem_funct3d
Free memory required by funct3d()
real(rprec), dimension(:,:), allocatable rv
Definition realspace.f90:10
real(rprec), dimension(:), allocatable zu0
, even-m and odd-m added together appropriately
Definition realspace.f90:25
real(rprec), dimension(:,:), allocatable zv
Definition realspace.f90:13
real(rprec), dimension(:,:), allocatable zcon
spectral condensation term in
Definition realspace.f90:16
real(rprec), dimension(:,:), allocatable ru
Definition realspace.f90:9
real(rprec), dimension(:), allocatable gvv
metric element
Definition realspace.f90:22
real(rprec), dimension(:,:), allocatable, target extra3
Definition realspace.f90:38
real(rprec), dimension(:), allocatable guv
metric element
Definition realspace.f90:21
real(rprec), dimension(:,:), allocatable, target extra4
Definition realspace.f90:39
real(rprec), dimension(:,:), allocatable, target extra1
Definition realspace.f90:36
real(rprec), dimension(:), allocatable ru0
, even-m and odd-m added together appropriately
Definition realspace.f90:24
real(rprec), dimension(:), allocatable gcon
spectral condensation force; "alias force"
Definition realspace.f90:27
real(rprec), dimension(:,:), allocatable, target z1
Definition realspace.f90:11
real(rprec), dimension(:,:), allocatable rcon
spectral condensation term in
Definition realspace.f90:15
real(rprec), dimension(:), allocatable rcon0
spectral condensation term in at start of current multi-grid iteration
Definition realspace.f90:17
real(rprec), dimension(:,:), allocatable r1
Definition realspace.f90:8
real(rprec), dimension(:), allocatable guu
metric element
Definition realspace.f90:20
real(rprec), dimension(:,:), allocatable, target extra2
Definition realspace.f90:37
real(rprec), dimension(:), allocatable zcon0
spectral condensation term in at start of current multi-grid iteration
Definition realspace.f90:18
real(rprec), dimension(:,:), allocatable zu
Definition realspace.f90:12
real(rprec), dimension(:), allocatable, target clmn
Definition vforces.f90:17
real(rprec), dimension(:), allocatable, target azmn
Definition vforces.f90:12
real(rprec), dimension(:), allocatable, target brmn_con
Definition vforces.f90:39
real(rprec), dimension(:), allocatable, target brmn
Definition vforces.f90:9
real(rprec), dimension(:), allocatable, target bzmn_con
Definition vforces.f90:40
real(rprec), dimension(:), allocatable, target blmn
Definition vforces.f90:16
real(rprec), dimension(:), allocatable, target armn
Definition vforces.f90:8
real(rprec), dimension(:), allocatable, target crmn
Definition vforces.f90:10
real(rprec), dimension(:), allocatable, target czmn
Definition vforces.f90:14
real(rprec), dimension(:), allocatable, target bzmn
Definition vforces.f90:13