| 
| procedure  | write (this, data, t) | 
|   | Writes data to an output file.  
  | 
|   | 
| procedure  | read (this, data) | 
|   | Reads data from an input file.  
  | 
|   | 
| procedure  | set_header (this, hd) | 
|   | Sets the header for a csv file.  
  | 
|   | 
| procedure  | set_overwrite (this, overwrite) | 
|   | Sets the overwrite flag for a csv file.  
  | 
|   | 
| procedure  | count_lines (this) | 
|   | Count the number of lines in a file.  
  | 
|   | 
| procedure  | init (this, fname) | 
|   | Generic file constructor.  
  | 
|   | 
| procedure(generic_file_write), deferred  | write (this, data, t) | 
|   | Read method.  
  | 
|   | 
| procedure(generic_file_read), deferred  | read (this, data) | 
|   | 
| procedure  | get_fname (this) | 
|   | Get a file's name.  
  | 
|   | 
| procedure  | get_base_fname (this) | 
|   | Get base name without counter.  
  | 
|   | 
| procedure  | set_counter (this, n) | 
|   | Set the file counter to n.  
  | 
|   | 
| procedure  | get_counter (this) | 
|   | Get the file counter.  
  | 
|   | 
| procedure  | set_start_counter (this, n) | 
|   | Set the file start counter to n.  
  | 
|   | 
| procedure  | get_start_counter (this) | 
|   | Get the file start counter.  
  | 
|   | 
| procedure  | increment_counter (this) | 
|   | Increment the file counter by 1.  
  | 
|   | 
| procedure  | check_exists (this) | 
|   | Ensure the file exists.  
  | 
|   | 
| procedure  | set_overwrite (this, overwrite) | 
|   | Set overwrite mode.  
  | 
|   | 
Definition at line 45 of file csv_file.f90.
 
◆ check_exists()
◆ count_lines()
◆ get_base_fname()
◆ get_counter()
◆ get_fname()
◆ get_start_counter()
◆ increment_counter()
◆ init()
◆ read() [1/2]
- Parameters
 - 
  
    | this | csv file in which to read.  | 
    | data | matrix_t or vector_t, will contain the read data.  | 
  
   
Definition at line 52 of file csv_file.f90.
 
 
◆ read() [2/2]
◆ set_counter()
◆ set_header()
- Parameters
 - 
  
  
 
- Note
 - The header will be written "as is", meaning there will be no checks performed on the header separators, number of columns, etc. 
 
Definition at line 54 of file csv_file.f90.
 
 
◆ set_overwrite() [1/2]
- Parameters
 - 
  
    | this | csv file.  | 
    | overwrite | Overwrite flag.  | 
  
   
Definition at line 56 of file csv_file.f90.
 
 
◆ set_overwrite() [2/2]
◆ set_start_counter()
◆ write() [1/2]
- Parameters
 - 
  
    | this | csv file to write in.  | 
    | data | Data to write, can be vector_t or matrix_t.  | 
    | t | Time.  | 
  
   
Definition at line 50 of file csv_file.f90.
 
 
◆ write() [2/2]
◆ counter
◆ fname
◆ header
      
        
          | character(len=1024) csv_file::csv_file_t::header = "" | 
        
      
 
 
◆ header_is_written
      
        
          | logical csv_file::csv_file_t::header_is_written = .false. | 
        
      
 
 
◆ overwrite
  
  
      
        
          | logical generic_file::generic_file_t::overwrite = .false. | 
         
       
   | 
  
inherited   | 
  
 
 
◆ serial
  
  
      
        
          | logical generic_file::generic_file_t::serial = .false. | 
         
       
   | 
  
inherited   | 
  
 
 
◆ start_counter
The documentation for this type was generated from the following file: