XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions/Subroutines
load.F90 File Reference
#include "adios_macro.h"
#include "t_coeff_mod_macro.h"
Include dependency graph for load.F90:

Functions/Subroutines

subroutine load (grid, psn, spall)
 
subroutine maxwell_v_dist2 (grid, spall)
 
subroutine load_flat_v_single (t_ev, up, b, mass, charge, rho, mu, w0_adjust)
 
subroutine get_v_and_dist
 
subroutine load_v_single (t_ev, up, b, mass, charge, rho, mu, w0_adjust)
 
subroutine maxwell_v_dist (grid, spall)
 
subroutine uniform_space_dist (grid, psn, spall)
 
subroutine loading_factor (grid, r, z, psi, itr, p, lfac)
 
subroutine maxwell_dist (ti_ev, b, rho, mu, mass, charge, maxe)
 
subroutine get_volume (grid, psn, spall)
 
subroutine load_single (spall)
 
subroutine load_special4 (grid, spall, isp)
 Special loading routine for the generation of Poincare plots of perturbed magnetic fields. Used with sml_special==4. All particles on the same MPI process are spread evenly across all poloidal angles on the same flux-surface. The number of flux-surfaces is determined by ptl_special_npsi. More...
 
subroutine rho_mu_to_ev_pitch2 (rho, mu, b, ev, pitch, sp_type)
 
subroutine ev_pitch_to_rho_mu2 (ev, pitch, b, rho, mu, sp_type)
 
subroutine limit_marker_den (grid, psn, spall)
 Checks the marker density in the private flux region, removes excess particles and rescales the weight of the remaining particle such that the density is conserved. More...
 

Function/Subroutine Documentation

subroutine ev_pitch_to_rho_mu2 ( real (kind=8), intent(in)  ev,
real (kind=8), intent(in)  pitch,
real (kind=8), intent(in)  b,
real (kind=8), intent(out)  rho,
real (kind=8), intent(out)  mu,
integer  sp_type 
)

Here is the caller graph for this function:

subroutine load_flat_v_single::get_v_and_dist ( )

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine get_volume ( type(grid_type)  grid,
type(psn_type)  psn,
type(species_type), dimension(0:ptl_nsp_max)  spall 
)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine limit_marker_den ( type(grid_type), intent(in)  grid,
type(psn_type), intent(in)  psn,
type(species_type), dimension(0:ptl_nsp_max), intent(inout)  spall 
)

Checks the marker density in the private flux region, removes excess particles and rescales the weight of the remaining particle such that the density is conserved.

Parameters
[in]gridSolver grid data, type(grid_type)
[in]psnField data, type(psn_type)
[in,out]spallParticle data, type(species_type)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine load ( type(grid_type)  grid,
type(psn_type)  psn,
type(species_type), dimension(0:ptl_nsp_max)  spall 
)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine load_flat_v_single ( real (8), intent(in)  t_ev,
real (8), intent(in)  up,
real (8), intent(in)  b,
real (8), intent(in)  mass,
real (8), intent(in)  charge,
real (8), intent(out)  rho,
real (8), intent(out)  mu,
real (8), intent(out)  w0_adjust 
)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine load_single ( type(species_type), dimension(0:ptl_nsp_max)  spall)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine load_special4 ( type(grid_type), intent(in)  grid,
type(species_type), dimension(0:ptl_nsp_max), intent(inout)  spall,
integer, intent(in)  isp 
)

Special loading routine for the generation of Poincare plots of perturbed magnetic fields. Used with sml_special==4. All particles on the same MPI process are spread evenly across all poloidal angles on the same flux-surface. The number of flux-surfaces is determined by ptl_special_npsi.

Parameters
grid(in) type(grid_type), grid information
spall(inout) type(species_type), data structure holding particle data
isp(in) integer, species index

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine load_v_single ( real (8), intent(in)  t_ev,
real (8), intent(in)  up,
real (8), intent(in)  b,
real (8), intent(in)  mass,
real (8), intent(in)  charge,
real (8), intent(out)  rho,
real (8), intent(out)  mu,
real (8), intent(out)  w0_adjust 
)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine loading_factor ( type(grid_type), intent(in)  grid,
real (kind=8), intent(in)  r,
real (kind=8), intent(in)  z,
real (kind=8), intent(in)  psi,
integer  itr,
real (kind=8), dimension(3)  p,
real (kind=8), intent(out)  lfac 
)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine maxwell_dist ( real (kind=8), intent(in)  ti_ev,
real (kind=8), intent(in)  b,
real (kind=8), intent(out)  rho,
real (kind=8), intent(out)  mu,
real (kind=8), intent(in)  mass,
real (kind=8), intent(in)  charge,
real (kind=8), intent(in)  maxe 
)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine maxwell_v_dist ( type(grid_type), intent(in)  grid,
type(species_type), dimension(0:ptl_nsp_max)  spall 
)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine maxwell_v_dist2 ( type(grid_type), intent(in)  grid,
type(species_type), dimension(0:ptl_nsp_max)  spall 
)

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine rho_mu_to_ev_pitch2 ( real (kind=8), intent(inout)  rho,
real (kind=8), intent(inout)  mu,
real (kind=8), intent(inout)  b,
real (kind=8), intent(out)  ev,
real (kind=8), intent(out)  pitch,
integer  sp_type 
)

Here is the caller graph for this function:

subroutine uniform_space_dist ( type(grid_type), intent(in)  grid,
type(psn_type)  psn,
type(species_type), dimension(0:ptl_nsp_max)  spall 
)

Here is the call graph for this function:

Here is the caller graph for this function: