GBS
space_grid_mod.F90 File Reference

Grid module for spatial discretization. More...

#include "mpi_precomp.h"
+ Include dependency graph for space_grid_mod.F90:

Modules

module  space_grid_mod
 

Functions/Subroutines

subroutine, public space_grid_mod::initialize_space_grid_mod (mpi_env, input)
 Initializes the space_grid_mod module. More...
 
subroutine space_grid_mod::set_xgrid (mpi_env)
 Initialize x (radial) grid. More...
 
subroutine space_grid_mod::set_ygrid (mpi_env)
 Initialize y (poloidal) grid. More...
 
subroutine space_grid_mod::set_zgrid (mpi_env)
 Initialize z (toroidal) grid. More...
 
subroutine space_grid_mod::set_boundary_corners
 Set border boundary condition indices. More...
 

Variables

real(dp), public, protected space_grid_mod::lx = 10._dp
 Radial length. More...
 
real(dp), public, protected space_grid_mod::x_periodic_end = -10000_dp
 Field line poloidal periodicity. More...
 
integer, public, protected space_grid_mod::nxp
 Number of points in x direction. More...
 
integer, public, protected space_grid_mod::nyp
 Number of points in y direction. More...
 
integer, public, protected space_grid_mod::nzp
 Number of points in z direction. More...
 
integer, public space_grid_mod::izsp
 
integer, public space_grid_mod::izep
 
integer, public space_grid_mod::nzpp
 
integer, public, protected space_grid_mod::ixsg
 
integer, public, protected space_grid_mod::ixeg
 
integer, public, protected space_grid_mod::ixlg
 
integer, public, protected space_grid_mod::ixrg
 
integer, public, protected space_grid_mod::iysg
 
integer, public, protected space_grid_mod::iyeg
 
integer, public, protected space_grid_mod::iylg
 
integer, public, protected space_grid_mod::iyrg
 
integer, public, protected space_grid_mod::izsg
 
integer, public, protected space_grid_mod::izeg
 
integer, public, protected space_grid_mod::izlg
 
integer, public, protected space_grid_mod::izrg
 
integer, public, protected space_grid_mod::ix1
 
integer, public, protected space_grid_mod::ix2
 
integer, public space_grid_mod::nx2d
 
integer, public space_grid_mod::nx1d
 
integer, public, protected space_grid_mod::iy1
 
integer, public, protected space_grid_mod::iy2
 
integer, public space_grid_mod::ny2d
 
integer, public space_grid_mod::ny1d
 
integer, public, protected space_grid_mod::ix_min
 
real(dp), public, protected space_grid_mod::deltax
 
real(dp), public, protected space_grid_mod::deltaxi
 
real(dp), public, protected space_grid_mod::deltaxih
 
real(dp), public, protected space_grid_mod::deltaxisq
 
real(dp), public, protected space_grid_mod::deltay
 
real(dp), public, protected space_grid_mod::deltayi
 
real(dp), public, protected space_grid_mod::deltayih
 
real(dp), public, protected space_grid_mod::deltayisq
 
real(dp), public, protected space_grid_mod::shiftgr_v = 0.5_dp
 
real(dp), public, protected space_grid_mod::deltaz
 
real(dp), public, protected space_grid_mod::deltazi
 
real(dp), public, protected space_grid_mod::deltazisq
 
real(dp), public, protected space_grid_mod::deltaai
 
real(dp), public, protected space_grid_mod::deltaaih
 
real(dp), public, protected space_grid_mod::deltaaisq
 
real(dp), dimension(:), pointer, public, protected space_grid_mod::xarray
 
real(dp), dimension(:), pointer, public, protected space_grid_mod::yarray
 
real(dp), dimension(:), pointer, public, protected space_grid_mod::zarray
 
real(dp), dimension(:), pointer, public space_grid_mod::cos_tht
 
real(dp), dimension(:), pointer, public space_grid_mod::sin_tht
 
integer, public, protected space_grid_mod::iyshift
 
integer, public, protected space_grid_mod::iyshift_d
 
integer, public, protected space_grid_mod::iyshift_u
 
integer, public, protected space_grid_mod::ny_top
 
integer, public, protected space_grid_mod::ny_bot
 
integer, public, protected space_grid_mod::ny_topu
 
integer, public, protected space_grid_mod::ny_botu
 
integer, public, protected space_grid_mod::ny_topd
 
integer, public, protected space_grid_mod::ny_botd
 
integer, public, protected space_grid_mod::ny_zg
 
integer, public space_grid_mod::neq
 
integer, public, protected space_grid_mod::ixs_bc
 
integer, public, protected space_grid_mod::ixe_bc
 
integer, public, protected space_grid_mod::iys_bc
 
integer, public, protected space_grid_mod::iye_bc
 
integer, public, protected space_grid_mod::ixl_bc
 
integer, public, protected space_grid_mod::ixr_bc
 
integer, public, protected space_grid_mod::iyl_bc
 
integer, public, protected space_grid_mod::iyr_bc
 
Indices for the arrays storing the spatial grids

Indices to start and end of local and global grids:

  • s -> start, e-> end (local)
  • l -> left , r-> right (global)
integer, public, protected space_grid_mod::ixs
 Staring index in the x direction. More...
 
integer, public, protected space_grid_mod::ixe
 Ending index in the x direction. More...
 
integer, public, protected space_grid_mod::ixl
 Staring index in the x direction. More...
 
integer, public, protected space_grid_mod::ixr
 Ending index in the x direction. More...
 
integer, public, protected space_grid_mod::iys
 Staring index in the y direction. More...
 
integer, public, protected space_grid_mod::iye
 Ending index in the y direction. More...
 
integer, public, protected space_grid_mod::iyl
 Staring index in the y direction. More...
 
integer, public, protected space_grid_mod::iyr
 Ending index in the y direction. More...
 
integer, public, protected space_grid_mod::iyr_ngrid
 Staring index in the x direction. More...
 
integer, public, protected space_grid_mod::izs
 Staring index in the z direction. More...
 
integer, public, protected space_grid_mod::ize
 Ending index in the z direction. More...
 
integer, public, protected space_grid_mod::izl
 Staring index in the z direction. More...
 
integer, public, protected space_grid_mod::izr
 Ending index in the z direction. More...
 
integer, public, protected space_grid_mod::nzgc = 1
 Number of ghost cells. More...
 
integer, public, protected space_grid_mod::nygc = 1
 Number of ghost cells. More...
 
integer, public, protected space_grid_mod::nxgc = 1
 Number of ghost cells. More...
 

Detailed Description

Grid module for spatial discretization.

Author
(in alphabetical order)
Maurizio Giacomin mauri.nosp@m.zio..nosp@m.giaco.nosp@m.min@.nosp@m.epfl..nosp@m.ch
Emmanuel Lanti emman.nosp@m.uel..nosp@m.lanti.nosp@m.@epf.nosp@m.l.ch
Paola Paruta paola.nosp@m..par.nosp@m.uta@e.nosp@m.pfl..nosp@m.ch
Christoph Wersal chris.nosp@m.toph.nosp@m..wers.nosp@m.al@e.nosp@m.pfl.c.nosp@m.h