Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
MiVolumeMeshHexahedronIjk Class Referenceabstract

MeshViz IJK Hexahedron volume mesh abstract interface. More...

#include <MeshVizXLM/mesh/MiVolumeMeshHexahedronIjk.h>

+ Inheritance diagram for MiVolumeMeshHexahedronIjk:

Public Member Functions

virtual const MiHexahedronTopologyExplicitIjkgetTopology () const =0
 Returns the topology of this mesh.
 
- Public Member Functions inherited from MiMeshUnstructured
virtual const MiGeometryIgetGeometry () const =0
 Returns the unstructured geometry of this mesh.
 
- Public Member Functions inherited from MiMesh
virtual ~MiMesh ()
 

Protected Member Functions

virtual std::ostream & toStream (std::ostream &s) const
 Performs an output operation on a stream which is returned afterward.
 

Additional Inherited Members

- Public Types inherited from MiMesh
enum  Dimension {
  DIMENSION_I = 0 ,
  DIMENSION_J = 1 ,
  DIMENSION_K = 2
}
 Defines the dimensions in a one, two, or three-dimensional array. More...
 
- Public Types inherited from MiMeshIjk
enum  StorageLayout {
  LAYOUT_IJK ,
  LAYOUT_IKJ ,
  LAYOUT_JKI ,
  LAYOUT_JIK ,
  LAYOUT_KJI ,
  LAYOUT_KIJ ,
  LAYOUT_UNKNOWN
}
 Hint about data organization in memory. More...
 

Detailed Description

MeshViz IJK Hexahedron volume mesh abstract interface.

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.

See also
MiVolumeMeshCurvilinear for IJK meshes where adjacent cells share the same points.
MiVolumeMeshVertexHexahedronIjk for IJK meshes where hexahedrons are defined by explicit vertices.
MbVolumeMeshHexahedronIjk for a basic implementation.

Definition at line 52 of file MiVolumeMeshHexahedronIjk.h.

Member Function Documentation

◆ getTopology()

virtual const MiHexahedronTopologyExplicitIjk & MiVolumeMeshHexahedronIjk::getTopology ( ) const
pure virtual

Returns the topology of this mesh.

Implements MiMeshIjk.

◆ toStream()

virtual std::ostream & MiVolumeMeshHexahedronIjk::toStream ( std::ostream &  s) const
inlineprotectedvirtual

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.

Implements MiMesh.

Definition at line 64 of file MiVolumeMeshHexahedronIjk.h.


The documentation for this class was generated from the following file: