Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
csv_file.f90 File Reference

Go to the source code of this file.

Data Types

type  csv_file::csv_file_t
 

Modules

module  csv_file
 File format for .csv files, used for any read/write operations involving floating point data.
 

Functions/Subroutines

subroutine csv_file::csv_file_write (this, data, t)
 Writes data to an output file.
 
subroutine csv_file::csv_file_write_vector (f, data, t)
 Writes a vector_t object to an output file, in a row format. If the parameter t is present, it will be appended at the start of the row, followed by the contents of the vector.
 
subroutine csv_file::csv_file_write_matrix (f, data, t)
 Writes a matrix_t object to an output file. If the parameter t is present, it will be appended at the start of each row.
 
subroutine csv_file::csv_file_read (this, data)
 Reads data from an input file.
 
subroutine csv_file::csv_file_read_vector (f, vec)
 Read a vector (i.e. data on a single row) from a csv file.
 
subroutine csv_file::csv_file_read_matrix (f, mat)
 Read a matrix from a csv file.
 
subroutine csv_file::csv_file_set_header (this, hd)
 Sets the header for a csv file. For example: hd = "u,v,w,p".
 
integer function csv_file::csv_file_count_lines (this)
 Count the number of lines in a file by going through it entirely until the end is reached.