ORB5  4.00
Loading...
Searching...
No Matches
loadtor Module Reference

Functions/Subroutines

subroutine, public load_rz (lx, ly, r0, rev2, rev3, xp, yp, isp)
 Load an non-uniform density in a torus.
subroutine init_distrib_2d (lx, ly, r0, isp)
 Initialize 2D distribution function.
subroutine distrib_2d (rev2, rev3, xp, yp)

Variables

integer, parameter nx =256
integer, parameter ny =256
real(kind=r8), dimension(0:nx, 0:ny), save prob
real(kind=r8), dimension(0:nx), save xg
real(kind=r8), dimension(0:ny), save yg
real(kind=r8), dimension(0:nx), save fdistx
real(kind=r8), save dx
real(kind=r8), save dy
integer, save np

Function/Subroutine Documentation

◆ distrib_2d()

subroutine loadtor::distrib_2d ( real(kind=r8), dimension(:), intent(in) rev2,
real(kind=r8), dimension(:), intent(in) rev3,
real(kind=r8), dimension(:), intent(out) xp,
real(kind=r8), dimension(:), intent(out) yp )
private
Parameters
[in]rev2Hammersley's sequence
[in]rev3Hammersley's sequence
[out]xpX coordinate of particles
[out]ypY coordinate of particles
Here is the caller graph for this function:

◆ init_distrib_2d()

subroutine loadtor::init_distrib_2d ( real(kind=r8), intent(in) lx,
real(kind=r8), intent(in) ly,
real(kind=r8), intent(in) r0,
integer, intent(in) isp )
private

Initialize 2D distribution function.

Parameters
[in]lxNormalized plasma horizontal size
[in]lyNormalized plasma vertical size
[in]r0Normalized HFS radius
Note
AB: Wed Oct 27 15:22:38 CEST 2010: must add R; to be done This is wrong: does not give uniform in psi or s
Here is the call graph for this function:
Here is the caller graph for this function:

◆ load_rz()

subroutine, public loadtor::load_rz ( real(kind=r8), intent(in) lx,
real(kind=r8), intent(in) ly,
real(kind=r8), intent(in) r0,
real(kind=r8), dimension(:), intent(in) rev2,
real(kind=r8), dimension(:), intent(in) rev3,
real(kind=r8), dimension(:), intent(out) xp,
real(kind=r8), dimension(:), intent(out) yp,
integer, intent(in) isp )

Load an non-uniform density in a torus.

Parameters
[in]lxNormalized plasma horizontal size
[in]lyNormalized plasma vertical size
[in]r0Normalized HFS radius
[in]rev2Hammersley's sequence
[in]rev3Hammersley's sequence
[out]xpX coordinate of particles
[out]ypY coordinate of particles
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ dx

real(kind=r8), save loadtor::dx
private

◆ dy

real(kind=r8), save loadtor::dy
private

◆ fdistx

real(kind=r8), dimension(0:nx), save loadtor::fdistx
private

◆ np

integer, save loadtor::np
private

◆ nx

integer, parameter loadtor::nx =256
private

◆ ny

integer, parameter loadtor::ny =256
private

◆ prob

real(kind=r8), dimension(0:nx, 0:ny), save loadtor::prob
private

◆ xg

real(kind=r8), dimension(0:nx), save loadtor::xg
private

◆ yg

real(kind=r8), dimension(0:ny), save loadtor::yg
private