VMEC
8.52
3D Equilibrium solver with nested flux surfaces.
Toggle main menu visibility
Loading...
Searching...
No Matches
free_mem_nunv.f90
Go to the documentation of this file.
1
!> \file
2
!> \brief Free arrays depending on the number of Fourier coefficients \c nunv
3
4
!> \brief Free arrays depending on the number of Fourier coefficients \c nunv
5
!>
6
SUBROUTINE
free_mem_nunv
7
USE
vmec_main
8
USE
vacmod
,
only
:
free_mem_nestor
9
IMPLICIT NONE
10
11
INTEGER
:: istat1 = 0, istat2 = 0
12
13
IF
(
ALLOCATED
(
bsubu0
)) &
14
DEALLOCATE
(
bsubu0
,
rbsq
,
dbsq
, stat=istat1)
15
IF
(
ALLOCATED
(
rmn_bdy
)) &
16
DEALLOCATE
(
rmn_bdy
,
zmn_bdy
, stat=istat2)
17
18
call
free_mem_nestor
19
if
(
allocated
(
bsqsav
))
then
20
deallocate
(
bsqsav
)
21
end if
22
23
IF
(istat1.ne.0 .or. istat2.ne.0)
THEN
24
print *,
' deallocation problem in free_mem_nunv'
25
print *,
' istat1 = '
,istat1
26
print *,
' istat2 = '
,istat2
27
ENDIF
28
29
END SUBROUTINE
free_mem_nunv
free_mem_nunv
subroutine free_mem_nunv
Free arrays depending on the number of Fourier coefficients nunv.
Definition
free_mem_nunv.f90:7
vacmod
Definition
vacmod.f90:2
vacmod::free_mem_nestor
subroutine free_mem_nestor
Definition
vacmod.f90:287
vmec_main
Definition
vmec_main.f90:2
vmec_main::dbsq
real(rprec), dimension(:), allocatable dbsq
Definition
vmec_main.f90:132
vmec_main::zmn_bdy
real(rprec), dimension(:,:,:), allocatable, target zmn_bdy
Definition
vmec_main.f90:129
vmec_main::rbsq
real(rprec), dimension(:), allocatable rbsq
Definition
vmec_main.f90:133
vmec_main::bsqsav
real(rprec), dimension(:,:), allocatable bsqsav
Definition
vmec_main.f90:73
vmec_main::rmn_bdy
real(rprec), dimension(:,:,:), allocatable, target rmn_bdy
Definition
vmec_main.f90:128
vmec_main::bsubu0
real(rprec), dimension(:), allocatable bsubu0
Definition
vmec_main.f90:131
src
free_mem_nunv.f90
Generated on
for VMEC by
1.17.0