ORB5  v4.9.4
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. More...
 
subroutine init_distrib_2d (lx, ly, r0, isp)
 Initialize 2D distribution function. More...
 
subroutine distrib_2d (rev2, rev3, xp, yp)
 

Variables

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

Function/Subroutine Documentation

◆ distrib_2d()

subroutine loadtor::distrib_2d ( real, dimension(:), intent(in)  rev2,
real, dimension(:), intent(in)  rev3,
real, dimension(:), intent(out)  xp,
real, 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, intent(in)  lx,
real, intent(in)  ly,
real, 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, intent(in)  lx,
real, intent(in)  ly,
real, intent(in)  r0,
real, dimension(:), intent(in)  rev2,
real, dimension(:), intent(in)  rev3,
real, dimension(:), intent(out)  xp,
real, 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, save loadtor::dx
private

◆ dy

real, save loadtor::dy
private

◆ fdistx

real, 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, dimension(0:nx, 0:ny), save loadtor::prob
private

◆ xg

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

◆ yg

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