Mesh Class Reference

Helper class used providing methods to read in information and create the graph. More...

#include <Mesh.h>

List of all members.

Public Member Functions

template<typename Collection >
int getBad (Graph *mesh, Collection &ret)
void read (Graph *mesh, std::string basename)
bool verify (Graph *mesh)

Private Member Functions

void next_line (std::ifstream &scanner)
void readNodes (std::string filename, std::vector< Tuple > &tuples)
void readElements (Graph *mesh, std::string filename, std::vector< Tuple > &tuples)
void readPoly (Graph *mesh, std::string filename, std::vector< Tuple > &tuples)
GNode addElement (Graph *mesh, Element &element)

Private Attributes

std::map< Edge, GNodeedge_map

Detailed Description

Helper class used providing methods to read in information and create the graph.


Member Function Documentation

GNode Mesh::addElement ( Graph mesh,
Element element 
) [inline, private]
template<typename Collection >
int Mesh::getBad ( Graph mesh,
Collection &  ret 
) [inline]
Parameters:
mesh The graph representing the mesh
Returns:
the bad triangles in the graph
void Mesh::next_line ( std::ifstream &  scanner  )  [inline, private]
void Mesh::read ( Graph mesh,
std::string  basename 
) [inline]
void Mesh::readElements ( Graph mesh,
std::string  filename,
std::vector< Tuple > &  tuples 
) [inline, private]
void Mesh::readNodes ( std::string  filename,
std::vector< Tuple > &  tuples 
) [inline, private]
void Mesh::readPoly ( Graph mesh,
std::string  filename,
std::vector< Tuple > &  tuples 
) [inline, private]
bool Mesh::verify ( Graph mesh  )  [inline]

Member Data Documentation

std::map<Edge, GNode> Mesh::edge_map [private]

The documentation for this class was generated from the following file:
Generated on Tue Aug 2 11:51:27 2011 for Galois by  doxygen 1.6.3