| 
| pure integer function, public  | filename_suffix_pos (fname) | 
|   | Find position (in the string) of a filename's suffix.  
  | 
|   | 
| pure integer function, public  | filename_tslash_pos (fname) | 
|   | Find position (in the string) of a filename's trailing slash.  
  | 
|   | 
| subroutine, public  | filename_path (fname, path) | 
|   | Extract the path to a file.  
  | 
|   | 
| subroutine, public  | filename_name (fname, name) | 
|   | Extract the base name of a file (without path and suffix)  
  | 
|   | 
| subroutine, public  | filename_suffix (fname, suffix) | 
|   | Extract a filename's suffix.  
  | 
|   | 
| subroutine  | filename_split (fname, path, name, suffix) | 
|   | Extract file name components.  
  | 
|   | 
| subroutine, public  | filename_chsuffix (fname, new_fname, new_suffix) | 
|   | Change a filename's suffix.  
  | 
|   | 
| integer function, public  | extract_fld_file_index (fld_filename, default_index) | 
|   | Extracts the index of a field file. For example, "myfield.f00045" will return 45. If the suffix of the file name is invalid, returns a default index value.  
  | 
|   | 
| character(len=100) function, dimension(:), allocatable, public  | split_string (string, delimiter) | 
|   | Split a string based on delimiter (tokenizer) OBS: very hacky, this should really be improved, it is rather embarrasing code.  
  | 
|   | 
| pure integer function, public  | linear_index (i, j, k, l, lx, ly, lz) | 
|   | Compute the address of a (i,j,k,l) array with sizes (1:lx, 1:ly, 1:lz, :)  
  | 
|   | 
| pure integer function, dimension(4), public  | nonlinear_index (linear_index, lx, ly, lz) | 
|   | Compute (i,j,k,l) array given linear index with sizes (1:lx, 1:ly, 1:lz, :)  
  | 
|   | 
| pure logical function, public  | index_is_on_facet (i, j, k, lx, ly, lz, facet) | 
|   | 
| subroutine  | neko_error_plain (error_code) | 
|   | Reports an error and stops execution.  
  | 
|   | 
| subroutine  | neko_error_msg (error_msg) | 
|   | Reports an error and stops execution.  
  | 
|   | 
| subroutine, public  | neko_type_error (base_type, wrong_type, known_types) | 
|   | Reports an error allocating a type for a particular base pointer class.  
  | 
|   | 
| subroutine, public  | neko_type_registration_error (base_type, wrong_type, known) | 
|   | 
| subroutine, public  | neko_warning (warning_msg) | 
|   | Reports a warning to standard output.  
  | 
|   | 
| character(:) function, allocatable, public  | concat_string_array (array, sep, prepend) | 
|   | Concatenate an array of strings into one string with array items separated by spaces.  
  | 
|   | 
Various utility functions