![]() |
ORB5
v4.9.4
|
Data Types | |
type | marker_type |
Functions/Subroutines | |
subroutine, public | initlarmor (step) |
Allocate and initialize larmor point arrays. More... | |
subroutine | add_param_index (n_atts, att) |
logical function, public | should_enlarge_larmor (isp) |
subroutine, public | reallocate_larmor (isp) |
subroutine | check_allocation (istat, locatn, varname) |
subroutine, public | sort_larmor_points |
subroutine, public | assign_larmor_atts (isp, lnaveg, alp, rhog, sigma, chi, phi, wgc, pzomgc, larmor_start) |
subroutine, public | advance_atts_offset_disp () |
Increment larmor atts offset for all species. More... | |
subroutine, public | advance_atts_offset (isp) |
Increment larmor atts offset for one species. More... | |
subroutine, public | reset_atts_offset_disp () |
Reset the atts offset for each buffer. More... | |
subroutine, public | reset_atts_offset (isp) |
Reset the atts offset for each buffer. More... | |
subroutine, public | set_n_larmor_tot (isp, larmor_index, np) |
Set the total number of Larmor points per species. More... | |
subroutine, public | set_larmor_max (isp, larmor_index, np) |
Set the maximum number of larmor points per species The maximum number of larmor points is taken to be a certain fraction of the total number of points (typically 20%). More... | |
Variables | |
type(marker_type), dimension(:), allocatable, save, public | larmor_pts |
type(sorting_class), dimension(:), allocatable, save, public | sortings |
type(sorting_class), dimension(:), allocatable, save | larmor |
type(sorting_class), dimension(:), allocatable, save | point |
type(sorting_class), dimension(:), allocatable, save | sorting |
type(sorting_class), dimension(:), allocatable, save | of |
type(sorting_class), dimension(:), allocatable, save | each |
type(sorting_class), dimension(:), allocatable, save | species |
real, dimension(:,:), allocatable, save | zcos2 |
real, dimension(:,:), allocatable, save | zsin2 |
Cosine/sine of a uniform angle distribution with navg points. More... | |
integer, save, public | n_atts |
Number of larmor point attributes. More... | |
integer, save, public | sig_att |
integer, save, public | chi_att |
integer, save, public | phi_att |
Radial, poloidal and toroidal positions. More... | |
integer, save, public | sds_att |
integer, save, public | sdc_att |
integer, save, public | cds_att |
integer, save, public | cdc_att |
integer, save, public | wgt_att |
integer, save, public | wcf_att |
integer, save, public | field_att |
Field attribute index (add 1 to access radial gradient, 2 for poloidal gradient, and 3 for toroidal gradient) attribute arrays. More... | |
real, save | larmor_size_margin = 1.3 |
real, save | larmor_size_warning_margin = 1.25 |
|
private |
subroutine, public larmor::advance_atts_offset | ( | integer, intent(in) | isp | ) |
Increment larmor atts offset for one species.
subroutine, public larmor::advance_atts_offset_disp |
Increment larmor atts offset for all species.
subroutine, public larmor::assign_larmor_atts | ( | integer, intent(in) | isp, |
integer, intent(in) | lnaveg, | ||
real, intent(in) | alp, | ||
real, intent(in) | rhog, | ||
real, intent(in) | sigma, | ||
real, intent(in) | chi, | ||
real, intent(in) | phi, | ||
real, intent(in) | wgc, | ||
real, intent(in) | pzomgc, | ||
integer, intent(in) | larmor_start | ||
) |
[in] | sigma | Radial position of the GC |
[in] | chi | Poloidal position of the GC |
[in] | phi | Toroidal position of the GC |
[in] | alp | Tilt angle for the gyroaveraging |
[in] | rhog | Larmor radius |
[in] | isp | Species under consideration |
[in] | lnaveg | Number of Larmor points |
[in] | wgc | Weight of the GC |
[in] | pzomgc | Parallel velocity |
[in] | larmor_start | Index of the first larmor point in the larmor array |
|
private |
subroutine, public larmor::initlarmor | ( | integer, intent(in) | step | ) |
Allocate and initialize larmor point arrays.
[in] | step | The initialization is split in 2 to compute particles energy in between |
subroutine, public larmor::reallocate_larmor | ( | integer, intent(in) | isp | ) |
subroutine, public larmor::reset_atts_offset | ( | integer, intent(in) | isp | ) |
Reset the atts offset for each buffer.
subroutine, public larmor::reset_atts_offset_disp |
Reset the atts offset for each buffer.
subroutine, public larmor::set_larmor_max | ( | integer, intent(in) | isp, |
integer, intent(in) | larmor_index, | ||
integer, intent(in) | np | ||
) |
Set the maximum number of larmor points per species The maximum number of larmor points is taken to be a certain fraction of the total number of points (typically 20%).
subroutine, public larmor::set_n_larmor_tot | ( | integer, intent(in) | isp, |
integer, intent(in) | larmor_index, | ||
integer, intent(in) | np | ||
) |
Set the total number of Larmor points per species.
logical function, public larmor::should_enlarge_larmor | ( | integer, intent(in) | isp | ) |
subroutine, public larmor::sort_larmor_points |
integer, save, public larmor::cdc_att |
integer, save, public larmor::cds_att |
integer, save, public larmor::chi_att |
|
private |
integer, save, public larmor::field_att |
Field attribute index (add 1 to access radial gradient, 2 for poloidal gradient, and 3 for toroidal gradient) attribute arrays.
|
private |
type(marker_type), dimension(:), allocatable, save, public larmor::larmor_pts |
|
private |
|
private |
integer, save, public larmor::n_atts |
Number of larmor point attributes.
|
private |
integer, save, public larmor::phi_att |
Radial, poloidal and toroidal positions.
|
private |
integer, save, public larmor::sdc_att |
integer, save, public larmor::sds_att |
integer, save, public larmor::sig_att |
|
private |
type(sorting_class), dimension(:), allocatable, save, public larmor::sortings |
|
private |
integer, save, public larmor::wcf_att |
integer, save, public larmor::wgt_att |
|
private |
|
private |
Cosine/sine of a uniform angle distribution with navg points.