Unstructured line mesh template.
More...
#include <MeshVizXLM/mesh/templates/MyLineMeshUnstructured.h>
Public Member Functions | |
size_t | getNumNodes () const |
size_t | getNodeIndex (size_t node) const |
Header file to be completed including all required classes to define an unstructured line mesh with its associated scalar and vector sets.
Intended to help implement simple mesh. Just fill up the empty methods of the following classes (search for YOUR CODE HERE):
Hint: some should inherit both from MeshViz interfaces and the user's application data classes.
For advanced implementations, refer to the MiLineMeshUnstructured interface. Class defining a line cell of the mesh
size_t MyLineCell::getNodeIndex | ( | size_t | node | ) | const [inline, virtual] |
Gets the index (in the mesh) of a node.
[in] | node | Node number (where: 0 <= node < getNumNodes()). |
Implements MiCell.
size_t MyLineCell::getNumNodes | ( | ) | const [inline, virtual] |
Gets the number of nodes.
Implements MiCell.