|
PB3D [2.47]
Ideal linear high-n MHD stability in 3-D
|
Driver of the solution part of PB3D. More...
Functions/Subroutines | |
| integer function, public | run_driver_sol (grid_eq, grid_x, grid_sol, x, vac, sol) |
| Main driver of PB3D solution part. | |
| integer function | interp_v (mds_i, grid_i, x_i, mds_o, grid_o, x_o) |
| Interpolate tensorial perturbation quantities in the third dimension. | |
Driver of the solution part of PB3D.
| integer function driver_sol::interp_v | ( | type(modes_type), intent(in), target | mds_i, |
| type(grid_type), intent(in) | grid_i, | ||
| type(x_2_type), intent(in), target | x_i, | ||
| type(modes_type), intent(in), target | mds_o, | ||
| type(grid_type), intent(in) | grid_o, | ||
| type(x_2_type), intent(inout), target | x_o ) |
Interpolate tensorial perturbation quantities in the third dimension.
The input grid should not be divided, though the output grid can be.
The procedure considers all possible mode number combinations. For X_style 2 (fast), each secondary mode only lives in a certain normal range of the plasma. Therefore, each secondary mode pair also has a limited normal range, given by the overlap of the ranges of the members.
The interpolated mode number combinations have a normal range that might slightly differ from the input ranges, in which case extrapolation can be done if the method allows for it.
| [in] | mds_i | general modes variables for input |
| [in] | grid_i | grid at which X_i is tabulated |
| [in] | x_i | tensorial perturbation variable on input grid |
| [in] | mds_o | general modes variables for output |
| [in] | grid_o | grid at which X_o is interpolated |
| [in,out] | x_o | interpolated tensorial perturbation variable |
Definition at line 283 of file driver_sol.f90.
| integer function, public driver_sol::run_driver_sol | ( | type(grid_type), intent(in) | grid_eq, |
| type(grid_type), intent(in), target | grid_x, | ||
| type(grid_type), intent(inout) | grid_sol, | ||
| type(x_2_type), intent(in) | x, | ||
| type(vac_type), intent(inout) | vac, | ||
| type(sol_type), intent(inout) | sol ) |
Main driver of PB3D solution part.
grid_sol (only first Richardson level)sol grid_sol (only first Richardson level)sol | [in] | grid_eq | equilibrium grid |
| [in] | grid_x | perturbation grid |
| [in,out] | grid_sol | solution grid |
| [in] | x | integrated tensorial perturbation variables |
| [in,out] | vac | vacuum variables |
| [in,out] | sol | solution variables |
Definition at line 41 of file driver_sol.f90.