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_ascii_io Module Reference

Description

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

Function/Subroutine Documentation

◆ sll_ascii_write_array_0d()

subroutine sll_m_ascii_io::sll_ascii_write_array_0d ( integer(kind=i32), intent(in)  file_id,
real(kind=f64), intent(in)  array,
integer(kind=i32), intent(out)  error 
)
private

Write a 1d array ASCII format.

Definition at line 95 of file sll_m_ascii_io.F90.

◆ sll_ascii_write_array_3d()

subroutine sll_m_ascii_io::sll_ascii_write_array_3d ( integer(kind=i32), intent(in)  file_id,
real(kind=f64), dimension(:, :, :), intent(in)  array,
integer(kind=i32), intent(out)  error 
)
private

Write a 3d array ASCII format.

Definition at line 160 of file sll_m_ascii_io.F90.

◆ sll_s_ascii_file_close()

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.

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

Definition at line 86 of file sll_m_ascii_io.F90.

◆ sll_s_ascii_file_create()

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.

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

Definition at line 55 of file sll_m_ascii_io.F90.

Here is the caller graph for this function:

◆ sll_s_ascii_write_array_1d()

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.

◆ sll_s_ascii_write_array_1d_as_row()

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.

◆ sll_s_ascii_write_array_2d()

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.

    Report Typos and Errors