PB3D [2.47]
Ideal linear high-n MHD stability in 3-D
Loading...
Searching...
No Matches
grid_vars.f90 File Reference

Go to the source code of this file.

Interfaces and Types

type  grid_vars::grid_type
 Type for grids. More...

Modules

module  grid_vars
 Variables pertaining to the different grids used.

Functions/Subroutines

integer function grid_vars::init_grid (grid, n, i_lim, divided)
 Initializes a new grid.
subroutine grid_vars::dealloc_grid (grid)
 Deallocates a grid.
integer function grid_vars::copy_grid (grid_i, grid_o)
 Deep copy of a grid.

Variables

integer, public grid_vars::n_r_in
 nr. of normal points in input grid
integer, public grid_vars::n_r_eq
 nr. of normal points in equilibrium grid
integer, public grid_vars::n_r_x
 nr. of normal points in perturbation grid
integer, public grid_vars::n_r_sol
 nr. of normal points in solution grid
integer, public grid_vars::n_alpha
 nr. of field-lines
real(dp), public grid_vars::min_par_x
 min. of parallel coordinate [ \(\pi\)] in field-aligned grid
real(dp), public grid_vars::max_par_x
 max. of parallel coordinate [ \(\pi\)] in field-aligned grid
real(dp), public grid_vars::min_alpha
 min. of field-line label [ \(\pi\)] in field-aligned grid
real(dp), public grid_vars::max_alpha
 max. of field-line label [ \(\pi\)] in field-aligned grid
real(dp), dimension(:), allocatable, public grid_vars::alpha
 field line label alpha
integer, public grid_vars::n_alloc_grids
 nr. of allocated grids
integer, public grid_vars::n_alloc_discs
 nr. of allocated discretizations