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.
Here an example using the sll_t_layout_2d object, check out how to compute offset values before calling sll_m_gnuplot_parallel subroutines.
Derived types and interfaces | |
interface | sll_o_xdmf_open |
Create the xdmf file. More... | |
interface | sll_o_xdmf_write_array |
Write and array in an xmf file. More... | |
interface | sll_o_xdmf_close |
Close the xdmf file. More... | |
Functions/Subroutines | |
subroutine | sll_xdmf_open_2d_parallel (rank, file_name, mesh_name, nnodes_x1, nnodes_x2, file_id, error) |
Open a XDMF format file for a 2d plot. More... | |
subroutine | sll_xdmf_open_3d_parallel (rank, file_name, mesh_name, nnodes_x1, nnodes_x2, nnodes_x3, file_id, error) |
Open a XDMF format file for a 3d plot. More... | |
subroutine | sll_xdmf_array_2d_parallel (mesh_name, global_dims, offset, array, array_name, error, xmffile_id, center) |
Write 2d array in parallel hdf5 file and the matching line in XDMF file. More... | |
subroutine | sll_xdmf_array_3d_parallel (mesh_name, global_dims, offset, array, array_name, error, xmffile_id, center) |
Write 3d array in binary or hdf5 file and the matching line in XDMF file. More... | |
subroutine | sll_xdmf_close_parallel (file_id, error) |
Close the XML file and finish to write last lines. More... | |
|
private |
Write 2d array in parallel hdf5 file and the matching line in XDMF file.
[in] | mesh_name | file with mesh coordinates |
[in] | global_dims | global dimensions |
[in] | offset | block offset |
[in] | array | data array |
[in] | array_name | name of the field |
[out] | error | error code |
[in] | xmffile_id | xml file unit number |
[in] | center | "Node" or "Cell" |
Definition at line 134 of file sll_m_xdmf_parallel.F90.
|
private |
Write 3d array in binary or hdf5 file and the matching line in XDMF file.
[in] | mesh_name | file with mesh coordinates |
[in] | global_dims | global dimensions |
[in] | offset | block offset |
[in] | array | data array |
[in] | array_name | name of the field |
[out] | error | error code |
[in] | xmffile_id | xml file unit number |
[in] | center | "Node" or "Cell" |
Definition at line 187 of file sll_m_xdmf_parallel.F90.
|
private |
Close the XML file and finish to write last lines.
[in] | file_id | file unit number |
[out] | error | error code |
Definition at line 241 of file sll_m_xdmf_parallel.F90.
|
private |
Open a XDMF format file for a 2d plot.
[in] | rank | processor number id |
[in] | file_name | xmf file name |
[in] | mesh_name | file name that contains mesh |
[in] | nnodes_x1 | nodes number x |
[in] | nnodes_x2 | nodes number y |
[out] | file_id | file unit number |
[out] | error | error code |
Definition at line 81 of file sll_m_xdmf_parallel.F90.
|
private |
Open a XDMF format file for a 3d plot.
[in] | rank | processor number id |
[in] | file_name | xml file name |
[in] | mesh_name | file name that contains data coordinates |
[in] | nnodes_x1 | nodes number x |
[in] | nnodes_x2 | nodes number y |
[in] | nnodes_x3 | nodes number z |
[out] | file_id | file unit number |
[out] | error | error code |
Definition at line 106 of file sll_m_xdmf_parallel.F90.