Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Private Member Functions | List of all members
sll_o_xml_grid_geometry Interface Reference

write grid description in the xml file More...

Private Member Functions

subroutine sll_xml_grid_geometry_2d_high_level (file_id, filename, nnodes_x1, nnodes_x2)
 Write the description of a 2D strutured grid mesh with its nodes coordinates contains in filename-x1 and filename-x2. More...
 
subroutine sll_xml_grid_geometry_2d_low_level (file_id, x1filename, nnodes_x1, x2filename, nnodes_x2, x1dsetname, x2dsetname, gridtype)
 Write the description of a 2D strutured grid mesh with its nodes coordinates contains in filename-x1 and filename-x2. More...
 
subroutine sll_xml_grid_geometry_3d_high_level (file_id, filename, nnodes_x1, nnodes_x2, nnodes_x3)
 Write the description of a 3D structured curvilinear grid mesh with its nodes coordinates contains in filename-x1 and filename-x2. High level version where dataset names in hdf5 files are set automatically. More...
 
subroutine sll_xml_grid_geometry_3d_low_level (file_id, x1filename, nnodes_x1, x2filename, nnodes_x2, x3filename, nnodes_x3, x1dsetname, x2dsetname, x3dsetname, gridtype)
 Write the description of a 3D structured curvilinear grid mesh with its nodes coordinates contains in filename-x1 and filename-x2. Low level version where dataset names in hdf5 files must be set. More...
 

Detailed Description

write grid description in the xml file

Definition at line 54 of file sll_m_xml_io.F90.

Member Function/Subroutine Documentation

◆ sll_xml_grid_geometry_2d_high_level()

subroutine sll_xml_grid_geometry_2d_high_level ( integer(kind=i32), intent(in)  file_id,
character(len=*), intent(in)  filename,
integer(kind=i32), intent(in)  nnodes_x1,
integer(kind=i32), intent(in)  nnodes_x2 
)
private

Write the description of a 2D strutured grid mesh with its nodes coordinates contains in filename-x1 and filename-x2.

Parameters
[in]file_idis the unit number or your xml file
[in]filenameis the file name where the coordinates data are (bin or h5)
[in]nnodes_x1- nodes number along direction 1
[in]nnodes_x2- nodes number along direction 2

The file named filename-x1.bin and filename-x2.bin must exist in case of binary output. The file named filename.h5 with dataset x1 and x2 must exist in case of hdf5 output.

Definition at line 318 of file sll_m_xml_io.F90.

Here is the call graph for this function:

◆ sll_xml_grid_geometry_2d_low_level()

subroutine sll_xml_grid_geometry_2d_low_level ( integer(kind=i32), intent(in)  file_id,
character(len=*), intent(in)  x1filename,
integer(kind=i32), intent(in)  nnodes_x1,
character(len=*), intent(in)  x2filename,
integer(kind=i32), intent(in)  nnodes_x2,
character(len=*), intent(in)  x1dsetname,
character(len=*), intent(in)  x2dsetname,
character(len=*), intent(in)  gridtype 
)
private

Write the description of a 2D strutured grid mesh with its nodes coordinates contains in filename-x1 and filename-x2.

Parameters
[in]file_idis the unit number or your xml file
[in]x1filenameis the file name where the coordinates x1 are (bin or h5)
[in]x2filenameis the file name where the coordinates x2 are (bin or h5)
[in]x1dsetnameis the dataset name of coordinates x1 are (bin or h5)
[in]x2dsetnameis the dataset name of coordinates x2 are (bin or h5)
[in]nnodes_x1- nodes number along direction 1
[in]nnodes_x2- nodes number along direction 2

The file named x*filename-x*dsetname.bin must exists The file named x*filename-x*dsetname.h5 with dataset x*dsetname must exists.
Low level version where you have to set dataset names in hdf5 files

Definition at line 354 of file sll_m_xml_io.F90.

Here is the call graph for this function:

◆ sll_xml_grid_geometry_3d_high_level()

subroutine sll_xml_grid_geometry_3d_high_level ( integer(kind=i32), intent(in)  file_id,
character(len=*), intent(in)  filename,
integer(kind=i32), intent(in)  nnodes_x1,
integer(kind=i32), intent(in)  nnodes_x2,
integer(kind=i32), intent(in)  nnodes_x3 
)
private

Write the description of a 3D structured curvilinear grid mesh with its nodes coordinates contains in filename-x1 and filename-x2. High level version where dataset names in hdf5 files are set automatically.

Parameters
[in]file_idxmf file unit number
[in]filenamexmf file name
[in]nnodes_x1x nodes number
[in]nnodes_x2y nodes number
[in]nnodes_x3z nodes number

Definition at line 400 of file sll_m_xml_io.F90.

Here is the call graph for this function:

◆ sll_xml_grid_geometry_3d_low_level()

subroutine sll_xml_grid_geometry_3d_low_level ( integer(kind=i32), intent(in)  file_id,
character(len=*), intent(in)  x1filename,
integer(kind=i32), intent(in)  nnodes_x1,
character(len=*), intent(in)  x2filename,
integer(kind=i32), intent(in)  nnodes_x2,
character(len=*), intent(in)  x3filename,
integer(kind=i32), intent(in)  nnodes_x3,
character(len=*), intent(in)  x1dsetname,
character(len=*), intent(in)  x2dsetname,
character(len=*), intent(in)  x3dsetname,
character(len=*), intent(in)  gridtype 
)
private

Write the description of a 3D structured curvilinear grid mesh with its nodes coordinates contains in filename-x1 and filename-x2. Low level version where dataset names in hdf5 files must be set.

Parameters
[in]file_idxmf unif file number
[in]x1filenamex data file name
[in]x2filenamey data file name
[in]x3filenamex datz file name
[in]x1dsetnamex dataset name
[in]x2dsetnamey dataset name
[in]x3dsetnamez dataset name
[in]nnodes_x1x nodes number
[in]nnodes_x2y nodes number
[in]nnodes_x3z nodes number
[in]gridtypeuniform or collection

Definition at line 440 of file sll_m_xml_io.F90.

Here is the call graph for this function:
    Report Typos and Errors