Interface MiTopologyIjk

  • All Superinterfaces:
    MiTopology
    All Known Subinterfaces:
    MiHexahedronTopologyExplicitIjk

    public interface MiTopologyIjk
    extends MiTopology
    List of volume cells interface.

    A generic interface for a structured implicit volume mesh topology. Cells are all implicitly defined as hexahedron so there is no need for specifying a list of cells.
    The number of cells on each dimension defines completely the topology.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getNumCellsI()
      Returns the number of cells on the first logical axis.
      int getNumCellsJ()
      Returns the number of cells on the second logical axis.
      int getNumCellsK()
      Returns the number of cells on the third logical axis.
      boolean isDead​(int i, int j, int k)
      Returns true if the cell at the specified position should be ignored.
    • Method Detail

      • getNumCellsI

        int getNumCellsI()
        Returns the number of cells on the first logical axis.
        Returns:
        the number of cells on the first logical axis.
      • getNumCellsJ

        int getNumCellsJ()
        Returns the number of cells on the second logical axis.
        Returns:
        the number of cells on the second logical axis.
      • getNumCellsK

        int getNumCellsK()
        Returns the number of cells on the third logical axis.
        Returns:
        the number of cells on the third logical axis.
      • isDead

        boolean isDead​(int i,
                       int j,
                       int k)
        Returns true if the cell at the specified position should be ignored. This value is ignored if the hasDeadCell method returns false.

        The implementation of this method must be thread-safe because it might be called concurrently by multiple threads. The way this method is implemented is critical for performance. Any inefficient implementation may impact very significantly the duration of the skin or slab extractions. For instance, using a mutex to ensure this method is thread-safe is in general not efficient.

        Parameters:
        i - the i-index of the cell to check
        j - the j-index of the cell to check
        k - the k-index of the cell to check
        Returns:
        true if the cell should be ignored.