PB3D
[2.45]
Ideal linear high-n MHD stability in 3-D
|
Print 2-D output on a file. More...
Public Member Functions | |
subroutine | print_ex_2d_ind (var_name, file_name_i, y, x, draw, persistent) |
individual version More... | |
subroutine | print_ex_2d_arr (var_names, file_name_i, y, x, draw, persistent) |
array version More... | |
Print 2-D output on a file.
The variables var_name
and file_name
hold the name of the plot and of the file in which the plot data is to be saved, respectively. y
is the an array containing the function which is stored and x
is an optional vector with the x-values. The logical draw
can optionally disable calling the external drawing procedure for output on screen [default], without modifying the plot file.
The first index of y
(and x
) contains the points of a current plot.
The second index indicates various plots (one or more)
Definition at line 47 of file output_ops.f90.
subroutine output_ops::print_ex_2d::print_ex_2d_arr | ( | character(len=*), dimension(:), intent(in) | var_names, |
character(len=*), intent(in) | file_name_i, | ||
real(dp), dimension(1:,1:), intent(in) | y, | ||
real(dp), dimension(1:,1:), intent(in), optional | x, | ||
logical, intent(in), optional | draw, | ||
logical, intent(in), optional | persistent | ||
) |
array version
[in] | var_names | names of variables in legend |
[in] | file_name_i | name of input file |
[in] | y | ordinate |
[in] | x | absicca |
[in] | draw | whether to draw the plot as well |
[in] | persistent | keep on-screen plot open |
Definition at line 172 of file output_ops.f90.
subroutine output_ops::print_ex_2d::print_ex_2d_ind | ( | character(len=*), intent(in) | var_name, |
character(len=*), intent(in) | file_name_i, | ||
real(dp), dimension(1:), intent(in) | y, | ||
real(dp), dimension(1:), intent(in), optional | x, | ||
logical, intent(in), optional | draw, | ||
logical, intent(in), optional | persistent | ||
) |
individual version
[in] | var_name | name of variable in legend |
[in] | file_name_i | name of input file |
[in] | y | ordinate |
[in] | x | absicca |
[in] | draw | whether to draw the plot as well |
[in] | persistent | keep on-screen plot open |
Definition at line 147 of file output_ops.f90.