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

Calculate \(R\), \(Z\) & \(\lambda\) and derivatives in VMEC coordinates. More...

Public Member Functions

integer function calc_rzl_ind (grid_eq, eq, deriv)
 individual version
integer function calc_rzl_arr (grid_eq, eq, deriv)
 array version

Detailed Description

Calculate \(R\), \(Z\) & \(\lambda\) and derivatives in VMEC coordinates.

This is done at the grid points given by the variables theta_E and zeta_E (contained in trigon_factors) and at every normal point.

The derivatives are indicated by the variable deriv which has 3 indices

Note
There is no HELENA equivalent because for HELENA simulations, \(R\) and \(Z\) are not necessary for calculation of the metric coefficients, and \(\lambda\) does not exist.
See also
calc_trigon_factors()
Returns
ierr

Definition at line 126 of file eq_ops.f90.

Member Function/Subroutine Documentation

◆ calc_rzl_arr()

integer function eq_ops::calc_rzl::calc_rzl_arr ( type(grid_type), intent(in) grid_eq,
type(eq_2_type), intent(inout) eq,
integer, dimension(:,:), intent(in) deriv )

array version

Parameters
[in]grid_eqequilibrium grid
[in,out]eqmetric equilibrium
[in]derivderivatives

Definition at line 2805 of file eq_ops.f90.

◆ calc_rzl_ind()

integer function eq_ops::calc_rzl::calc_rzl_ind ( type(grid_type), intent(in) grid_eq,
type(eq_2_type), intent(inout) eq,
integer, dimension(3), intent(in) deriv )

individual version

Parameters
[in]grid_eqequilibrium grid
[in,out]eqmetric equilibrium
[in]derivderivatives

Definition at line 2767 of file eq_ops.f90.


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