Curvilinear volume mesh abstract interface. More...
#include <MeshVizXLM/mesh/MiVolumeMeshCurvilinear.h>
Public Member Functions | |
virtual const MiGeometryIjk & | getGeometry () const =0 |
Protected Member Functions | |
virtual std::ostream & | toStream (std::ostream &s) const |
A Curvilinear volume mesh is similar to a MiVolumeMeshIJK except that nodes are organized in a (NUMI+1,NUMJ+1,NUMK+1) array where they can be accessed by (i,j,k) indices. So each node located inside the mesh (not on a border) is shared by eight cells. However, the nodes are not evenly spaced as they can be in the MiVolumeMeshRectilinear or MiVolumeMeshRegular.
MiVolumeMeshRectilinear, MiVolumeMeshRegular, MiVolumeMeshUnstructured, MiVolumeMeshHexahedronIjk, MiVolumeMeshVertexHexahedronIjk
virtual const MiGeometryIjk& MiVolumeMeshCurvilinear::getGeometry | ( | ) | const [pure virtual] |
Returns the geometry of this mesh.
virtual std::ostream& MiVolumeMeshCurvilinear::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.