Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
|
Module that contains routines to write data in ASCII format file.
This is an example of how use the sll_m_ascii_io module. More details about this example
Derived types and interfaces | |
interface | sll_o_ascii_write_array |
Write nD array in ascii file. More... | |
Functions/Subroutines | |
subroutine, public | sll_s_ascii_file_create (file_name, file_id, error) |
Create ASCII file. More... | |
subroutine, public | sll_s_ascii_file_close (file_id, error) |
Close ASCII file. More... | |
subroutine | sll_ascii_write_array_0d (file_id, array, error) |
Write a 1d array ASCII format. More... | |
subroutine, public | sll_s_ascii_write_array_1d (file_id, array, error, num_points, array2, array3) |
Write a 1d array ASCII format. More... | |
subroutine, public | sll_s_ascii_write_array_2d (file_id, array, error) |
Write a 2d array ASCII format. More... | |
subroutine | sll_ascii_write_array_3d (file_id, array, error) |
Write a 3d array ASCII format. More... | |
subroutine, public | sll_s_ascii_write_array_1d_as_row (file_id, array, num_points) |
Write a 1d array ASCII format. More... | |
|
private |
Write a 1d array ASCII format.
Definition at line 95 of file sll_m_ascii_io.F90.
|
private |
Write a 3d array ASCII format.
Definition at line 160 of file sll_m_ascii_io.F90.
subroutine, public sll_m_ascii_io::sll_s_ascii_file_close | ( | integer(kind=i32), intent(in) | file_id, |
integer(kind=i32), intent(out) | error | ||
) |
Close ASCII file.
[in] | file_id | file unit number |
[out] | error | error code |
Definition at line 86 of file sll_m_ascii_io.F90.
subroutine, public sll_m_ascii_io::sll_s_ascii_file_create | ( | character(len=*), intent(in) | file_name, |
integer(kind=i32), intent(out) | file_id, | ||
integer(kind=i32), intent(out) | error | ||
) |
Create ASCII file.
[in] | file_name | file name |
[out] | error | error code |
[out] | file_id | file unit number |
Definition at line 55 of file sll_m_ascii_io.F90.
subroutine, public sll_m_ascii_io::sll_s_ascii_write_array_1d | ( | integer(kind=i32), intent(in) | file_id, |
real(kind=f64), dimension(:), intent(in) | array, | ||
integer(kind=i32), intent(out) | error, | ||
integer(kind=i32), intent(in), optional | num_points, | ||
real(kind=f64), dimension(:), intent(in), optional | array2, | ||
real(kind=f64), dimension(:), intent(in), optional | array3 | ||
) |
Write a 1d array ASCII format.
Definition at line 103 of file sll_m_ascii_io.F90.
subroutine, public sll_m_ascii_io::sll_s_ascii_write_array_1d_as_row | ( | integer(kind=i32), intent(in) | file_id, |
real(kind=f64), dimension(:), intent(in) | array, | ||
integer(kind=i32), intent(in) | num_points | ||
) |
Write a 1d array ASCII format.
Definition at line 169 of file sll_m_ascii_io.F90.
subroutine, public sll_m_ascii_io::sll_s_ascii_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 ASCII format.
Definition at line 152 of file sll_m_ascii_io.F90.