IJK Hexahedron volume mesh abstract interface. More...
#include <MeshVizXLM/mesh/MiVolumeMeshHexahedronIjk.h>
Public Member Functions | |
virtual const MiHexahedronTopologyExplicitIjk & | getTopology () const =0 |
Protected Member Functions | |
virtual std::ostream & | toStream (std::ostream &s) const |
An IJK Hexahedron Volume mesh is similar to an MiMeshCurvilinear except that adjacent cells may have different nodes (identified by node indices). This type of mesh can be used to define "faults", as in a petroleum reservoir model.
Cells must be defined explicitly as a set of hexahedrons where each node is given independently of the adjacent cells.
virtual const MiHexahedronTopologyExplicitIjk& MiVolumeMeshHexahedronIjk::getTopology | ( | ) | const [pure virtual] |
Returns the topology of this mesh.
Implements MiMeshIjk.
virtual std::ostream& MiVolumeMeshHexahedronIjk::toStream | ( | std::ostream & | s | ) | const [inline, protected, virtual] |
Performs an output operation on a stream which is returned afterward. This method is protected since only called by the output operator <<. This method is not pure virtual and output by default the geometry and topology of a mesh. Whenever a different output is needed, this method can be implemented in the subclass to get a different output format. No std::ostream& operator << needs to be defined in any subclass. This allows you to benefit from the virtual inheritance when using the output operator on an abstract class.
Reimplemented from MiMeshIjk.