Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Derived types and interfaces | Functions/Subroutines
sll_m_xdmf_serial_blocks Module Reference

Description

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

Function/Subroutine Documentation

◆ sll_s_xdmf_array_2d_serial_blocks()

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.

Parameters
[in]xmfunit file number
[in]prefixfile with mesh coordinates
[in]arraydata array
[in]array_namename of the field
[out]errorerror code
center"Node" or "Cell"

Definition at line 115 of file sll_m_xdmf_serial_blocks.F90.

◆ sll_s_xdmf_close_serial_blocks()

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.

Parameters
[in]file_idfile unit number
[out]errorerror code

Definition at line 194 of file sll_m_xdmf_serial_blocks.F90.

◆ sll_s_xdmf_open_serial_blocks()

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.

Parameters
[in]prefixxmf file name
[in]x1x1 coordinates
[in]x2x2 coordinates
[out]xmfunit file number
errorerror code

Definition at line 83 of file sll_m_xdmf_serial_blocks.F90.

    Report Typos and Errors