|
PB3D [2.47]
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. | |
| subroutine | dealloc_sol (sol) |
| Deallocates solution variables. | |
Variables | |
| integer, public | n_alloc_sols |
| nr. of allocated grids | |
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 105 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.
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 59 of file sol_vars.f90.
| integer, public sol_vars::n_alloc_sols |