gridripper::io::RegularGridBDataWriter Class Reference

GridRipper bdata file writer for regular grids. More...

List of all members.

Public Member Functions

 RegularGridBDataWriter (OutputStream os)
 Constructs a bdata writer.
void init (int nfields, String tname, String xname, String[] fields)
 (Re)initializes the bdata writer.
void write (double t, double xmin, double dx, int npoints, float[] data, int dataPos) throws IOException
 Writes time slice data into the bdata file.
void write (double t, double xmin, double dx, int npoints, double[] data, int dataPos) throws IOException
 Writes time slice data into the bdata file.
void close () throws IOException
 Closes the underlying output stream.


Detailed Description

GridRipper bdata file writer for regular grids.

Version:
0.5, 06/11/2009
Since:
GridRipper 0.5, 06/10/2009
Author:
Peter Csizmadia

Constructor & Destructor Documentation

gridripper::io::RegularGridBDataWriter::RegularGridBDataWriter ( OutputStream  os  )  [inline]

Constructs a bdata writer.

Parameters:
os the output stream


Member Function Documentation

void gridripper::io::RegularGridBDataWriter::init ( int  nfields,
String  tname,
String  xname,
String[]  fields 
) [inline]

(Re)initializes the bdata writer.

Parameters:
nfields the number of field components
tname name of the time coordinate
xname name of the x coordinate
fields array of field names

void gridripper::io::RegularGridBDataWriter::write ( double  t,
double  xmin,
double  dx,
int  npoints,
float[]  data,
int  dataPos 
) throws IOException [inline]

Writes time slice data into the bdata file.

Parameters:
t the time
xmin the minimum x coordinate
dx the grid spacing
npoints the number of grid points on a time slice
data the data array
dataPos starting position of the time slice in the data array

void gridripper::io::RegularGridBDataWriter::write ( double  t,
double  xmin,
double  dx,
int  npoints,
double[]  data,
int  dataPos 
) throws IOException [inline]

Writes time slice data into the bdata file.

Parameters:
t the time
xmin the minimum x coordinate
dx the grid spacing
npoints the number of grid points on a time slice
data the data array
dataPos starting position of the time slice in the data array


The documentation for this class was generated from the following file:

Generated on Wed Jun 17 18:47:29 2009 for GridRipper by  doxygen 1.5.6