|
PB3D [2.47]
Ideal linear high-n MHD stability in 3-D
|
Print either vectorial or tensorial perturbation quantities of a certain order to an output file. More...
Public Member Functions | |
| integer function | print_output_x_1 (grid_x, x, data_name, rich_lvl, par_div, lim_sec_x) |
| vectorial version. | |
| integer function | print_output_x_2 (grid_x, x, data_name, rich_lvl, par_div, lim_sec_x, is_field_averaged) |
| tensorial version | |
Print either vectorial or tensorial perturbation quantities of a certain order to an output file.
(The non-integrated variables are not saved because they are heavy and not requested.)
If rich_lvl is provided, "_R_[rich_lvl]" is appended to the data name if it is >0.
Optionally, it can be specified that this is a divided parallel grid, corresponding to the variable eq_jobs_lims with index eq_job_nr. In this case, the total grid size is adjusted to the one specified by eq_jobs_lims and the grid is written as a subset.
is_field_averaged.| integer function x_ops::print_output_x::print_output_x_1 | ( | type(grid_type), intent(in) | grid_x, |
| type(x_1_type), intent(in) | x, | ||
| character(len=*), intent(in) | data_name, | ||
| integer, intent(in), optional | rich_lvl, | ||
| logical, intent(in), optional | par_div, | ||
| integer, dimension(2), intent(in), optional | lim_sec_x ) |
vectorial version.
| [in] | grid_x | perturbation grid variables |
| [in] | x | vectorial perturbation variables |
| [in] | data_name | name under which to store |
| [in] | rich_lvl | Richardson level to print |
| [in] | par_div | is a parallely divided grid |
| [in] | lim_sec_x | limits of m_X (pol. flux) or n_X (tor. flux) |
Definition at line 409 of file X_ops.f90.
| integer function x_ops::print_output_x::print_output_x_2 | ( | type(grid_type), intent(in) | grid_x, |
| type(x_2_type), intent(in) | x, | ||
| character(len=*), intent(in) | data_name, | ||
| integer, intent(in), optional | rich_lvl, | ||
| logical, intent(in), optional | par_div, | ||
| integer, dimension(2,2), intent(in), optional | lim_sec_x, | ||
| logical, intent(in), optional | is_field_averaged ) |
tensorial version
| [in] | grid_x | perturbation grid variables |
| [in] | x | tensorial perturbation variables |
| [in] | data_name | name under which to store |
| [in] | rich_lvl | Richardson level to print |
| [in] | par_div | is a parallely divided grid |
| [in] | lim_sec_x | limits of m_X (pol. flux) or n_X (tor. flux) |
| [in] | is_field_averaged | whether field-averaged, so only one dimension for first index |
Definition at line 601 of file X_ops.f90.