XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Types | Public Attributes | List of all members
diag_module Module Reference
Collaboration diagram for diag_module:
Collaboration graph
[legend]

Data Types

type  poin_type
 Data structure for Poincare diagnostic. More...
 

Public Attributes

integer, parameter diag_max_sp_num =2
 
integer diag_tracer_period = 100
 
integer diag_tracer_n = 1
 
integer diag_tracer_sp = 1
 
integer diag_particle_mod = 0
 
integer diag_particle_period = 1
 
integer, parameter diag_1d_npv1 =19
 
logical diag_1d_on = .true.
 
integer diag_1d_period = 10
 
integer diag_1d_npsi = 80
 
real(8) diag_1d_pin = 0D0
 
real(8) diag_1d_pout = 1.05D0
 
real(8) diag_1d_dp
 
real(8) diag_1d_dp_inv
 
real(8), dimension(:), allocatable diag_1d_vol
 
integer diag_1d_isp
 
integer diag_1d_nsp
 
real(8), dimension(:,:,:,:),
allocatable, target 
diag_1d_f_pv1
 
real(8), dimension(:,:,:,:),
allocatable, target 
diag_1d_df_pv1
 
real(8), dimension(:,:,:,:),
allocatable 
diag_1d_f0_pv1
 
logical diag_3d_on = .true.
 
integer diag_3d_period
 
integer diag_f3d_period = 1
 Period in time steps for 3D distribution function diagnostic —> needs to be a multiple of sml_f_source_period. More...
 
logical diag_3d_more = .false.
 
integer, parameter diag_3d_nvar =3
 
integer, parameter diag_f3d_ndiag =16
 Number of diagnostics in 3D-f diagnostic. More...
 
real(8), dimension(:,:,:),
allocatable, target 
diag_3d_add
 
logical diag_weight_stats = .false.
 switches particle weight diagnostics on and off (marker density, mean weight, weight variance) More...
 
integer diag_f0_period = 100
 
logical diag_f0_g =.false.
 writing f0_g output in restart_dir/xgc.f0.xxx.bp More...
 
logical diag_f0_n =.false.
 writing f0_n output in restart_dir/xgc.f0.xxx.bp More...
 
real(8), dimension(:,:,:,:),
allocatable 
diag_f0_df_pv1
 
real(8), dimension(:,:,:,:),
allocatable, target 
diag_f0_df_pv2
 
logical diag_f0_df_on = .true.
 Switch for f0_df (grid-conservation) diagnostic. More...
 
integer diag_f0_df_period = 1
 Output interval for f0_df diagnostic in units of sml_f_source_period. More...
 
integer, parameter diag_f0_df_npv1 =5
 
integer, parameter diag_f0_df_nsource =7
 number of type of sources (1) diffusion, (2) collision, (3) heat_torque, (4) neutral, (5) pellet ablation, (6) radiation, (7) total after reverse interpolation to particles More...
 
logical diag_col_convergence_stat_on =.false.
 Swithes file-output of convergence status of the collision operator on/off. More...
 
integer diag_neutral_period = 100
 The number of discrete timesteps between writing the neutral output files. Should generally be equal to neu_background_period. More...
 
logical diag_heat_on = .false.
 
integer, parameter diag_heat_nvar =5
 
integer diag_heat_nsection = 1
 
real(8) diag_heat_rmax1 = 1D3
 
real(8) diag_heat_rmin1 = 1D-4
 
real(8) diag_heat_zmax1 = 1D3
 
real(8) diag_heat_zmin1 = -1D3
 
real(8) diag_heat_rmax2 = 1D3
 
real(8) diag_heat_rmin2 = 1D-4
 
real(8) diag_heat_zmax2 = 1D3
 
real(8) diag_heat_zmin2 = -1D3
 
real(8) diag_heat_rmax3 = 1D3
 
real(8) diag_heat_rmin3 = 1D-4
 
real(8) diag_heat_zmax3 = 1D3
 
real(8) diag_heat_zmin3 = -1D3
 
real(8), dimension(3), target diag_heat_rmax
 
real(8), dimension(3), target diag_heat_rmin
 
real(8), dimension(3), target diag_heat_zmax
 
real(8), dimension(3), target diag_heat_zmin
 
real(8), dimension(3), target diag_heat_dr
 
real(8), dimension(3), target diag_heat_dz
 
real(8), dimension(3), target diag_heat_pmax
 
real(8), dimension(3), target diag_heat_pmin
 
real(8), dimension(3), target diag_heat_dp
 
integer diag_heat_nr = 100
 
integer diag_heat_nz = 100
 
integer diag_heat_npsi = 1000
 
real(8), dimension(:,:,:,:,:,:),
allocatable, target 
diag_heat_pv
 
real(8), dimension(:,:,:,:,:),
allocatable, target 
diag_heat_pv_psi
 
