|
PB3D [2.47]
Ideal linear high-n MHD stability in 3-D
|
Driver of the perturbation part of PB3D. More...
Functions/Subroutines | |
| integer function, public | run_driver_x (grid_eq, grid_eq_b, grid_x, grid_x_b, eq_1, eq_2, x_1, x_2) |
| Main driver of PB3D perturbation part. | |
Driver of the perturbation part of PB3D.
| integer function, public driver_x::run_driver_x | ( | type(grid_type), intent(in), target | grid_eq, |
| type(grid_type), intent(in), pointer | grid_eq_b, | ||
| type(grid_type), intent(inout), target | grid_x, | ||
| type(grid_type), intent(inout), pointer | grid_x_b, | ||
| type(eq_1_type), intent(in), target | eq_1, | ||
| type(eq_2_type), intent(inout), target | eq_2, | ||
| type(x_1_type), intent(inout) | x_1, | ||
| type(x_2_type), intent(inout) | x_2 ) |
Main driver of PB3D perturbation part.
grid_X (for HELENA, only first Richardson level)grid_X_B (for VMEC, equal to grid_X_out)X_1 X_2 grid_X (for HELENA, only first Richardson level)grid_X_B (for VMEC, equal to grid_X)X_1 (only for HELENA, only first Richardson level)X_2 X_1 before setting upgrid_X before setting upgrid_X_B before setting up([x] indicates driver x)
eq_2 needs to be intent(inout) because interp_HEL_on_grid() requires this for generality. The variable is not modified in this driver, though.| [in] | grid_eq | equilibrium grid (should be in but needs inout for interp_HEL_on_grid) |
| [in] | grid_eq_b | field-aligned equilibrium grid (should be in but needs inout for interp_HEL_on_grid) |
| [in,out] | grid_x | perturbation grid |
| [in,out] | grid_x_b | field-aligned perturbation grid |
| [in] | eq_1 | flux equilibrium variables |
| [in,out] | eq_2 | metric equilibrium variables (should be in but needs inout for interp_HEL_on_grid) |
| [in,out] | x_1 | vectorial perturbation variables |
| [in,out] | x_2 | tensorial perturbation variables |
Definition at line 57 of file driver_X.f90.