Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
|
Implements the functions to write xdmf file plotable by VisIt.
In XDMF (eXtensible Data Model and Format) the description of the data is separate from the values themselves. Light data is stored using XML, Heavy data is stored using Parallel HDF5. These files are readable by Paraview.
Derived types and interfaces | |
interface | sll_xdmf_open |
Create a new xmdf file to plot parallel array using hdf5 serial library. More... | |
interface | sll_xdmf_write_array |
Write and array in an xmf file. More... | |
interface | sll_xdmf_close |
Close the xdmf file. More... | |
Functions/Subroutines | |
subroutine, public | sll_s_xdmf_open_serial_blocks (prefix, x1, x2, xmf, error) |
Open a XDMF format file for a 2d plot. More... | |
subroutine, public | sll_s_xdmf_array_2d_serial_blocks (xmf, prefix, array, array_name, error, center) |
Write 2d array in parallel hdf5 file and the matching line in XDMF file. More... | |
subroutine, public | sll_s_xdmf_close_serial_blocks (file_id, error) |
Close the XML file and finish to write last lines. More... | |
subroutine, public sll_m_xdmf_serial_blocks::sll_s_xdmf_array_2d_serial_blocks | ( | integer(kind=i32), intent(in) | xmf, |
character(len=*), intent(in) | prefix, | ||
real(kind=f64), dimension(:, :), intent(in) | array, | ||
character(len=*), intent(in) | array_name, | ||
integer(kind=i32), intent(out) | error, | ||
character(len=4), optional | center | ||
) |
Write 2d array in parallel hdf5 file and the matching line in XDMF file.
[in] | xmf | unit file number |
[in] | prefix | file with mesh coordinates |
[in] | array | data array |
[in] | array_name | name of the field |
[out] | error | error code |
center | "Node" or "Cell" |
Definition at line 115 of file sll_m_xdmf_serial_blocks.F90.
subroutine, public sll_m_xdmf_serial_blocks::sll_s_xdmf_close_serial_blocks | ( | integer(kind=i32), intent(in) | file_id, |
integer(kind=i32), intent(out) | error | ||
) |
Close the XML file and finish to write last lines.
[in] | file_id | file unit number |
[out] | error | error code |
Definition at line 194 of file sll_m_xdmf_serial_blocks.F90.
subroutine, public sll_m_xdmf_serial_blocks::sll_s_xdmf_open_serial_blocks | ( | character(len=*), intent(in) | prefix, |
real(kind=f64), dimension(:, :), intent(in) | x1, | ||
real(kind=f64), dimension(:, :), intent(in) | x2, | ||
integer(kind=i32), intent(out) | xmf, | ||
integer(kind=i32) | error | ||
) |
Open a XDMF format file for a 2d plot.
[in] | prefix | xmf file name |
[in] | x1 | x1 coordinates |
[in] | x2 | x2 coordinates |
[out] | xmf | unit file number |
error | error code |
Definition at line 83 of file sll_m_xdmf_serial_blocks.F90.