XGC1
Public Attributes | List of all members
grid_class::grid_type Type Reference
Collaboration diagram for grid_class::grid_type:
Collaboration graph
[legend]

Public Attributes

integer nnode
 
integer ntriangle
 
integer, dimension(:), pointer rgn
 
real(kind=8), dimension(:), pointer psi
 
real(kind=8), dimension(:,:), pointer x
 
integer, dimension(:,:), pointer nd
 
real(kind=8), dimension(:,:,:), pointer mapping
 
integer, dimension(:,:), allocatable tr_node
 
integer, dimension(:), allocatable num_t_node
 
real(kind=8), dimension(:,:,:), allocatable unit_vecs
 
integer, dimension(:), pointer basis
 
type(mat_typegradientx
 
type(mat_typegradienty
 
type(mat_typed2dtheta2
 
type(mat_typed2dpsi2
 
integer, dimension(2) guess_n
 
real(kind=8), dimension(2) guess_min
 
real(kind=8), dimension(2) guess_max
 
real(kind=8), dimension(2) inv_guess_d
 
integer, dimension(:), pointer guess_list
 
integer, dimension(:,:), pointer guess_xtable
 
integer, dimension(:,:), pointer guess_count
 
integer iphi_offset
 
integer nphi
 
real(kind=8) delta_phi
 
real(kind=8) inv_delta_phi
 
real(kind=8) phimin
 
real(kind=8) phimax
 
integer, dimension(0:ptl_nsp_max) nrho
 
real(8), dimension(0:ptl_nsp_max) rhomax
 
real(8), dimension(0:ptl_nsp_max) drho
 
integer npsi_surf
 
integer npsi_surf2
 
real(8), dimension(:), pointer psi_surf
 
real(8), dimension(:), pointer psi_surf2
 
integer, dimension(:), pointer psi_surf_map
 mapping from psi_surf2 --> psi_surf More...
 
integer surf_maxlen
 Maximum number of vertices per flux-surface. More...
 
integer, dimension(:), allocatable surf_len
 Lengths (# of vertices) for each flux-surface. More...
 
integer, dimension(:,:), allocatable surf_idx
 Vertex indices for each flux-surface. More...
 
real(kind=8), dimension(:), pointer theta
 generalized poloidal angle (currently only for closed surfaces) More...
 
integer, dimension(:,:), pointer theta_sort_idx
 index set that sorts the generalized pol. angle in ascending order on each flux_surface More...
 
real(kind=8), dimension(:), allocatable surf_arc_len
 poloidal arc-length of the complete flux-surfaces (currently only for closed surfaces) More...
 
integer len_sep
 
integer j0_sep
 length and start index of upper part of separatrix surface More...
 
integer n_x_point
 
integer i_x1
 
integer i_x2
 
integer nsurf1
 
integer nsurf2
 
integer nsurf3a
 
integer nsurf3b
 
integer isurf_sep1
 
integer isurf_sep2
 
real(kind=8), dimension(:), pointer node_area
 
real(kind=8), dimension(:), pointer node_vol
 
real(kind=8), dimension(:), pointer tr_vol
 
real(kind=8), dimension(:), pointer tr_area
 
real(8), dimension(:,:), pointer node_vol_ff
 
real(8), dimension(:), pointer node_vol_nearest
 
real(kind=8), dimension(:,:), allocatable bfield
 B vector: second dimension --> 1-3 => R,Z,phi components, 4 => |B|. More...
 
real(kind=8), dimension(:,:), allocatable v_curv
 curl(B) More...
 
real(kind=8), dimension(:,:), allocatable v_gradb
 Bxgrad(B) More...
 
real(kind=8), dimension(:), allocatable v_curv_avg
 Flux-avg of radial curvature drift <1/(|grad(psi)|*B^2) curl(B)> |grad(psi)| B^2. More...
 
real(kind=8), dimension(:), allocatable v_gradb_avg
 Flux-avg of radial grad(B) drift <1/(|grad(psi)|*B^3) Bxgrad(B)> |grad(psi)| B^3. More...
 
real(kind=8), dimension(:,:), allocatable curl_nb
 Curl of normalized B, i.e., curl(B/|B|) More...
 
real(kind=8), dimension(:), allocatable nb_curl_nb
 b.curl(b) More...
 
real(kind=8), dimension(:,:), allocatable gradpsi
 grad(psi)=dpsi/dr R_hat + dpsi/dz Z_hat More...
 
real(kind=8), dimension(:), allocatable absgradpsi
 |grad(psi)| More...
 
real(kind=8), dimension(:), allocatable absgradpsi_avg
 Flux-avg of absgradpsi. More...
 
real(kind=8), dimension(:), allocatable trapped
 Trapped particle fraction on uniform psi-grid. More...
 
real(kind=8), dimension(:), pointer qsafety
 Safety factor from qevaluateandtrapped.F90 on uniform psi-grid. More...
 
integer nsurf
 
integer, dimension(:), pointer m_max_surf
 Maximum poloidal mode number supported by the flux surface. More...
 

Member Data Documentation

◆ absgradpsi

real (kind=8), dimension(:), allocatable grid_class::grid_type::absgradpsi

|grad(psi)|

◆ absgradpsi_avg

real (kind=8), dimension(:), allocatable grid_class::grid_type::absgradpsi_avg

Flux-avg of absgradpsi.

◆ basis

integer, dimension(:), pointer grid_class::grid_type::basis

◆ bfield

real (kind=8), dimension(:,:), allocatable grid_class::grid_type::bfield

B vector: second dimension --> 1-3 => R,Z,phi components, 4 => |B|.

◆ curl_nb

real (kind=8), dimension(:,:), allocatable grid_class::grid_type::curl_nb

Curl of normalized B, i.e., curl(B/|B|)

◆ d2dpsi2

type (mat_type) grid_class::grid_type::d2dpsi2

◆ d2dtheta2

type (mat_type) grid_class::grid_type::d2dtheta2

◆ delta_phi

real (kind=8) grid_class::grid_type::delta_phi

◆ drho

real (8), dimension(0:ptl_nsp_max) grid_class::grid_type::drho

◆ gradientx

type (mat_type) grid_class::grid_type::gradientx

◆ gradienty

type (mat_type) grid_class::grid_type::gradienty

◆ gradpsi

real (kind=8), dimension(:,:), allocatable grid_class::grid_type::gradpsi

grad(psi)=dpsi/dr R_hat + dpsi/dz Z_hat

◆ guess_count

integer, dimension(:,:), pointer grid_class::grid_type::guess_count

◆ guess_list

integer, dimension(:), pointer grid_class::grid_type::guess_list

◆ guess_max

real (kind=8), dimension(2) grid_class::grid_type::guess_max

◆ guess_min

real (kind=8), dimension(2) grid_class::grid_type::guess_min

◆ guess_n

integer, dimension(2) grid_class::grid_type::guess_n

◆ guess_xtable

integer, dimension(:,:), pointer grid_class::grid_type::guess_xtable

◆ i_x1

integer grid_class::grid_type::i_x1

◆ i_x2

integer grid_class::grid_type::i_x2

◆ inv_delta_phi

real (kind=8) grid_class::grid_type::inv_delta_phi

◆ inv_guess_d

real (kind=8), dimension(2) grid_class::grid_type::inv_guess_d

◆ iphi_offset

integer grid_class::grid_type::iphi_offset

◆ isurf_sep1

integer grid_class::grid_type::isurf_sep1

◆ isurf_sep2

integer grid_class::grid_type::isurf_sep2

◆ j0_sep

integer grid_class::grid_type::j0_sep

length and start index of upper part of separatrix surface

◆ len_sep

integer grid_class::grid_type::len_sep

◆ m_max_surf

integer, dimension(:), pointer grid_class::grid_type::m_max_surf

Maximum poloidal mode number supported by the flux surface.

◆ mapping

real (kind=8), dimension(:,:,:), pointer grid_class::grid_type::mapping

◆ n_x_point

integer grid_class::grid_type::n_x_point

◆ nb_curl_nb

real (kind=8), dimension(:), allocatable grid_class::grid_type::nb_curl_nb

b.curl(b)

◆ nd

integer, dimension(:,:), pointer grid_class::grid_type::nd

◆ nnode

integer grid_class::grid_type::nnode

◆ node_area

real (kind=8), dimension(:), pointer grid_class::grid_type::node_area

◆ node_vol

real (kind=8), dimension(:), pointer grid_class::grid_type::node_vol

◆ node_vol_ff

real (8), dimension(:,:), pointer grid_class::grid_type::node_vol_ff

◆ node_vol_nearest

real (8), dimension(:), pointer grid_class::grid_type::node_vol_nearest

◆ nphi

integer grid_class::grid_type::nphi

◆ npsi_surf

integer grid_class::grid_type::npsi_surf

◆ npsi_surf2

integer grid_class::grid_type::npsi_surf2

◆ nrho

integer, dimension(0:ptl_nsp_max) grid_class::grid_type::nrho

◆ nsurf

integer grid_class::grid_type::nsurf

◆ nsurf1

integer grid_class::grid_type::nsurf1

◆ nsurf2

integer grid_class::grid_type::nsurf2

◆ nsurf3a

integer grid_class::grid_type::nsurf3a

◆ nsurf3b

integer grid_class::grid_type::nsurf3b

◆ ntriangle

integer grid_class::grid_type::ntriangle

◆ num_t_node

integer, dimension(:), allocatable grid_class::grid_type::num_t_node

◆ phimax

real (kind=8) grid_class::grid_type::phimax

◆ phimin

real (kind=8) grid_class::grid_type::phimin

◆ psi

real (kind=8), dimension(:), pointer grid_class::grid_type::psi

◆ psi_surf

real (8), dimension(:), pointer grid_class::grid_type::psi_surf

◆ psi_surf2

real (8), dimension(:), pointer grid_class::grid_type::psi_surf2

◆ psi_surf_map

integer, dimension(:), pointer grid_class::grid_type::psi_surf_map

mapping from psi_surf2 --> psi_surf

◆ qsafety

real (kind=8), dimension(:), pointer grid_class::grid_type::qsafety

Safety factor from qevaluateandtrapped.F90 on uniform psi-grid.

◆ rgn

integer, dimension(:), pointer grid_class::grid_type::rgn

◆ rhomax

real (8), dimension(0:ptl_nsp_max) grid_class::grid_type::rhomax

◆ surf_arc_len

real (kind=8), dimension(:), allocatable grid_class::grid_type::surf_arc_len

poloidal arc-length of the complete flux-surfaces (currently only for closed surfaces)

◆ surf_idx

integer, dimension(:,:), allocatable grid_class::grid_type::surf_idx

Vertex indices for each flux-surface.

◆ surf_len

integer, dimension(:), allocatable grid_class::grid_type::surf_len

Lengths (# of vertices) for each flux-surface.

◆ surf_maxlen

integer grid_class::grid_type::surf_maxlen

Maximum number of vertices per flux-surface.

◆ theta

real (kind=8), dimension(:), pointer grid_class::grid_type::theta

generalized poloidal angle (currently only for closed surfaces)

◆ theta_sort_idx

integer, dimension(:,:), pointer grid_class::grid_type::theta_sort_idx

index set that sorts the generalized pol. angle in ascending order on each flux_surface

◆ tr_area

real (kind=8), dimension(:), pointer grid_class::grid_type::tr_area

◆ tr_node

integer, dimension(:,:), allocatable grid_class::grid_type::tr_node

◆ tr_vol

real (kind=8), dimension(:), pointer grid_class::grid_type::tr_vol

◆ trapped

real (kind=8), dimension(:), allocatable grid_class::grid_type::trapped

Trapped particle fraction on uniform psi-grid.

◆ unit_vecs

real (kind=8), dimension(:,:,:), allocatable grid_class::grid_type::unit_vecs

◆ v_curv

real (kind=8), dimension(:,:), allocatable grid_class::grid_type::v_curv

curl(B)

◆ v_curv_avg

real (kind=8), dimension(:), allocatable grid_class::grid_type::v_curv_avg

Flux-avg of radial curvature drift <1/(|grad(psi)|*B^2) curl(B)> |grad(psi)| B^2.

◆ v_gradb

real (kind=8), dimension(:,:), allocatable grid_class::grid_type::v_gradb

Bxgrad(B)

◆ v_gradb_avg

real (kind=8), dimension(:), allocatable grid_class::grid_type::v_gradb_avg

Flux-avg of radial grad(B) drift <1/(|grad(psi)|*B^3) Bxgrad(B)> |grad(psi)| B^3.

◆ x

real (kind=8), dimension(:,:), pointer grid_class::grid_type::x

The documentation for this type was generated from the following file: