Main Page | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Globals

file.h File Reference

Go to the source code of this file.

Functions

template<class _InIt>
void binary_read (_InIt _First, _InIt _Last, const string _Filename, const int _Seek)
template<class _InIt>
void binary_write (_InIt _First, _InIt _Last, const string _Filename)
template<class T>
void read_header (const string &_root, vector< T > &_hdr)
template<class T>
void read_partition (const string &_root, const vector< T > &_hdr, vector< T > &_par)
template<class T>
void read_connection (const string &_root, const vector< T > &_hdr, const vector< T > &_par, vector< T > &_con)
template<class T, class S>
void read_element (const string &_root, const vector< T > &_hdr, const vector< T > &_par, vector< S > &_ele)


Function Documentation

template<class _InIt>
void binary_read _InIt  _First,
_InIt  _Last,
const string  _Filename,
const int  _Seek
[inline]
 

The binary_read procedure reads binary data from a file into a memory block.

Parameters:
_First Input: Iterator pointing to the first element.
_Last Input: Iterator pointing past the last element.
_Filename Input: Name of the input file.
_Seek Input: Offset into the data file

template<class _InIt>
void binary_write _InIt  _First,
_InIt  _Last,
const string  _Filename
[inline]
 

The binary_write procedure writes binary data to a file from a memory block.

Parameters:
_First Input: Iterator pointing to the first element.
_Last Input: Iterator pointing past the last element.
_Filename Input: Name of the output file.

template<class T>
void read_connection const string &  _root,
const vector< T > &  _hdr,
const vector< T > &  _par,
vector< T > &  _con
 

The read_connection procedure reads the mesh connectivity data of the finite element simulation.

Parameters:
_root Input: Directory where the header is located.
_hdr Input: Vector of header information.
_par Input: Vector of partition data.
_con Output: Vector of mesh connectivity data.

template<class T, class S>
void read_element const string &  _root,
const vector< T > &  _hdr,
const vector< T > &  _par,
vector< S > &  _ele
 

The read_element procedure reads the element matrix data of the finite element simulation.

Parameters:
_root Input: Directory where the header is located.
_hdr Input: Vector of header information.
_par Input: Vector of partition data.
_ele Output: Vector of element matrix data.

template<class T>
void read_header const string &  _root,
vector< T > &  _hdr
 

The read_header procedure reads the header information of the finite element simulation.

Parameters:
_root Input: Directory where the header is located.
_hdr Output: Vector of header information.

template<class T>
void read_partition const string &  _root,
const vector< T > &  _hdr,
vector< T > &  _par
 

The read_partition procedure reads the partition data of the finite element simulation.

Parameters:
_root Input: Directory where the header is located.
_hdr Input: Vector of header information.
_par Output: Vector of partition data.


Generated on Wed Apr 26 17:41:45 2006 for Parallel Toolbox by  doxygen 1.4.2