PB3D  [2.45]
Ideal linear high-n MHD stability in 3-D
Interfaces and Types | Modules | Functions/Subroutines | Variables
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. More...
 
subroutine grid_vars::dealloc_grid (grid)
 Deallocates a grid. More...
 
integer function grid_vars::copy_grid (grid_i, grid_o)
 Deep copy of a grid. More...
 

Variables

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