integer diag_heat_mode =2
 (1) Use rectangular boxes to define HFS and LFS psi grid, (2) Use ordered wall nodes for measuring the heat load More...
 
integer diag_heat_nseg
 Number of wall segments (mode==2) More...
 
integer diag_heat_nphi =64
 Number of toroidal segments (mode==2) More...
 
real(kind=8) diag_heat_delta_phi
 Size of toroidal grid (mode==2) More...
 
real(kind=8), dimension(:,:,:,:,:),
allocatable, target 
diag_heat_pv_psi2
 Storage for heat load data (mode==2) More...
 
real(kind=8), dimension(:),
allocatable, target 
diag_heat_r2
 R of wall nodes (mode==2) More...
 
real(kind=8), dimension(:),
allocatable, target 
diag_heat_z2
 Z of wall nodes (mode==2) More...
 
real(kind=8), dimension(:),
allocatable 
diag_heat_psi2
 psi of wall segments (mode==2) More...
 
real(kind=8), dimension(:),
allocatable 
diag_heat_ds2
 area of wall segments (mode==2) More...
 
real(kind=8), dimension(:),
allocatable 
diag_heat_strike_angle2
 strike angle of the magnetic field at wall segments (mode==2) More...
 
real(kind=8) diag_heat_spacing =5D-3
 Spacing of heat_diag grid in mode==2: Refines the wall polygon in the simulation region inpsi <= psi <= outpsi. More...
 
integer diag_heat_guess_table_size =10
 Number of guess table tiles per dimension. More...
 
integer diag_poin_nrec = 1000
 Size of data buffer (number of time slices) for Poincare diagnostic (sml_special==4) More...
 
integer diag_poin_isp = 1
 Species for which a Poincare plot is recorded (sml_special==4) More...
 
