Class MiStreamlineExtractHexahedronIjk

  • All Implemented Interfaces:
    MiBaseExtractor, MiExtractorIjk, MiStreamlineExtractBase

    public abstract class MiStreamlineExtractHexahedronIjk
    extends MiStreamlineExtractIjk
    Streamline extractor for hexahedron IJK meshes.

    Builds a list of MiLineMeshCurvilinear interfaces containing streamlines starting from a list of source points and probes the input mesh to compute the values at the streamline nodes (See MiPointProbeUnstructured for settings).
    A streamline is a line that is everywhere tangent to a vector field. Streamlines are meaningless for unsteady flow, because time is not taken into account during the computation of the line. Streamlines are integrated from a given set of vectors using a Runge/Kutta method of order 2.

    • Method Detail

      • extractStreamlines

        public abstract java.util.List<MeXLineMeshCurvilinear<MeXTopologyI,​MeXGeometryI>> extractStreamlines​(MiVec3dSetI inputDataSet,
                                                                                                                   MiCellFilterIjk cellFilter,
                                                                                                                   double[]... startPoints)
        Builds the topology and geometry of the streamlines starting at the given points in the given dataset. The resulting streamlines can be retrieved by calling MiStreamlineExtractIjk.getExtract().
        Parameters:
        inputDataSet - defines the vector field for the streamlines integration
        cellFilter - the cell filter
        startPoints - defines the list of start points {x,y,z} for the streamlines integration
        Returns:
        the extracted streamlines as curvilinear line meshes
      • extractScalarSet

        public abstract java.util.List<MeXScalardSetI> extractScalarSet​(MiScalardSetI inputSet)
        Extracts from the mesh a list of scalar sets.
        The scalars are mapped onto the current extracted streamlines.

        Note: The argument i of the method MiScalardSetI.get(long) refers to the i-th node of the mesh. Thus the binding of the input set must be PER_NODE. An UnsupportedOperationException is thrown otherwise.

        Parameters:
        inputSet - the input scalar set defined on the original volume mesh
        Returns:
        the output scalar sets defined on the resulting edge meshes
      • extractVec3Set

        public abstract java.util.List<MeXVec3dSetI> extractVec3Set​(MiVec3dSetI inputSet)
        Extracts from the mesh a list of vector sets.
        The vectors are mapped onto the current extracted streamlines.

        Note: The argument i of the method MiVec3dSetI.get(long) refers to the i-th node of the mesh. Thus the binding of the input set must be PER_NODE. An UnsupportedOperationException is thrown otherwise.

        Parameters:
        inputSet - the input vector set defined on the original volume mesh
        Returns:
        the output vector sets defined on the resulting edge meshes