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

Data Types

interface  aind
 
type  ptl_type
 
type  ptl_type_aosoa
 
interface  sind
 
type  species_type
 

Public Member Functions

subroutine transpose_to_aos (ptl_aosoa, n, ptl_aos)
 
subroutine transpose_from_aos (ptl_aos, n, ptl_aosoa)
 
subroutine all_species_allocate_tr_p_save ()
 
subroutine all_species_deallocate_tr_p_save ()
 

Public Attributes

integer, parameter ptl_nphase =6
 
integer, parameter ptl_nconst =3
 
integer, parameter ptl_nphase2 =12
 
integer ptl_isp
 
integer ptl_nsp =1
 
integer, parameter num_shift_ie_opts = 10
 
integer, parameter index_shift_ie_max_nthreads = 1
 
integer, parameter index_shift_ie_use_alltoall = 2
 
integer, parameter index_shift_ie_use_hs_barrier0 = 3
 
integer, parameter index_shift_ie_large_limit = 4
 
integer, parameter index_shift_ie_handshake = 5
 
integer, parameter index_shift_ie_use_hs_barrier1 = 6
 
integer, parameter index_shift_ie_use_sendrecv = 7
 
integer, parameter index_shift_ie_all_sendrecv = 8
 
integer, parameter index_shift_ie_use_isend = 9
 
integer, parameter index_shift_ie_use_rsend = 10
 
integer, parameter use_def_shift_ie_opt = -2
 
integer, parameter true_shift_ie_opt = 1
 
integer, parameter false_shift_ie_opt = 0
 
real(8), dimension(0:ptl_nsp_max) ptl_mass = 0D0
 
real(8), dimension(0:ptl_nsp_max) ptl_charge = 0D0
 
real(8), dimension(0:ptl_nsp_max) ptl_c_m = 0D0
 
real(8), dimension(0:ptl_nsp_max) ptl_c2_2m = 0D0
 
type(species_type), dimension(0:ptl_nsp_max),
target 
spall_global
 
integer ptl_enum_save
 
integer ptl_tracer_n_save = 0
 
type(ptl_type_aosoa),
dimension(:), allocatable 
ptl_iphase_save
 
integer ptl_inum_save = 0
 
real(8) ptl_special_r = 1.95D0
 Start R for particle in single particle sim. (sml_special==1) More...
 
real(8) ptl_special_z = 0D0
 Start Z for particle in single particle sim. (sml_special==1) More...
 
real(8) ptl_special_phi = 0D0
 Start phi for particles in single particle sim. (sml_special==1 and 4) More...
 
real(8) ptl_special_en_ev = 7205
 Energy of particles with sml_special==(1,4) More...
 
real(8) ptl_special_pitch = 1D0
 Pitch v_parallel/v of particles with sml_special==(1,4) (at B=B_min with sml_special=4) More...
 
real(8) ptl_special_poin_phi = 0D0
 Toroidal angle for Poincare plot (sml_special==4) More...
 
integer ptl_special_npsi = 6
 Number of flux-surfaces on which to load particles (ptl_special==4) More...
 
real(8) ptl_special_psi_min = 0.94D0
 Min. psi of flux-surface on which to load particles (ptl_special==4) More...
 
real(8) ptl_special_psi_max = 0.99D0
 Max. psi of flux-surface on which to load particles (ptl_special==4) More...
 
integer ptl_special_n = 100
 sml_special==3 More...
 
integer ptl_e_maxnum
 
integer ptl_e_num = 0
 
real(8) ptl_e_mass_au = 2D-2
 
real(8) ptl_e_charge_eu = -1D0
 
real(8), dimension(0:ptl_nsp_max) ptl_mass_au =2D0
 
real(8), dimension(0:ptl_nsp_max) ptl_charge_eu =1D0
 
integer, parameter pir =1
 
integer, parameter piz =2
 
integer, parameter pip =3
 
integer, parameter pirho =4
 
integer, parameter pim =1
 
integer, parameter piw1 =5
 
integer, parameter piw2 =6
 
integer, parameter piw0 =2
 
integer, parameter pif0 =3
 
character(len=20), dimension(0:ptl_nsp_max) ptl_marker_type
 
character(len=20), dimension(0:ptl_nsp_max) ptl_f_analytic_shape
 
character(len=20), dimension(0:ptl_nsp_max) ptl_weight_evo_eq
 
logical, dimension(0:ptl_nsp_max) ptl_dynamic_f0
 

Member Function/Subroutine Documentation

