0.6.2-dev0
FORCES
FORtran lib for Comp. Env. Sys.
Loading...
Searching...
No Matches
mo_io.f90 File Reference

File reading routines. More...

Go to the source code of this file.

Data Types

interface  mo_io::loadtxt
 Read a file into a 2D array containing reals. More...
 

Modules

module  mo_io
 File reading routines.
 

Functions/Subroutines

subroutine mo_io::loadtxt_dp (filename, d, skiprows, max_rows)
 Read a file into a 2D array containing reals.
 
subroutine mo_io::loadtxt_sp (filename, d, skiprows, max_rows)
 Read a file into a 2D array containing reals.
 
integer function, public mo_io::number_of_columns (u)
 Determine number of columns in a file. The columns are assumed to be separated by spaces or tabs.
 
integer function, public mo_io::number_of_rows (u)
 Determine number of rows in a file.
 

Detailed Description

File reading routines.

This module provides routines to load a file into an array. This is mainly taken from the Fortran stdlib: https://github.com/fortran-lang/stdlib

Version
0.1
Authors
Sebastian Mueller
Date
Apr 2022

Definition in file mo_io.f90.