PB3D  [2.45]
Ideal linear high-n MHD stability in 3-D
Public Member Functions | List of all members
output_ops::print_ex_2d Interface Reference

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...
 

Detailed Description

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.

Member Function/Subroutine Documentation

◆ print_ex_2d_arr()

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

Parameters
[in]var_namesnames of variables in legend
[in]file_name_iname of input file
[in]yordinate
[in]xabsicca
[in]drawwhether to draw the plot as well
[in]persistentkeep on-screen plot open

Definition at line 172 of file output_ops.f90.

+ Here is the call graph for this function:

◆ print_ex_2d_ind()

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

Parameters
[in]var_namename of variable in legend
[in]file_name_iname of input file
[in]yordinate
[in]xabsicca
[in]drawwhether to draw the plot as well
[in]persistentkeep on-screen plot open

Definition at line 147 of file output_ops.f90.


The documentation for this interface was generated from the following file: