|
Vertex access functions. |
| vertex_iterator | begin_vertices () const |
| vertex_iterator | end_vertices () const |
| unsigned | nvertices () const |
| Vertex | getVertex (unsigned id) const |
| template<unsigned d> |
| point_iterator< d > | begin_points () const |
| template<unsigned d> |
| point_iterator< d > | end_points () const |
| const double * | begin_x (const Vertex v) const |
| const double * | end_x (const Vertex v) const |
| template<unsigned d> |
| Geometry::Point< d > | toPoint (const Vertex v) const |
| static unsigned | hash (Vertex v) |
Element access functions. |
| bool | isPointCloud () const |
| element_iterator | begin_elements (unsigned d) const |
| element_iterator | end_elements (unsigned d) const |
| bool | hasElement (unsigned d, unsigned id) const |
| Element | getElement (unsigned d, unsigned id) const |
| bdry_v_iterator | begin_bdry (const Element e) const |
| bdry_v_iterator | end_bdry (const Element e) const |
| lower_e_iterator | begin_lowers (const Element e, unsigned d) const |
| lower_e_iterator | end_lowers (const Element e, unsigned d) const |
| internal_v_iterator | begin_internal (const Element e) const |
| internal_v_iterator | end_internal (const Element e) const |
| unsigned | getFirstID (unsigned d) const |
| unsigned | getIndex (unsigned d, unsigned id) const |
| static unsigned | hash (const Element e) |
Public Types |
| typedef unsigned | Vertex |
typedef hudson::HashWord<
Vertex > | VertexHash |
| typedef ElementGuts * | Element |
typedef hudson::HashPointer<
ElementGuts > | ElementHash |
typedef boost::counting_iterator<
unsigned > | vertex_iterator |
typedef std::vector< Element
>::const_iterator | element_iterator |
typedef std::list< Vertex
>::const_iterator | bdry_v_iterator |
typedef hudson::SmallList<
Element >::const_iterator | lower_e_iterator |
typedef hudson::SmallList<
Vertex >::const_iterator | internal_v_iterator |
Public Member Functions |
| | PLC (unsigned dimension) |
| | ~PLC () |
| void | declareDimension (unsigned d, unsigned n) |
| Vertex | makeVertex (unsigned id, double *x) |
| Element | makeElement (unsigned d, unsigned id) |
| void | addLower (Element elt, unsigned d, unsigned id, bool isboundary=false) |
| void | addBoundary (Element elt, unsigned id) |
| unsigned | dim () const |
Classes |
| class | ElementGuts |
| class | point_iterator |
| struct | ToPoint |
Emphasis is on allowing this class to later be highly optimized, since I/O matters.
TODO: optimize.