PB3D [2.47]
Ideal linear high-n MHD stability in 3-D
Loading...
Searching...
No Matches
eq_ops.f90 File Reference

Go to the source code of this file.

Interfaces and Types

interface  eq_ops::calc_eq
 Calculate the equilibrium quantities on a grid determined by straight field lines. More...
interface  eq_ops::print_output_eq
 Print equilibrium quantities to an output file: More...
interface  eq_ops::redistribute_output_eq
 Redistribute the equilibrium variables, but only the Flux variables are saved. More...
interface  eq_ops::calc_rzl
 Calculate \(R\), \(Z\) & \(\lambda\) and derivatives in VMEC coordinates. More...
interface  eq_ops::calc_g_c
 Calculate the lower metric elements in the C(ylindrical) coordinate system. More...
interface  eq_ops::calc_g_v
 Calculate the lower metric coefficients in the equilibrium V(MEC) coordinate system. More...
interface  eq_ops::calc_g_h
 Calculate the lower metric coefficients in the equilibrium H(ELENA) coordinate system. More...
interface  eq_ops::calc_g_f
 Calculate the metric coefficients in the F(lux) coordinate system. More...
interface  eq_ops::calc_jac_v
 Calculate \(\mathcal{J}_\text{V}\), the jacobian in V(MEC) coordinates. More...
interface  eq_ops::calc_jac_h
 Calculate \(\mathcal{J}_\text{H}\), the jacobian in HELENA coordinates. More...
interface  eq_ops::calc_jac_f
 Calculate \(\mathcal{J}_\text{F}\), the jacobian in Flux coordinates. More...
interface  eq_ops::calc_t_vc
 Calculate \(\overline{\text{T}}_\text{C}^\text{V}\), the transformation matrix between C(ylindrical) and V(mec) coordinate system. More...
interface  eq_ops::calc_t_vf
 Calculate \(\overline{\text{T}}_\text{V}^\text{F}\), the transformation matrix between V(MEC) and F(lux) coordinate systems. More...
interface  eq_ops::calc_t_hf
 Calculate \(\overline{\text{T}}_\text{H}^\text{F}\), the transformation matrix between H(ELENA) and F(lux) coordinate systems. More...

Modules

module  eq_ops
 Operations on the equilibrium variables.

Functions/Subroutines

integer function, public eq_ops::flux_q_plot (grid_eq, eq)
 Plots the flux quantities in the solution grid.
integer function, public eq_ops::calc_derived_q (grid_eq, eq_1, eq_2)
 Calculates derived equilibrium quantities system.
integer function, public eq_ops::calc_normalization_const ()
 Sets up normalization constants.
subroutine, public eq_ops::normalize_input ()
 Normalize input quantities.
integer function, public eq_ops::b_plot (grid_eq, eq_1, eq_2, rich_lvl, plot_fluxes, xyz)
 Plots the magnetic fields.
integer function, public eq_ops::j_plot (grid_eq, eq_1, eq_2, rich_lvl, plot_fluxes, xyz)
 Plots the current.
integer function, public eq_ops::kappa_plot (grid_eq, eq_1, eq_2, rich_lvl, xyz)
 Plots the curvature.
integer function, public eq_ops::delta_r_plot (grid_eq, eq_1, eq_2, xyz, rich_lvl)
 Plots HALF of the change in the position vectors for 2 different toroidal positions, which can correspond to a ripple.
integer function, public eq_ops::divide_eq_jobs (n_par_x, arr_size, n_div, n_div_max, n_par_x_base, range_name)
 Divides the equilibrium jobs.
integer function, public eq_ops::calc_eq_jobs_lims (n_par_x, n_div)
 Calculate eq_jobs_lims.

Variables

logical, public eq_ops::debug_calc_derived_q = .false.
 plot debug information for calc_derived_q()
logical, public eq_ops::debug_j_plot = .false.
 plot debug information for j_plot()
logical, public eq_ops::debug_create_vmec_input = .false.
 plot debug information for create_vmec_input()