PB3D
[2.45]
Ideal linear high-n MHD stability in 3-D
|
Variables pertaining to the solution quantities. More...
Interfaces and Types | |
type | sol_type |
solution type More... | |
Functions/Subroutines | |
subroutine | init_sol (sol, mds, grid_sol, n_EV, lim_sec_X) |
Initialize a solution type and allocate the variables. More... | |
subroutine | dealloc_sol (sol) |
Deallocates solution variables. More... | |
Variables | |
integer, public | n_alloc_sols |
nr. of allocated grids More... | |
Variables pertaining to the solution quantities.
subroutine sol_vars::dealloc_sol | ( | class(sol_type), intent(inout) | sol | ) |
Deallocates solution variables.
[in,out] | sol | solution variables to be deallocated |
Definition at line 106 of file sol_vars.f90.
subroutine sol_vars::init_sol | ( | class(sol_type), intent(inout) | sol, |
type(modes_type), intent(in) | mds, | ||
type(grid_type), intent(in) | grid_sol, | ||
integer, intent(in) | n_EV, | ||
integer, dimension(2), intent(in), optional | lim_sec_X | ||
) |
Initialize a solution type and allocate the variables.
The number of modes as well as n
and m
are also set up.
Optionally, the secondary mode number can be specified (m
if poloidal flux is used as normal coordinate and c n if toroidal flux). By default, they are taken from the global X_vars
variables.
grid_soli_min = 1
for first process), the input variable i_min
should be set to set correctly. For a full grid, it should be set to 1. [in,out] | sol | solution variables |
[in] | mds | general modes variables |
[in] | grid_sol | solution grid |
[in] | n_ev | nr. of Eigenvalues |
[in] | lim_sec_x | limits of m_X (pol. flux) or n_X (tor. flux) |
Definition at line 60 of file sol_vars.f90.
integer, public sol_vars::n_alloc_sols |