XGC1
 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
 
integer diag_tracer_n
 
integer diag_tracer_sp
 
integer diag_particle_mod
 
integer diag_particle_period
 
integer, parameter diag_1d_npv1 =19
 
logical diag_1d_on
 
integer diag_1d_period
 
integer diag_1d_npsi
 
real(8) diag_1d_pin
 
real(8) diag_1d_pout
 
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
 
integer diag_3d_period
 
integer diag_f3d_period
 Period in time steps for 3D distribution function diagnostic —> needs to be a multiple of sml_f_source_period. More...
 
logical diag_3d_more
 
integer, parameter diag_3d_nvar =3
 
integer, parameter diag_f3d_ndiag =17
 Number of diagnostics in 3D-f diagnostic. More...
 
real(8), dimension(:,:,:),
allocatable, target 
diag_3d_add
 
logical diag_weight_stats
 switches particle weight diagnostics on and off (marker density, mean weight, weight variance) More...
 
integer diag_f0_period
 
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
 Switch for f0_df (grid-conservation) diagnostic. More...
 
integer diag_f0_df_period
 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
 The number of discrete timesteps between writing the neutral output files. Should generally be equal to neu_background_period. More...
 
logical diag_heat_on
 
integer, parameter diag_heat_nvar =5
 
integer diag_heat_nsection
 
real(8) diag_heat_rmax1
 
real(8) diag_heat_rmin1
 
real(8) diag_heat_zmax1
 
real(8) diag_heat_zmin1
 
real(8) diag_heat_rmax2
 
real(8) diag_heat_rmin2
 
real(8) diag_heat_zmax2
 
real(8) diag_heat_zmin2
 
real(8) diag_heat_rmax3
 
real(8) diag_heat_rmin3
 
real(8) diag_heat_zmax3
 
real(8) diag_heat_zmin3
 
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
 
integer diag_heat_nz
 
integer diag_heat_npsi
 
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
 Size of data buffer (number of time slices) for Poincare diagnostic (sml_special==4) More...
 
integer diag_poin_isp
 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...
 

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
integer, parameter diag_module::diag_1d_npv1 =19
integer diag_module::diag_1d_nsp
logical diag_module::diag_1d_on
integer diag_module::diag_1d_period
real (8) diag_module::diag_1d_pin
real (8) diag_module::diag_1d_pout
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
integer, parameter diag_module::diag_3d_nvar =3
logical diag_module::diag_3d_on
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

Switch for f0_df (grid-conservation) diagnostic.

integer diag_module::diag_f0_df_period

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
integer, parameter diag_module::diag_f3d_ndiag =17

Number of diagnostics in 3D-f diagnostic.

integer diag_module::diag_f3d_period

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
integer diag_module::diag_heat_nr
integer diag_module::diag_heat_nsection
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
logical diag_module::diag_heat_on
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
real (8) diag_module::diag_heat_rmax2
real (8) diag_module::diag_heat_rmax3
real (8), dimension(3), target diag_module::diag_heat_rmin
real (8) diag_module::diag_heat_rmin1
real (8) diag_module::diag_heat_rmin2
real (8) diag_module::diag_heat_rmin3
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
real (8) diag_module::diag_heat_zmax2
real (8) diag_module::diag_heat_zmax3
real (8), dimension(3), target diag_module::diag_heat_zmin
real (8) diag_module::diag_heat_zmin1
real (8) diag_module::diag_heat_zmin2
real (8) diag_module::diag_heat_zmin3
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

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
integer diag_module::diag_particle_period
type(poin_type) diag_module::diag_poin
integer diag_module::diag_poin_isp

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

integer diag_module::diag_poin_nrec

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

integer diag_module::diag_tracer_n
integer diag_module::diag_tracer_period
integer diag_module::diag_tracer_sp
real (8), dimension(:,:), allocatable, target diag_module::diag_weight_mean

The mean marker weight.

logical diag_module::diag_weight_stats

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: