PB3D  [2.45]
Ideal linear high-n MHD stability in 3-D
Public Member Functions | List of all members
eq_ops::calc_eq Interface Reference

Calculate the equilibrium quantities on a grid determined by straight field lines. More...

Public Member Functions

integer function calc_eq_1 (grid_eq, eq)
 flux version More...
 
integer function calc_eq_2 (grid_eq, eq_1, eq_2, dealloc_vars)
 metric version More...
 

Detailed Description

Calculate the equilibrium quantities on a grid determined by straight field lines.

This grid has the dimensions (n_par,loc_n_r).

Optionally, for eq_2, the used variables can be deallocated on the fly, to limit memory usage.

Returns
ierr

Definition at line 48 of file eq_ops.f90.

Member Function/Subroutine Documentation

◆ calc_eq_1()

integer function eq_ops::calc_eq::calc_eq_1 ( type(grid_type), intent(inout)  grid_eq,
type(eq_1_type), intent(inout)  eq 
)

flux version

Parameters
[in,out]grid_eqequilibrium grid
[in,out]eqflux equilibrium variables

Definition at line 281 of file eq_ops.f90.

+ Here is the call graph for this function:

◆ calc_eq_2()

integer function eq_ops::calc_eq::calc_eq_2 ( type(grid_type), intent(inout)  grid_eq,
type(eq_1_type), intent(in)  eq_1,
type(eq_2_type), intent(inout)  eq_2,
logical, intent(in), optional  dealloc_vars 
)

metric version

Parameters
[in,out]grid_eqequilibrium grid
[in]eq_1metric equilibrium variables
[in,out]eq_2metric equilibrium variables
[in]dealloc_varsdeallocate variables on the fly after writing

Definition at line 435 of file eq_ops.f90.

+ Here is the call graph for this function:

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