#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
#include <cstring>
#include <cstdlib>
#include "Rocin.h"
#include "roccom.h"
Go to the source code of this file.
Classes | |
struct | AttrInfo |
struct | ConnInfo |
Macros | |
#define | VTK_EMPTY_CELL 0 |
#define | VTK_VERTEX 1 |
#define | VTK_POLY_VERTEX 2 |
#define | VTK_LINE 3 |
#define | VTK_POLY_LINE 4 |
#define | VTK_TRIANGLE 5 |
#define | VTK_TRIANGLE_STRIP 6 |
#define | VTK_POLYGON 7 |
#define | VTK_PIXEL 8 |
#define | VTK_QUAD 9 |
#define | VTK_TETRA 10 |
#define | VTK_VOXEL 11 |
#define | VTK_HEXAHEDRON 12 |
#define | VTK_WEDGE 13 |
#define | VTK_PYRAMID 14 |
#define | VTK_PENTAGONAL_PRISM 15 |
#define | VTK_HEXAGONAL_PRISM 16 |
#define | VTK_QUADRATIC_EDGE 21 |
#define | VTK_QUADRATIC_TRIANGLE 22 |
#define | VTK_QUADRATIC_QUAD 23 |
#define | VTK_QUADRATIC_TETRA 24 |
#define | VTK_QUADRATIC_HEXAHEDRON 25 |
#define | VTK_QUADRATIC_WEDGE 26 |
#define | VTK_QUADRATIC_PYRAMID 27 |
#define | VTK_CONVEX_POINT_SET 41 |
#define | VTK_PARAMETRIC_CURVE 51 |
#define | VTK_PARAMETRIC_SURFACE 52 |
#define | VTK_PARAMETRIC_TRI_SURFACE 53 |
#define | VTK_PARAMETRIC_QUAD_SURFACE 54 |
#define | VTK_PARAMETRIC_TETRA_REGION 55 |
#define | VTK_PARAMETRIC_HEX_REGION 56 |
#define | SwitchOnDataType(dType, funcCall) |
Functions | |
template<typename TT > | |
void | PrintStructured (const TT **pData, int nComp, int ndims, const int *dims_nodes, int ghost, char loc, std::ostream &out) |
template<typename TT > | |
void | PrintUnstructured (const TT **pData, int nComp, int size, std::ostream &out) |
void | PrintConn (const int *pConn, const ConnInfo &ci, std::ostream &out) |
void | COM_print_window (const std::string &wName, const std::string &timeStr, const std::string &file_in, bool mesh_only) |
COM_EXTERN_MODULE (Rocin) | |
int | main (int argc, char *argv[]) |
#define SwitchOnDataType | ( | dType, | |
funcCall | |||
) |
Definition at line 81 of file hdf2vtk.C.
Referenced by COM_print_window().
#define VTK_HEXAHEDRON 12 |
Definition at line 54 of file hdf2vtk.C.
Referenced by COM_print_window().
#define VTK_PYRAMID 14 |
Definition at line 56 of file hdf2vtk.C.
Referenced by COM_print_window().
#define VTK_QUAD 9 |
Definition at line 51 of file hdf2vtk.C.
Referenced by COM_print_window().
#define VTK_QUADRATIC_HEXAHEDRON 25 |
Definition at line 65 of file hdf2vtk.C.
Referenced by COM_print_window().
#define VTK_QUADRATIC_QUAD 23 |
Definition at line 63 of file hdf2vtk.C.
Referenced by COM_print_window().
#define VTK_QUADRATIC_TETRA 24 |
Definition at line 64 of file hdf2vtk.C.
Referenced by COM_print_window().
#define VTK_QUADRATIC_TRIANGLE 22 |
Definition at line 62 of file hdf2vtk.C.
Referenced by COM_print_window().
#define VTK_TETRA 10 |
Definition at line 52 of file hdf2vtk.C.
Referenced by COM_print_window().
#define VTK_TRIANGLE 5 |
Definition at line 47 of file hdf2vtk.C.
Referenced by COM_print_window().
#define VTK_WEDGE 13 |
Definition at line 55 of file hdf2vtk.C.
Referenced by COM_print_window().
COM_EXTERN_MODULE | ( | Rocin | ) |
void COM_print_window | ( | const std::string & | wName, |
const std::string & | timeStr, | ||
const std::string & | file_in, | ||
bool | mesh_only | ||
) |
Definition at line 222 of file hdf2vtk.C.
References COM_BYTE, COM_CHAR, COM_DOUBLE, COM_FLOAT, COM_free_buffer(), COM_get_attribute(), COM_get_attributes(), COM_get_connectivities(), COM_get_panes(), COM_get_size(), COM_INT, COM_LONG, COM_LONG_DOUBLE, COM_SHORT, COM_UNSIGNED, COM_UNSIGNED_CHAR, COM_UNSIGNED_LONG, COM_UNSIGNED_SHORT, i, paneIds, PrintConn(), PrintStructured(), PrintUnstructured(), sin, SwitchOnDataType, VTK_HEXAHEDRON, VTK_PYRAMID, VTK_QUAD, VTK_QUADRATIC_HEXAHEDRON, VTK_QUADRATIC_QUAD, VTK_QUADRATIC_TETRA, VTK_QUADRATIC_TRIANGLE, VTK_TETRA, VTK_TRIANGLE, VTK_WEDGE, and x.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 522 of file hdf2vtk.C.
References COM_call_function(), COM_finalize(), COM_get_attribute_handle(), COM_get_function_handle(), COM_init(), COM_LOAD_MODULE_STATIC_DYNAMIC, COM_print_window(), COM_set_profiling(), COM_set_verbose(), COM_UNLOAD_MODULE_STATIC_DYNAMIC, and i.
void PrintConn | ( | const int * | pConn, |
const ConnInfo & | ci, | ||
std::ostream & | out | ||
) |
Definition at line 201 of file hdf2vtk.C.
References i, ConnInfo::m_numElements, ConnInfo::m_numGhost, ConnInfo::m_type, and sin.
void PrintStructured | ( | const TT ** | pData, |
int | nComp, | ||
int | ndims, | ||
const int * | dims_nodes, | ||
int | ghost, | ||
char | loc, | ||
std::ostream & | out | ||
) |
void PrintUnstructured | ( | const TT ** | pData, |
int | nComp, | ||
int | size, | ||
std::ostream & | out | ||
) |