VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
Loading...
Searching...
No Matches
bextrema.f90
Go to the documentation of this file.
1
3
11SUBROUTINE bextrema(modb, bmin, bmax, nzeta, ntheta)
12
13 USE stel_kinds
14
15 IMPLICIT NONE
16
17 INTEGER, intent(in) :: nzeta, ntheta
18 REAL(rprec), INTENT(in) :: modb(nzeta,ntheta)
19 REAL(rprec), INTENT(out) :: bmin(ntheta), bmax(ntheta)
20
21 INTEGER :: ku
22
23 DO ku = 1,ntheta
24 bmin(ku) = minval(modb(:,ku))
25 bmax(ku) = maxval(modb(:,ku))
26 ENDDO
27
28END SUBROUTINE bextrema
subroutine bextrema(modb, bmin, bmax, nzeta, ntheta)
Computes minimum and maximum along between two angle lines ( ).
Definition bextrema.f90:12