Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
|
Implements the functions to write binary file to store heavy data.
This functions can be used only for sequential application. one file = one dataset
If HDF5 is not installed you can use this module.
This is controlled by the variable HDF5_ENABLE
.
Derived types and interfaces | |
interface | sll_o_binary_write_array |
Write a nD array in a binary file. More... | |
Functions/Subroutines | |
subroutine, public | sll_s_binary_file_create (filename, file_id, error) |
Create binary file. More... | |
subroutine, public | sll_s_binary_file_close (file_id, error) |
Open binary file. More... | |
subroutine, public | sll_s_binary_write_array_0d (file_id, array, error) |
Write a 0D array in the binary file file_id. More... | |
subroutine, public | sll_s_binary_write_array_1d (file_id, array, error) |
Write a 1D array in the binary file file_id. More... | |
subroutine, public | sll_s_binary_write_array_2d (file_id, array, error) |
Write a 2D array in the binary file file_id. More... | |
subroutine | sll_s_binary_write_array_3d (file_id, array, error) |
Write a 3D array in the binary file file_id. More... | |
subroutine, public | sll_s_binary_read_array_0d (file_id, array, error) |
Read a 0D array in the binary file file_id. More... | |
subroutine, public | sll_s_binary_read_array_2d (file_id, array, error) |
Read a 2D array in the binary file file_id. More... | |
subroutine, public sll_m_binary_io::sll_s_binary_file_close | ( | integer(kind=i32), intent(in) | file_id, |
integer(kind=i32), intent(out) | error | ||
) |
Open binary file.
Close binary file
[in] | file_id | file unit number |
[out] | error | error code |
Definition at line 105 of file sll_m_binary_io.F90.
subroutine, public sll_m_binary_io::sll_s_binary_file_create | ( | character(len=*), intent(in) | filename, |
integer(kind=i32), intent(out) | file_id, | ||
integer(kind=i32), intent(out) | error | ||
) |
Create binary file.
[in] | filename | file name |
[out] | file_id | file unit number |
[out] | error | error code |
Definition at line 60 of file sll_m_binary_io.F90.
subroutine, public sll_m_binary_io::sll_s_binary_read_array_0d | ( | integer(kind=i32), intent(in) | file_id, |
real(kind=f64), intent(out) | array, | ||
integer(kind=i32), intent(out) | error | ||
) |
Read a 0D array in the binary file file_id.
[in] | file_id | file unit number |
[out] | error | error code |
[out] | array | data array |
Definition at line 146 of file sll_m_binary_io.F90.
subroutine, public sll_m_binary_io::sll_s_binary_read_array_2d | ( | integer(kind=i32), intent(in) | file_id, |
real(kind=f64), dimension(:, :), intent(out) | array, | ||
integer(kind=i32), intent(out) | error | ||
) |
Read a 2D array in the binary file file_id.
[in] | file_id | file unit number |
[out] | error | error code |
[out] | array | adata array |
Definition at line 154 of file sll_m_binary_io.F90.
subroutine, public sll_m_binary_io::sll_s_binary_write_array_0d | ( | integer(kind=i32), intent(in) | file_id, |
real(kind=f64), intent(in) | array, | ||
integer(kind=i32), intent(out) | error | ||
) |
Write a 0D array in the binary file file_id.
[in] | file_id | file unit number |
[out] | error | error code |
[in] | array | data array |
Definition at line 114 of file sll_m_binary_io.F90.
subroutine, public sll_m_binary_io::sll_s_binary_write_array_1d | ( | integer(kind=i32), intent(in) | file_id, |
real(kind=f64), dimension(:), intent(in) | array, | ||
integer(kind=i32), intent(out) | error | ||
) |
Write a 1D array in the binary file file_id.
[in] | file_id | file unit number |
[out] | error | error code |
[in] | array | data array |
Definition at line 122 of file sll_m_binary_io.F90.
subroutine, public sll_m_binary_io::sll_s_binary_write_array_2d | ( | integer(kind=i32), intent(in) | file_id, |
real(kind=f64), dimension(:, :), intent(in) | array, | ||
integer(kind=i32), intent(out) | error | ||
) |
Write a 2D array in the binary file file_id.
[in] | file_id | file unit number |
[out] | error | error code |
[in] | array | adata array |
Definition at line 130 of file sll_m_binary_io.F90.
|
private |
Write a 3D array in the binary file file_id.
[in] | file_id | file unit number |
[out] | error | error code |
[in] | array | data array |
Definition at line 138 of file sll_m_binary_io.F90.