Curvilinear line mesh template.
More...
#include <MeshVizXLM/mesh/templates/MyLineMeshCurvilinear.h>
Public Member Functions | |
size_t | getNumCells () const |
bool | hasDeadCells () const |
bool | isDead (size_t i) const |
size_t | getTimeStamp () const |
size_t | getNumCells () const |
bool | hasDeadCells () const |
bool | isDead (size_t i) const |
size_t | getTimeStamp () const |
Header file to be completed including all required classes to define a curvilinear 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 MiLineMeshCurvilinear interface. Class defining the topology of the mesh.
Header file to be completed including all required classes to define a regular 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 MiLineMeshRegular interface. Class defining the topology of the mesh.
size_t MyTopologyI::getNumCells | ( | ) | const [inline, virtual] |
Returns the number of cells.
Implements MiTopologyI.
size_t MyTopologyI::getNumCells | ( | ) | const [inline, virtual] |
Returns the number of cells.
Implements MiTopologyI.
size_t MyTopologyI::getTimeStamp | ( | ) | const [inline, virtual] |
Returns a time stamp on this topology.
Implements MiTopology.
size_t MyTopologyI::getTimeStamp | ( | ) | const [inline, virtual] |
Returns a time stamp on this topology.
Implements MiTopology.
bool MyTopologyI::hasDeadCells | ( | ) | const [inline, virtual] |
Returns true if the topology contains dead cells.
When false, the cells traversal can be optimized by not testing the isDead() method of each individual cells.
Reimplemented from MiTopology.
bool MyTopologyI::hasDeadCells | ( | ) | const [inline, virtual] |
Returns true if the topology contains dead cells.
When false, the cells traversal can be optimized by not testing the isDead() method of each individual cells.
Reimplemented from MiTopology.
bool MyTopologyI::isDead | ( | size_t | i | ) | const [inline, virtual] |
Returns true if the cell of index i should be ignored.
This value is ignored if the hasDeadCell() method returns false. The default implementation returns always false.
i | the index of the cell to check |
Reimplemented from MiTopologyI.
bool MyTopologyI::isDead | ( | size_t | i | ) | const [inline, virtual] |
Returns true if the cell of index i should be ignored.
This value is ignored if the hasDeadCell() method returns false.
i | the index of the cell to check |
Reimplemented from MiTopologyI.