25 #include "sll_working_precision.h"
57 xmin, xmax, nx, vmin, vmax, nv, iplot, collective, root_rank)
59 character(len=*),
intent(in) :: plot_name
60 sll_real64,
dimension(:),
intent(in) :: x
61 sll_real64,
dimension(:),
intent(in) :: v
62 sll_real64,
dimension(:),
intent(in) :: w
63 sll_real64,
intent(in) :: xmin
64 sll_real64,
intent(in) :: xmax
65 sll_int32,
intent(in) :: nx
66 sll_real64,
intent(in) :: vmin
67 sll_real64,
intent(in) :: vmax
68 sll_int32,
intent(in) :: nv
69 sll_int32,
intent(in) :: iplot
71 sll_int32,
optional,
intent(in) :: root_rank
73 sll_real64,
dimension(nx, nv) :: df_local
74 sll_real64,
dimension(nx, nv) :: df
77 character(len=4) :: fin
81 delta_x = (xmax - xmin)/real(nx - 1, f64)
82 delta_v = (vmax - vmin)/real(nv - 1, f64)
86 if (
present(root_rank))
then
Reduces values on all processes to a single value.
integer(kind=i32) function, public sll_f_get_collective_rank(col)
Determines the rank of the calling process in the communicator.
This module provides some routines for plotting during PIC simulations with MPI. It extends sll_m_pic...
subroutine, public sll_s_distribution_xdmf_coll(plot_name, x, v, w, xmin, xmax, nx, vmin, vmax, nv, iplot, collective, root_rank)
VisIt readable output for particles density Data file format could be XML, HDF5 or Binary (not fully ...
This module provides some routines for plotting during PIC simulations.
subroutine, public sll_s_compute_df_cic(xp, yp, wp, xmin, xmax, nx, ymin, ymax, ny, df)
Compute grid field from particles distribution with the CIC scheme (Cloud In.
Some common numerical utilities.
subroutine, public sll_s_int2string(istep, cstep)
Convert an integer < 9999 to a 4 characters string.
Implements the functions to write xdmf file plotable by VisIt.
subroutine, public sll_s_xdmf_corect2d_nodes(file_name, array, array_name, eta1_min, delta_eta1, eta2_min, delta_eta2, file_format, iplot, time)
Subroutine to write a 2D array in xdmf format The field is describe on a cartesian mesh Axis are perp...
Wrapper around the communicator.