SGDX_cell_3d< 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 cube. More...

#include <DXCell3D.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_3d< T, Geom >

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

The first three indices of the MultiArray should mean the geometric position and the optional fourth index counts the vector components (one or three). 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_3d< 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:30 2007 for SG2 by  doxygen 1.5.2