|
PB3D
[2.45]
Ideal linear high-n MHD stability in 3-D
|
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... | |
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.
Definition at line 48 of file eq_ops.f90.
| 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
| [in,out] | grid_eq | equilibrium grid |
| [in,out] | eq | flux equilibrium variables |
Definition at line 281 of file eq_ops.f90.
Here is the call graph for this function:| 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
| [in,out] | grid_eq | equilibrium grid |
| [in] | eq_1 | metric equilibrium variables |
| [in,out] | eq_2 | metric equilibrium variables |
| [in] | dealloc_vars | deallocate variables on the fly after writing |
Definition at line 435 of file eq_ops.f90.
Here is the call graph for this function: