PB3D [2.47]
Ideal linear high-n MHD stability in 3-D
Loading...
Searching...
No Matches
x_vars::modes_type Type Reference

mode number type More...

Public Member Functions

procedure dealloc (mds)
 deallocate

Public Attributes

integer, dimension(:,:), allocatable n
 \(n\) for all modes, in total grid
integer, dimension(:,:), allocatable m
 \(m\) for all modes, in total grid
integer, dimension(:,:), allocatable sec
 m or n for all possible modes, index and limits, in total grid

Detailed Description

mode number type

Type containing information about mode numbers at every flux surface:

  • mode numbers: n, m,
  • information of secondary modes: sec,
    • 1: mode number
    • 2: lower limit of normal range
    • 3: upper limit of normal range
    • 4: index in tables where the number of modes can be bigger than the range if the safety factor or rotational transform is non-monotonous so that the same mode number can have multiple ranges.
  • Flux normal coordinate: r_F.

These are set up in setup_nm_x().

Definition at line 36 of file X_vars.f90.

Member Function/Subroutine Documentation

◆ dealloc()

procedure x_vars::modes_type::dealloc ( class(modes_type), intent(inout) mds)

deallocate

Parameters
[in,out]mdsmodes variables to be deallocated

Definition at line 42 of file X_vars.f90.

Member Data Documentation

◆ m

integer, dimension(:,:), allocatable x_vars::modes_type::m

\(m\) for all modes, in total grid

Definition at line 38 of file X_vars.f90.

◆ n

integer, dimension(:,:), allocatable x_vars::modes_type::n

\(n\) for all modes, in total grid

Definition at line 37 of file X_vars.f90.

◆ sec

integer, dimension(:,:), allocatable x_vars::modes_type::sec

m or n for all possible modes, index and limits, in total grid

Definition at line 39 of file X_vars.f90.


The documentation for this type was generated from the following file: