Rectilinear volume mesh abstract interface. More...
#include <MeshVizXLM/mesh/MiVolumeMeshRectilinear.h>
Public Member Functions | |
virtual const MiVolumeGeometryRectilinear & | getGeometry () const =0 |
Protected Member Functions | |
virtual std::ostream & | toStream (std::ostream &s) const |
This interface is similar to MiVolumeMeshRegular except that the nodes are not equally spaced in I, J and K. Nodes are defined by a set of NUMI points on I, NUMJ points on J and NUMK points on K. Thus each cell is still a parallelepiped but its volume depends on the spacing between two consecutive values of I,J and K.
MiVolumeMeshCurvilinear, MiVolumeMeshRegular, MiVolumeMeshUnstructured, MiVolumeMeshHexahedronIjk, MiVolumeMeshVertexHexahedronIjk
virtual const MiVolumeGeometryRectilinear& MiVolumeMeshRectilinear::getGeometry | ( | ) | const [pure virtual] |
Returns the geometry of this mesh.
virtual std::ostream& MiVolumeMeshRectilinear::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.