#include <DXCell3D.hpp>
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. | |
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:
static void para (T * xi, T * coord) - parametrization of the domain, i.e. the function that fills 'coord' with physical coordinates for given parameters 'xi'; 'xi' and 'coord' are arrays of size 'DIM'.
| 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.
| [in] | file_name | The name of the output file |
| [in] | vec | The grid function to plot |
1.5.2