type(poin_typediag_poin
 
real(8), dimension(:,:),
allocatable, target 
diag_marker_den
 For the marker particle density. More...
 
real(8), dimension(:,:),
allocatable, target 
diag_weight_mean
 The mean marker weight. More...
 
real(8), dimension(:,:),
allocatable, target 
diag_weight_variance
 The variance of the marker particle weights. More...
 
integer diag_ps_reset_period =10
 
real(8) diag_ps_pin =0.8
 
real(8) diag_ps_pout =0.81
 

Member Data Documentation

real (8), dimension(:,:,:,:), allocatable, target diag_module::diag_1d_df_pv1
real (8) diag_module::diag_1d_dp
real (8) diag_module::diag_1d_dp_inv
real (8), dimension(:,:,:,:), allocatable diag_module::diag_1d_f0_pv1
real (8), dimension(:,:,:,:), allocatable, target diag_module::diag_1d_f_pv1
integer diag_module::diag_1d_isp
integer diag_module::diag_1d_npsi = 80
integer, parameter diag_module::diag_1d_npv1 =19
integer diag_module::diag_1d_nsp
logical diag_module::diag_1d_on = .true.
integer diag_module::diag_1d_period = 10
real (8) diag_module::diag_1d_pin = 0D0
real (8) diag_module::diag_1d_pout = 1.05D0
real (8), dimension(:), allocatable diag_module::diag_1d_vol
real (8), dimension(:,:,:), allocatable, target diag_module::diag_3d_add
logical diag_module::diag_3d_more = .false.
integer, parameter diag_module::diag_3d_nvar =3
logical diag_module::diag_3d_on = .true.
integer diag_module::diag_3d_period
logical diag_module::diag_col_convergence_stat_on =.false.

Swithes file-output of convergence status of the collision operator on/off.

integer, parameter diag_module::diag_f0_df_npv1 =5
integer, parameter diag_module::diag_f0_df_nsource =7

number of type of sources (1) diffusion, (2) collision, (3) heat_torque, (4) neutral, (5) pellet ablation, (6) radiation, (7) total after reverse interpolation to particles

logical diag_module::diag_f0_df_on = .true.

Switch for f0_df (grid-conservation) diagnostic.

integer diag_module::diag_f0_df_period = 1

Output interval for f0_df diagnostic in units of sml_f_source_period.

real (8), dimension(:,:,:,:), allocatable diag_module::diag_f0_df_pv1
real (8), dimension(:,:,:,:), allocatable, target diag_module::diag_f0_df_pv2
logical diag_module::diag_f0_g =.false.

writing f0_g output in restart_dir/xgc.f0.xxx.bp

logical diag_module::diag_f0_n =.false.

writing f0_n output in restart_dir/xgc.f0.xxx.bp

integer diag_module::diag_f0_period = 100
integer, parameter diag_module::diag_f3d_ndiag =16

Number of diagnostics in 3D-f diagnostic.

integer diag_module::diag_f3d_period = 1

Period in time steps for 3D distribution function diagnostic —> needs to be a multiple of sml_f_source_period.

real (kind=8) diag_module::diag_heat_delta_phi

Size of toroidal grid (mode==2)

real (8), dimension(3), target diag_module::diag_heat_dp
real (8), dimension(3), target diag_module::diag_heat_dr
real (kind=8), dimension(:), allocatable diag_module::diag_heat_ds2

area of wall segments (mode==2)

real (8), dimension(3), target diag_module::diag_heat_dz
integer diag_module::diag_heat_guess_table_size =10

Number of guess table tiles per dimension.

integer diag_module::diag_heat_mode =2

(1) Use rectangular boxes to define HFS and LFS psi grid, (2) Use ordered wall nodes for measuring the heat load

integer diag_module::diag_heat_nphi =64

Number of toroidal segments (mode==2)

integer diag_module::diag_heat_npsi = 1000
integer diag_module::diag_heat_nr = 100
integer diag_module::diag_heat_nsection = 1
integer diag_module::diag_heat_nseg

Number of wall segments (mode==2)

integer, parameter diag_module::diag_heat_nvar =5
integer diag_module::diag_heat_nz = 100
logical diag_module::diag_heat_on = .false.
real (8), dimension(3), target diag_module::diag_heat_pmax
real (8), dimension(3), target diag_module::diag_heat_pmin
real (kind=8), dimension(:), allocatable diag_module::diag_heat_psi2

psi of wall segments (mode==2)

real (8), dimension(:,:,:,:,:,:), allocatable, target diag_module::diag_heat_pv
real (8), dimension(:,:,:,:,:), allocatable, target diag_module::diag_heat_pv_psi
real (kind=8), dimension(:,:,:,:,:), allocatable, target diag_module::diag_heat_pv_psi2

Storage for heat load data (mode==2)

real (kind=8), dimension(:), allocatable, target diag_module::diag_heat_r2

R of wall nodes (mode==2)

real (8), dimension(3), target diag_module::diag_heat_rmax
real (8) diag_module::diag_heat_rmax1 = 1D3
real (8) diag_module::diag_heat_rmax2 = 1D3
real (8) diag_module::diag_heat_rmax3 = 1D3
real (8), dimension(3), target diag_module::diag_heat_rmin
real (8) diag_module::diag_heat_rmin1 = 1D-4
real (8) diag_module::diag_heat_rmin2 = 1D-4
real (8) diag_module::diag_heat_rmin3 = 1D-4
real (kind=8) diag_module::diag_heat_spacing =5D-3

Spacing of heat_diag grid in mode==2: Refines the wall polygon in the simulation region inpsi <= psi <= outpsi.

real (kind=8), dimension(:), allocatable diag_module::diag_heat_strike_angle2

strike angle of the magnetic field at wall segments (mode==2)

real (kind=8), dimension(:), allocatable, target diag_module::diag_heat_z2

Z of wall nodes (mode==2)

real (8), dimension(3), target diag_module::diag_heat_zmax
real (8) diag_module::diag_heat_zmax1 = 1D3
real (8) diag_module::diag_heat_zmax2 = 1D3
real (8) diag_module::diag_heat_zmax3 = 1D3
real (8), dimension(3), target diag_module::diag_heat_zmin
real (8) diag_module::diag_heat_zmin1 = -1D3
real (8) diag_module::diag_heat_zmin2 = -1D3
real (8) diag_module::diag_heat_zmin3 = -1D3
real (8), dimension(:,:), allocatable, target diag_module::diag_marker_den

For the marker particle density.

integer, parameter diag_module::diag_max_sp_num =2
integer diag_module::diag_neutral_period = 100

The number of discrete timesteps between writing the neutral output files. Should generally be equal to neu_background_period.

integer diag_module::diag_particle_mod = 0
integer diag_module::diag_particle_period = 1
type(poin_type) diag_module::diag_poin
integer diag_module::diag_poin_isp = 1

Species for which a Poincare plot is recorded (sml_special==4)

integer diag_module::diag_poin_nrec = 1000

Size of data buffer (number of time slices) for Poincare diagnostic (sml_special==4)

real (8) diag_module::diag_ps_pin =0.8
real (8) diag_module::diag_ps_pout =0.81
integer diag_module::diag_ps_reset_period =10
integer diag_module::diag_tracer_n = 1
integer diag_module::diag_tracer_period = 100
integer diag_module::diag_tracer_sp = 1
real (8), dimension(:,:), allocatable, target diag_module::diag_weight_mean

The mean marker weight.

logical diag_module::diag_weight_stats = .false.

switches particle weight diagnostics on and off (marker density, mean weight, weight variance)

real (8), dimension(:,:), allocatable, target diag_module::diag_weight_variance

The variance of the marker particle weights.


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