SGDX_cell_usq_2d< T > Class Template Reference

The following class allows to plot 2d MultiArrays or 2d slices of multi-dimensinal MultiArrays. The domain is considered as the unit square. More...

#include <DXCell2D.hpp>

List of all members.

Static Public Member Functions

static void write (char *file_name, MultiArray< T > &vec)
 Writes a 2d MultiArray<T> into a file in the DataExplorer file format. On errors (e.g. the file cannot be created) the function throws exceptions.
static void write (char *file_name, MultiArray< T > &vec, MultiIndex &index, int i_0, int i_1)
 Writes a 2d slice of a multi-dimentional MultiArray<T> into a file in the DataExplorer file format. On errors (e.g. the file cannot be created) the function throws exceptions.


Detailed Description

template<typename T>
class SGDX_cell_usq_2d< T >

The following class allows to plot 2d MultiArrays or 2d slices of multi-dimensinal MultiArrays. The domain is considered as the unit square.


Member Function Documentation

template<typename T>
void SGDX_cell_usq_2d< T >::write ( char *  file_name,
MultiArray< T > &  vec 
) [inline, static]

Writes a 2d MultiArray<T> into a file in the DataExplorer file format. On errors (e.g. the file cannot be created) the function throws exceptions.

Parameters:
[in] file_name The name of the output file
[in] vec The grid function to plot

template<typename T>
void SGDX_cell_usq_2d< T >::write ( char *  file_name,
MultiArray< T > &  vec,
MultiIndex index,
int  i_0,
int  i_1 
) [inline, static]

Writes a 2d slice of a multi-dimentional MultiArray<T> into a file in the DataExplorer file format. On errors (e.g. the file cannot be created) the function throws exceptions.

Parameters:
[in] file_name The name of the output file
[in] vec The grid function to plot
[in] index The fixed indices
[in] i_0 The free indices
[in] i_1 The free indices


The documentation for this class was generated from the following files:
Generated on Fri Sep 21 12:34:30 2007 for SG2 by  doxygen 1.5.2