EBF I/O in Fortran (95/2003)

Introduction

A brief description of the subroutines and functions of Fortran API are given below. Additionally, an example program making use of them is given in the end. For further details one can refer to the link on the top of this page or click on the routines themselves.

Following each routine the input, output paramaters are given. Optional parameters, along with their default values are shown as paramater=value. Here, x refers to a variable which is being read or written. It can be

Examples

A worked out example is given here ebf_demo.f90 . (click to see source code)

Portability

The code has been tested on 64 bit ubuntu machine using gfortran(4.4.3) compiler. For other platforms it is strongle advised to run the test module before using ebf. The tests check for compatibility of data types. A file named test_master1.ebf containing pre defined values in various data types is also used by the test module to check if the data can be read correctly.

For I/O ebf uses file access mode "stream" which is probably not available for all fortran compilers. Other fortran features which the code uses are elemental functions and allocatable arrays. Note, for endian conversion ebf makes use of a module named Endian_Utility written by Paul van Delst.

API

The module ebf is the gateway for the user to the ebf library. All routines that the user needs are made availble through this module and are listed below. Note, internally some routines might be in different module but they are still exported through module ebf.

Generated on Fri May 17 17:03:23 2013 by  doxygen 1.6.3