ug4
file_io_vtu.cpp File Reference
#include "file_io_vtu.h"
#include <string>
#include <iostream>

Namespaces

 ug
 the ug namespace
 

Macros

#define VRT(locInd)   vertices[connectivity[curOffset + (locInd)] + pieceVrtOffset]
 

Enumerations

enum  ug::VTKCellTypes {
  ug::VTK_VERTEX = 1 , ug::VTK_POLY_VERTEX = 2 , ug::VTK_LINE = 3 , ug::VTK_POLY_LINE = 4 ,
  ug::VTK_TRIANGLE = 5 , ug::VTK_TRIANGLE_STRIP = 6 , ug::VTK_POLYGON = 7 , ug::VTK_PIXEL = 8 ,
  ug::VTK_QUAD = 9 , ug::VTK_TETRA = 10 , ug::VTK_VOXEL = 11 , ug::VTK_HEXAHEDRON = 12 ,
  ug::VTK_WEDGE = 13 , ug::VTK_PYRAMID = 14 , ug::VTK_QUADRATIC_EDGE = 21 , ug::VTK_QUADRATIC_TRIANGLE = 22 ,
  ug::VTK_QUADRATIC_QUAD = 23 , ug::VTK_QUADRATIC_TETRA = 24 , ug::VTK_QUADRATIC_HEXAHEDRON = 25 , ug::VTK_NUM_TYPES
}
 

Functions

bool ug::LoadGridFromVTU (Grid &grid, ISubsetHandler &sh, const char *filename)
 Reads a grid to a vtu (vtk unstructured mesh) file. More...
 

Variables

const int ug::ugRefObjIdToVTKCellType []
 
const char * ug::VTKCellNames []
 

Macro Definition Documentation

◆ VRT

#define VRT (   locInd)    vertices[connectivity[curOffset + (locInd)] + pieceVrtOffset]