Choral
Data Types | Functions/Subroutines
io Module Reference

IO: module for input/output More...

Data Types

interface  read
 read from file More...
 
interface  write
 write to file More...
 

Functions/Subroutines

subroutine writearray_f (tab, fic, transpose)
 write array to file, float case More...
 
subroutine writevec_f (vec, fic)
 write vector to file, float case More...
 
subroutine writevec_i (vec, fic)
 write vector to file, integer case More...
 
subroutine readvec_f (vec, fic)
 read vector from file, float case More...
 
subroutine readarray_f (vec, fic)
 read array from file, float case More...
 
subroutine readvec_i (vec, fic)
 read vector from file, integer case More...
 
integer function count_lines (fic)
 Count lines in a file. More...
 
logical function, public file_exists (filename)
 Check if the file exists. More...
 

Detailed Description

IO: module for input/output

Author
Charles Pierre

Function/Subroutine Documentation

◆ count_lines()

integer function io::count_lines ( character(len=*), intent(in)  fic)
private

Count lines in a file.

Definition at line 193 of file io.f90.

Here is the call graph for this function:

◆ file_exists()

logical function, public io::file_exists ( character(len=*), intent(in)  filename)

Check if the file exists.

Definition at line 215 of file io.f90.

◆ readarray_f()

subroutine io::readarray_f ( real(rp), dimension(:,:), intent(out)  vec,
character(len=*), intent(in)  fic 
)
private

read array from file, float case

Definition at line 149 of file io.f90.

Here is the call graph for this function:

◆ readvec_f()

subroutine io::readvec_f ( real(rp), dimension(:), intent(out)  vec,
character(len=*), intent(in)  fic 
)
private

read vector from file, float case

Definition at line 129 of file io.f90.

Here is the call graph for this function:

◆ readvec_i()

subroutine io::readvec_i ( integer, dimension(:), intent(out)  vec,
character(len=*), intent(in)  fic 
)
private

read vector from file, integer case

Definition at line 169 of file io.f90.

Here is the call graph for this function:

◆ writearray_f()

subroutine io::writearray_f ( real(rp), dimension(:,:), intent(in)  tab,
character(len=*), intent(in)  fic,
logical, intent(in), optional  transpose 
)
private

write array to file, float case

Definition at line 48 of file io.f90.

◆ writevec_f()

subroutine io::writevec_f ( real(rp), dimension(:), intent(in)  vec,
character(len=*), intent(in)  fic 
)
private

write vector to file, float case

Definition at line 90 of file io.f90.

◆ writevec_i()

subroutine io::writevec_i ( integer, dimension(:), intent(in)  vec,
character(len=*), intent(in)  fic 
)
private

write vector to file, integer case

Definition at line 109 of file io.f90.