HDF5Writer::TriaInformation Struct Reference

#include <hdf5writer.h>

Collaboration diagram for HDF5Writer::TriaInformation:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TriaInformation (int vert, int cells, int typeId=UNSTRUCTURED_GRID)
 TriaInformation ()
void setActiveVertices (std::vector< hsize_t > &p)
std::vector< hsize_t > & getActiveVertices ()
bool isCollapsed ()

Public Attributes

unsigned n_vertices
unsigned n_cells
unsigned type
std::vector< hsize_t > * vI

Detailed Description

The information stored in a vector when we register a triangulation

Definition at line 50 of file hdf5writer.h.


Constructor & Destructor Documentation

HDF5Writer::TriaInformation::TriaInformation ( int  vert,
int  cells,
int  typeId = UNSTRUCTURED_GRID 
) [inline]

Definition at line 55 of file hdf5writer.h.

00055 :n_vertices(vert),n_cells(cells),type(typeId),vI(NULL){}

HDF5Writer::TriaInformation::TriaInformation (  )  [inline]

Definition at line 56 of file hdf5writer.h.

00056 {vI=NULL;}


Member Function Documentation

std::vector<hsize_t>& HDF5Writer::TriaInformation::getActiveVertices (  )  [inline]

Definition at line 62 of file hdf5writer.h.

00063     {
00064       assert(vI != NULL);
00065       return *vI;
00066     }

bool HDF5Writer::TriaInformation::isCollapsed (  )  [inline]

Definition at line 67 of file hdf5writer.h.

00068     {
00069       return vI != NULL;
00070     }

void HDF5Writer::TriaInformation::setActiveVertices ( std::vector< hsize_t > &  p  )  [inline]

Definition at line 57 of file hdf5writer.h.

00058     {
00059       assert(vI == NULL);
00060       vI=new std::vector<hsize_t>(p);
00061     }


Member Data Documentation

Definition at line 52 of file hdf5writer.h.

Definition at line 52 of file hdf5writer.h.

Definition at line 52 of file hdf5writer.h.

std::vector<hsize_t>* HDF5Writer::TriaInformation::vI

Definition at line 53 of file hdf5writer.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Sun Apr 8 23:13:12 2012 for CO2INJECTION by  doxygen 1.6.3