subroutine ptl_module::all_species_allocate_tr_p_save ( )
subroutine ptl_module::all_species_deallocate_tr_p_save ( )
subroutine ptl_module::transpose_from_aos ( type(ptl_type), dimension(:), intent(in)  ptl_aos,
integer, intent(in)  n,
type(ptl_type_aosoa), dimension(:), intent(out)  ptl_aosoa 
)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine ptl_module::transpose_to_aos ( type(ptl_type_aosoa), dimension(:), intent(in)  ptl_aosoa,
integer, intent(in)  n,
type(ptl_type), dimension(:), intent(out)  ptl_aos 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

integer, parameter ptl_module::false_shift_ie_opt = 0
integer, parameter ptl_module::index_shift_ie_all_sendrecv = 8
integer, parameter ptl_module::index_shift_ie_handshake = 5
integer, parameter ptl_module::index_shift_ie_large_limit = 4
integer, parameter ptl_module::index_shift_ie_max_nthreads = 1
integer, parameter ptl_module::index_shift_ie_use_alltoall = 2
integer, parameter ptl_module::index_shift_ie_use_hs_barrier0 = 3
integer, parameter ptl_module::index_shift_ie_use_hs_barrier1 = 6
integer, parameter ptl_module::index_shift_ie_use_isend = 9
integer, parameter ptl_module::index_shift_ie_use_rsend = 10
integer, parameter ptl_module::index_shift_ie_use_sendrecv = 7
integer, parameter ptl_module::num_shift_ie_opts = 10
integer, parameter ptl_module::pif0 =3
integer, parameter ptl_module::pim =1
integer, parameter ptl_module::pip =3
integer, parameter ptl_module::pir =1
integer, parameter ptl_module::pirho =4
integer, parameter ptl_module::piw0 =2
integer, parameter ptl_module::piw1 =5
integer, parameter ptl_module::piw2 =6
integer, parameter ptl_module::piz =2
real (8), dimension(0:ptl_nsp_max) ptl_module::ptl_c2_2m = 0D0
real (8), dimension(0:ptl_nsp_max) ptl_module::ptl_c_m = 0D0
real (8), dimension(0:ptl_nsp_max) ptl_module::ptl_charge = 0D0
real (8), dimension(0:ptl_nsp_max) ptl_module::ptl_charge_eu =1D0
logical, dimension(0:ptl_nsp_max) ptl_module::ptl_dynamic_f0
real (8) ptl_module::ptl_e_charge_eu = -1D0
real (8) ptl_module::ptl_e_mass_au = 2D-2
integer ptl_module::ptl_e_maxnum
integer ptl_module::ptl_e_num = 0
integer ptl_module::ptl_enum_save
character (len=20), dimension(0:ptl_nsp_max) ptl_module::ptl_f_analytic_shape
integer ptl_module::ptl_inum_save = 0
type(ptl_type_aosoa), dimension(:), allocatable ptl_module::ptl_iphase_save
integer ptl_module::ptl_isp
character (len=20), dimension(0:ptl_nsp_max) ptl_module::ptl_marker_type
real (8), dimension(0:ptl_nsp_max) ptl_module::ptl_mass = 0D0
real (8), dimension(0:ptl_nsp_max) ptl_module::ptl_mass_au =2D0
integer, parameter ptl_module::ptl_nconst =3
integer, parameter ptl_module::ptl_nphase =6
integer, parameter ptl_module::ptl_nphase2 =12
integer ptl_module::ptl_nsp =1
real (8) ptl_module::ptl_special_en_ev = 7205

Energy of particles with sml_special==(1,4)

integer ptl_module::ptl_special_n = 100

sml_special==3

integer ptl_module::ptl_special_npsi = 6

Number of flux-surfaces on which to load particles (ptl_special==4)

real (8) ptl_module::ptl_special_phi = 0D0

Start phi for particles in single particle sim. (sml_special==1 and 4)

real (8) ptl_module::ptl_special_pitch = 1D0

Pitch v_parallel/v of particles with sml_special==(1,4) (at B=B_min with sml_special=4)

real (8) ptl_module::ptl_special_poin_phi = 0D0

Toroidal angle for Poincare plot (sml_special==4)

real (8) ptl_module::ptl_special_psi_max = 0.99D0

Max. psi of flux-surface on which to load particles (ptl_special==4)

real (8) ptl_module::ptl_special_psi_min = 0.94D0

Min. psi of flux-surface on which to load particles (ptl_special==4)

real (8) ptl_module::ptl_special_r = 1.95D0

Start R for particle in single particle sim. (sml_special==1)

real (8) ptl_module::ptl_special_z = 0D0

Start Z for particle in single particle sim. (sml_special==1)

integer ptl_module::ptl_tracer_n_save = 0
character (len=20), dimension(0:ptl_nsp_max) ptl_module::ptl_weight_evo_eq
type(species_type), dimension(0:ptl_nsp_max), target ptl_module::spall_global
integer, parameter ptl_module::true_shift_ie_opt = 1
integer, parameter ptl_module::use_def_shift_ie_opt = -2

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