Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Private Member Functions | List of all members
sll_o_gnuplot_2d_parallel Interface Reference

Create a gnuplot file for a 2d mesh (cartesian or curvilinear) More...

Private Member Functions

subroutine sll_s_gnuplot_curv_2d_parallel (array_x, array_y, array, array_name, iplot, error)
 write a data file plotable by gnuplot to visualize a 2d field More...
 
subroutine sll_s_gnuplot_rect_2d_parallel (x_min, delta_x, y_min, delta_y, npts_x, npts_y, array, array_name, iplot, error)
 write a data file plotable by gnuplot to visualize a 2d field More...
 

Detailed Description

Create a gnuplot file for a 2d mesh (cartesian or curvilinear)

Definition at line 62 of file sll_m_gnuplot_parallel.F90.

Member Function/Subroutine Documentation

◆ sll_s_gnuplot_curv_2d_parallel()

subroutine sll_s_gnuplot_curv_2d_parallel ( real(kind=f64), dimension(:, :), intent(in)  array_x,
real(kind=f64), dimension(:, :), intent(in)  array_y,
real(kind=f64), dimension(:, :), intent(in)  array,
character(len=*), intent(in)  array_name,
integer(kind=i32), intent(in)  iplot,
integer(kind=i32), intent(out)  error 
)
private

write a data file plotable by gnuplot to visualize a 2d field

Parameters
[in]array_xx mesh coordinates
[in]array_yy mesh coordinates
[in]arraydata
[in]array_namefield name
[in]iplotplot counter
[out]errorerror code

Definition at line 70 of file sll_m_gnuplot_parallel.F90.

Here is the call graph for this function:

◆ sll_s_gnuplot_rect_2d_parallel()

subroutine sll_s_gnuplot_rect_2d_parallel ( real(kind=f64), intent(in)  x_min,
real(kind=f64), intent(in)  delta_x,
real(kind=f64), intent(in)  y_min,
real(kind=f64), intent(in)  delta_y,
integer(kind=i32), intent(in)  npts_x,
integer(kind=i32), intent(in)  npts_y,
real(kind=f64), dimension(:, :), intent(in)  array,
character(len=*), intent(in)  array_name,
integer(kind=i32), intent(in)  iplot,
integer(kind=i32), intent(out)  error 
)
private

write a data file plotable by gnuplot to visualize a 2d field

Data are written in parallel, every processor writes in a different directory.

Todo:
There is a problem with this function. This function should be explicitly told which collective to use, thus permitting the writing of data by a subset of the processors if needed. This assumes that all the processors will contain the writable data. The collective should be passed as an argument. But this may imply that different collectives will write data with the same name... further changes are needed.
Parameters
[in]x_minBox corners
[in]delta_xstep size
[in]y_minBox corners
[in]delta_ystep size
[in]npts_xnumber of points to be written, x
[in]npts_ynumber of points to be written, y
[in]arraydata
[in]array_namefield name
[in]iplotplot counter
[out]errorerror code

Definition at line 164 of file sll_m_gnuplot_parallel.F90.

Here is the call graph for this function:
    Report Typos and Errors