PB3D  [2.45]
Ideal linear high-n MHD stability in 3-D
Interfaces and Types | Modules | Functions/Subroutines | Variables
X_ops.f90 File Reference

Go to the source code of this file.

Interfaces and Types

interface  x_ops::calc_x
 Calculates either vectorial or tensorial perturbation variables. More...
 
interface  x_ops::redistribute_output_x
 Redistribute the perturbation variables. More...
 
interface  x_ops::print_output_x
 Print either vectorial or tensorial perturbation quantities of a certain order to an output file. More...
 

Modules

module  x_ops
 Operations considering perturbation quantities.
 

Functions/Subroutines

integer function, public x_ops::init_modes (grid_eq, eq)
 Initializes some variables concerning the mode numbers. More...
 
integer function, public x_ops::setup_modes (mds, grid_eq, grid, plot_name)
 Sets up some variables concerning the mode numbers. More...
 
integer function, public x_ops::check_x_modes (grid_eq, eq)
 Checks whether the high-n approximation is valid: More...
 
integer function, public x_ops::calc_res_surf (mds, grid_eq, eq, res_surf, info, jq)
 Calculates resonating flux surfaces for the perturbation modes. More...
 
integer function, public x_ops::resonance_plot (mds, grid_eq, eq)
 plot \(q\)-profile or \(\iota\)-profile in flux coordinates with \(nq-m = 0\) or \(n-\iota m = 0\) indicated if requested. More...
 
integer function x_ops::calc_u (grid_eq, grid_X, eq_1, eq_2, X)
 Calculate \(U_m^0\), \(U_m^1\) or \(U_n^0\), \(U_n^1\). More...
 
integer function test_du ()
 
integer function x_ops::calc_pv (grid_eq, grid_X, eq_1, eq_2, X_a, X_b, X, lim_sec_X)
 calculate \(\widetilde{PV}_{k,m}^i\) (pol. flux) or \(\widetilde{PV}_{l,n}^i\) (tor. flux) at all equilibrium loc_n_r values. More...
 
integer function x_ops::calc_kv (grid_eq, grid_X, eq_1, eq_2, X_a, X_b, X, lim_sec_X)
 calculate \(\widetilde{KV}_{k,m}^i\) (pol. flux) or \(\widetilde{KV}_{l,n}^i\) (tor. flux) at all equilibrium loc_n_r values. More...
 
integer function, public x_ops::calc_magn_ints (grid_eq, grid_X, eq, X, X_int, prev_style, lim_sec_X)
 Calculate the magnetic integrals from \(\widetilde{PV}_{k,m}^i\) and \(\widetilde{KV}_{k,m}^i\) in an equidistant grid where the step size can vary depending on the normal coordinate. More...
 
integer function, public x_ops::divide_x_jobs (arr_size)
 Divides the perturbation jobs. More...
 
integer function, public x_ops::print_debug_x_1 (mds, grid_X, X_1)
 Prints debug information for X_1 driver. More...
 
integer function, public x_ops::print_debug_x_2 (mds, grid_X, X_2_int)
 Prints debug information for X_2 driver. More...
 

Variables

logical, public x_ops::debug_check_x_modes_2 = .false.
 plot debug information for check_x_modes_2() More...
 

Function/Subroutine Documentation

◆ test_du()

integer function calc_u::test_du

Definition at line 2515 of file X_ops.f90.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: