Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
|
This module provides some routines for plotting during PIC simulations.
Derived types and interfaces | |
interface | sll_o_particles_center_gnuplot |
plot particles centers with gnuplot More... | |
interface | sll_o_distribution_gnuplot |
plot particles distribution with gnuplot More... | |
interface | sll_o_plot_format_points3d |
write point3d file to plot particles characteristics More... | |
Functions/Subroutines | |
subroutine | xv_particles_center_gnuplot (plot_name, x, v, xmin, xmax, vmin, vmax, iplot, time) |
To plot particles run : gnuplot -persitant plot_name.gnu. More... | |
subroutine | compute_df (df, x, v, xmin, xmax, nx, vmin, vmax, nv) |
subroutine | distribution_xv_gnuplot (plot_name, x, v, xmin, xmax, nx, vmin, vmax, nv, iplot, time) |
subroutine, public | sll_s_particles_center_gnuplot_inline (x, v, xmin, xmax, ymin, ymax, time) |
Call this function inline with | gnuplot. More... | |
subroutine | pq_plot_format_points3d (plot_name, x, v, iplot) |
point3D format http://www.visitusers.org/index.php?title=Reading_point_data This format is designed to plot x,y,z particles with one weight (only for characteristics) This format is readable by VisIt More... | |
subroutine | pqr_plot_format_points3d (plot_name, x, y, z, iplot) |
point3D format http://www.visitusers.org/index.php?title=Reading_point_data This format is designed to plot x,y,z particles This format is readable by VisIt More... | |
subroutine | pqrs_plot_format_points3d (plot_name, p, q, r, s, iplot) |
point3D format http://www.visitusers.org/index.php?title=Reading_point_data This format is designed to plot x,y,z particles with one weight (only four characteristics) This format is readable by VisIt More... | |
subroutine, public | sll_s_plot_format_xmdv (plot_name, x, v, iplot, xmin, xmax, vmin, vmax) |
xmdv format http://davis.wpi.edu/xmdv/fileformats.html This format is designed for particles with a lot of characteristics. We have to give max and min values. This format is readable by VisIt More... | |
subroutine, public | sll_s_distribution_xdmf (plot_name, x, v, w, xmin, xmax, nx, vmin, vmax, nv, iplot) |
VisIt readable output for particles density Data file format could be XML, HDF5 or Binary (not fully implemented yet) More... | |
subroutine | compute_df_ngp (xp, yp, wp, xmin, xmax, nx, ymin, ymax, ny, df) |
Compute grid field from particles distribution with the NGP scheme (Nearest Grid Point) More... | |
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. More... | |
subroutine | compute_df_m4 (xp, yp, wp, xmin, xmax, nx, ymin, ymax, ny, df) |
real(kind=f64) function | f_m4 (x) |
M4 function from Monhagan (SPH method) More... | |
subroutine, public | sll_s_distribution_m4_gnuplot (plot_name, x, v, w, xmin, xmax, nx, vmin, vmax, nv, iplot) |
GNUplot readable output for particles density. More... | |
subroutine | compute_df_tsc (xp, yp, wp, xmin, xmax, nx, ymin, ymax, ny, df) |
subroutine, public | sll_s_distribution_tsc_gnuplot (plot_name, x, v, w, xmin, xmax, nx, vmin, vmax, nv, iplot) |
GNUplot readable output for particles density. More... | |
subroutine, public | sll_s_energies_electrostatic_gnuplot_inline (kinetic_energy, electrostatic_energy, impulse, timestepwidth) |
Call this function inline with | gnuplot Plots different energies for Electrostatic Particle-in-Cell Pseudo/Virtual file plot in gnuplot using plot "-". More... | |
subroutine, public | sll_s_electricpotential_gnuplot_inline (values, eval_knots) |
Call this function inline with | gnuplot Plots different energies for Electrostatic Particle-in-Cell Pseudo/Virtual file plot in gnuplot using plot "-". More... | |
|
private |
|
private |
Definition at line 434 of file sll_m_pic_visu.F90.
|
private |
Compute grid field from particles distribution with the NGP scheme (Nearest Grid Point)
Definition at line 351 of file sll_m_pic_visu.F90.
|
private |
|
private |
Definition at line 145 of file sll_m_pic_visu.F90.
|
private |
M4 function from Monhagan (SPH method)
Definition at line 514 of file sll_m_pic_visu.F90.
|
private |
point3D format http://www.visitusers.org/index.php?title=Reading_point_data This format is designed to plot x,y,z particles with one weight (only for characteristics) This format is readable by VisIt
Definition at line 210 of file sll_m_pic_visu.F90.
|
private |
point3D format http://www.visitusers.org/index.php?title=Reading_point_data This format is designed to plot x,y,z particles This format is readable by VisIt
Definition at line 235 of file sll_m_pic_visu.F90.
|
private |
point3D format http://www.visitusers.org/index.php?title=Reading_point_data This format is designed to plot x,y,z particles with one weight (only four characteristics) This format is readable by VisIt
Definition at line 262 of file sll_m_pic_visu.F90.
subroutine, public sll_m_pic_visu::sll_s_compute_df_cic | ( | real(kind=f64), dimension(:), intent(in) | xp, |
real(kind=f64), dimension(:), intent(in) | yp, | ||
real(kind=f64), dimension(:), intent(in) | wp, | ||
real(kind=f64), intent(in) | xmin, | ||
real(kind=f64), intent(in) | xmax, | ||
integer(kind=i32) | nx, | ||
real(kind=f64), intent(in) | ymin, | ||
real(kind=f64), intent(in) | ymax, | ||
integer(kind=i32) | ny, | ||
real(kind=f64), dimension(nx, ny), intent(out) | df | ||
) |
Compute grid field from particles distribution with the CIC scheme (Cloud In.
Definition at line 383 of file sll_m_pic_visu.F90.
subroutine, public sll_m_pic_visu::sll_s_distribution_m4_gnuplot | ( | character(len=*), intent(in) | plot_name, |
real(kind=f64), dimension(:), intent(in) | x, | ||
real(kind=f64), dimension(:), intent(in) | v, | ||
real(kind=f64), dimension(:), intent(in) | w, | ||
real(kind=f64), intent(in) | xmin, | ||
real(kind=f64), intent(in) | xmax, | ||
integer(kind=i32), intent(in) | nx, | ||
real(kind=f64), intent(in) | vmin, | ||
real(kind=f64), intent(in) | vmax, | ||
integer(kind=i32), intent(in) | nv, | ||
integer(kind=i32), intent(in) | iplot | ||
) |
GNUplot readable output for particles density.
Definition at line 528 of file sll_m_pic_visu.F90.
subroutine, public sll_m_pic_visu::sll_s_distribution_tsc_gnuplot | ( | character(len=*), intent(in) | plot_name, |
real(kind=f64), dimension(:), intent(in) | x, | ||
real(kind=f64), dimension(:), intent(in) | v, | ||
real(kind=f64), dimension(:), intent(in) | w, | ||
real(kind=f64) | xmin, | ||
real(kind=f64) | xmax, | ||
integer(kind=i32), intent(in) | nx, | ||
real(kind=f64) | vmin, | ||
real(kind=f64) | vmax, | ||
integer(kind=i32), intent(in) | nv, | ||
integer(kind=i32) | iplot | ||
) |
GNUplot readable output for particles density.
Definition at line 611 of file sll_m_pic_visu.F90.
subroutine, public sll_m_pic_visu::sll_s_distribution_xdmf | ( | character(len=*), intent(in) | plot_name, |
real(kind=f64), dimension(:), intent(in) | x, | ||
real(kind=f64), dimension(:), intent(in) | v, | ||
real(kind=f64), dimension(:), intent(in) | w, | ||
real(kind=f64) | xmin, | ||
real(kind=f64) | xmax, | ||
integer(kind=i32), intent(in) | nx, | ||
real(kind=f64) | vmin, | ||
real(kind=f64) | vmax, | ||
integer(kind=i32), intent(in) | nv, | ||
integer(kind=i32) | iplot | ||
) |
VisIt readable output for particles density Data file format could be XML, HDF5 or Binary (not fully implemented yet)
Definition at line 326 of file sll_m_pic_visu.F90.
subroutine, public sll_m_pic_visu::sll_s_electricpotential_gnuplot_inline | ( | real(kind=f64), dimension(:), intent(in) | values, |
real(kind=f64), dimension(:), intent(in) | eval_knots | ||
) |
Call this function inline with | gnuplot Plots different energies for Electrostatic Particle-in-Cell Pseudo/Virtual file plot in gnuplot using plot "-".
Definition at line 723 of file sll_m_pic_visu.F90.
subroutine, public sll_m_pic_visu::sll_s_energies_electrostatic_gnuplot_inline | ( | real(kind=f64), dimension(:), intent(in) | kinetic_energy, |
real(kind=f64), dimension(:), intent(in) | electrostatic_energy, | ||
real(kind=f64), dimension(:), intent(in) | impulse, | ||
real(kind=f64), intent(in) | timestepwidth | ||
) |
Call this function inline with | gnuplot Plots different energies for Electrostatic Particle-in-Cell Pseudo/Virtual file plot in gnuplot using plot "-".
Definition at line 638 of file sll_m_pic_visu.F90.
subroutine, public sll_m_pic_visu::sll_s_particles_center_gnuplot_inline | ( | real(kind=f64), dimension(:), intent(in) | x, |
real(kind=f64), dimension(:), intent(in) | v, | ||
real(kind=f64) | xmin, | ||
real(kind=f64) | xmax, | ||
real(kind=f64) | ymin, | ||
real(kind=f64) | ymax, | ||
real(kind=f64), intent(in) | time | ||
) |
Call this function inline with | gnuplot.
Definition at line 183 of file sll_m_pic_visu.F90.
subroutine, public sll_m_pic_visu::sll_s_plot_format_xmdv | ( | character(len=*), intent(in) | plot_name, |
real(kind=f64), dimension(:), intent(in) | x, | ||
real(kind=f64), dimension(:), intent(in) | v, | ||
integer(kind=i32), intent(in) | iplot, | ||
real(kind=f64) | xmin, | ||
real(kind=f64) | xmax, | ||
real(kind=f64) | vmin, | ||
real(kind=f64) | vmax | ||
) |
xmdv format http://davis.wpi.edu/xmdv/fileformats.html This format is designed for particles with a lot of characteristics. We have to give max and min values. This format is readable by VisIt
Definition at line 292 of file sll_m_pic_visu.F90.
|
private |
To plot particles run : gnuplot -persitant plot_name.gnu.
Definition at line 79 of file sll_m_pic_visu.F90.