SGDX_cell_2d< T, Geom > Class Template Reference

The following class allows to plot cell-centered scalar and vector fields on general domains specifyed by the mapping from 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.


Detailed Description

template<typename T, class Geom>
class SGDX_cell_2d< T, Geom >

The following class allows to plot cell-centered scalar and vector fields on general domains specifyed by the mapping from the unit square.

The first two indices of the MultiArray should mean the geometric position and the optional third index counts the vector components (one or two). The argument 'Geom' of the template is a user-provided basis class with the description of the geometry. This basis class must have the following members and static member functions:


Member Function Documentation

template<typename T, class Geom>
void SGDX_cell_2d< T, Geom >::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


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