Interface Pair

    • Method Detail

      • axis

        java.lang.String[] axis()
        Gets axis of rotation.
        Returns:
        String array representing axis of rotation.
      • axis

        Pair axis​(java.lang.String[] axis)
        Sets the axis of rotation. Used only for sector symmetry.
        Parameters:
        axis - String array representing the axis.
        Returns:
        Pair.
      • basePoint

        java.lang.String[] basePoint()
        Gets base point sectors.
        Returns:
        String array representing base point.
      • basePoint

        Pair basePoint​(java.lang.String[] basepoint)
        Sets basepoint. Used only for sector symmetry.
        Parameters:
        basepoint - String array representing the base point.
        Returns:
        Pair.
      • compatibleMeshesTol

        java.lang.String compatibleMeshesTol()
        Gets tolerance for when elementwise mapping for compatible meshes should regard the meshes as compatible. This is a relative tolerance compared to the size of the mesh element.
        Returns:
        String representing a positive real number.
      • compatibleMeshesTol

        Pair compatibleMeshesTol​(java.lang.String value)
        Sets tolerance for when elementwise mapping for compatible meshes should regard the meshes as compatible. This is a relative tolerance compared to the size of the mesh element. Used only for identity pairs.
        Parameters:
        value - String representing a positive real number.
        Returns:
        Pair.
      • destination

        LocalSelection destination()
        Gets destination selection.
        Returns:
        Destination selection.
      • dstFrame

        java.lang.String dstFrame()
        Gets destination frame.
        Returns:
        Destination frame.
      • dstFrame

        Pair dstFrame​(java.lang.String frame)
        Sets destination frame. Used only for identity pairs.
        Parameters:
        frame - Destination frame.
        Returns:
        Pair.
      • elementwise

        java.lang.String elementwise()
        Gets strategy for elementwise mapping for compatible meshes. Possible values are on, off, require.
        Returns:
        String representing elementwise mapping strategy.
      • elementwise

        Pair elementwise​(java.lang.String value)
        Sets strategy for elementwise mapping for compatible meshes. Allowed values are on, off, require. Used only for identity pairs.
        Parameters:
        value - String representing elementwise mapping strategy.
        Returns:
        Pair.
      • extTol

        java.lang.String extTol()
        Gets extrapolation tolerance.
        Returns:
        String representing extrapolation tolerance.
      • extTol

        Pair extTol​(java.lang.String exttol)
        Sets the extrapolation tolerance. Used only for sector symmetry.
        Parameters:
        exttol - String representing the extrapolation tolerance.
        Returns:
        Pair.
      • gapName

        java.lang.String gapName​(boolean src2dst)
        Gets name of geometric gap variable seen from the destination (if src2dst) or seen from the source (if !src2dst). Used only for contact pairs.
        Parameters:
        src2dst - src2dst true to see from the destination.
        Returns:
        Name of geometric gap variable.
      • hasAutoSelection

        boolean hasAutoSelection()
        True if pair was created automatically when building geometry.
        Returns:
        true if pair was created automatically.
      • inContactName

        java.lang.String inContactName()
        Gets name of in-contact variable that evaluates to zero or one depending on if the pair is in contact. An identity pair is in contact whenever the source and destination side overlap. A contact pair uses the gap variable to decide the in contact condition.
        Returns:
        Name of in-contact variable.
      • initGapName

        java.lang.String initGapName​(boolean src2dst)
        Gets name of initial geometric gap variable seen from the destination (if src2dst) or seen from the source (if !src2dst). Used only for contact pairs.
        Parameters:
        src2dst - src2dst true to see from the destination.
        Returns:
        Name of initial geometric gap variable.
      • manualDist

        boolean manualDist()
        Returns true if manual control of search distance is enabled.
        Returns:
        true for manual control.
      • manualDist

        Pair manualDist​(boolean manual)
        Enables or disables manual control of search distance.
        Parameters:
        manual - true to enable manual control.
        Returns:
        Pair.
      • manualFrame

        boolean manualFrame()
        True if automatically created pair is in manual frame mode.
        Returns:
        true if frames are set manually.
      • manualFrame

        Pair manualFrame​(boolean manual)
        Sets manual mode for the frames in automatic pairs.
        Parameters:
        manual - true to set frames manually.
        Returns:
        Pair.
      • manualSectorSymmetry

        boolean manualSectorSymmetry()
        Returns true if manual control of sector symmetry settings is enabled.
        Returns:
        true for manual settings.
      • manualSectorSymmetry

        Pair manualSectorSymmetry​(boolean manualSectorSymmetry)
        Enables or disables manual control of sector symmetry settings.
        Parameters:
        manualSectorSymmetry - true to enable manual sector symmetry settings.
        Returns:
        Pair.
      • manualSelection

        boolean manualSelection()
        True if automatically created pair is in manual selection mode.
        Returns:
        true if in manual selection mode.
      • manualSelection

        Pair manualSelection​(boolean manualSelection)
        Sets manual mode for selections in automatic pairs.
        Parameters:
        manualSelection - true if manual selections.
        Returns:
        Pair.
      • mapping

        java.lang.String mapping()
        Returns the method used for mapping in contact pairs.
        Returns:
        Mapping method.
      • mapping

        Pair mapping​(java.lang.String method)
        Sets the method used for mapping in contact pairs.
        Parameters:
        method - Mapping method.
        Returns:
        Pair.
      • mphOpName

        java.lang.String mphOpName​(boolean src2dst)
        Gets name of the multiphysics operator transferring an expression from source to destination (if src2dst) or from destination to source if (!src2dst). When the test operator is applied on this operator, it does not give any contribution (reaction force) on the SME interface's degrees of freedom due to the variable point mapping. Used only for contact pairs.
        Parameters:
        src2dst - true for source to destination.
        Returns:
        Operator name.
      • nSector

        java.lang.String nSector()
        Gets number of sectors.
        Returns:
        String representing number of sectors.
      • nSector

        Pair nSector​(java.lang.String nsector)
        Sets number of sectors. Used only for sector symmetry.
        Parameters:
        nsector - String representing number of sectors.
        Returns:
        Pair.
      • opName

        java.lang.String opName​(boolean src2dst)
        Gets name of operator transferring an expression from source to destination (if src2dst) or from destination to source (if !src2dst).
        Parameters:
        src2dst - true for source to destination.
        Returns:
        Operator name.
      • pairName

        java.lang.String pairName()
        Gets pair name.
        Returns:
        Pair name.
      • pairName

        Pair pairName​(java.lang.String name)
        Sets pair name. The pair name is used as a suffix in variable names and operator names.
        Parameters:
        name - Pair name.
        Returns:
        Pair.
      • searchDist

        java.lang.String searchDist()
        Gets search distance.
        Returns:
        String representing search distance.
      • searchDist

        Pair searchDist​(java.lang.String dist)
        Sets search distance. The default unit is the geometry's length unit.
        Parameters:
        dist - String representing search distance.
        Returns:
        Pair.
      • searchMethod

        java.lang.String searchMethod()
        Gets search method.
        Returns:
        Search method: hierarchical, fast or direct.
      • searchMethod

        Pair searchMethod​(java.lang.String method)
        Sets search method. Used only for contact pairs.
        Parameters:
        method - Search method: hierarchical, fast or direct.
        Returns:
        Pair.
      • searchTol

        java.lang.String searchTol()
        Gets search tolerance.
        Returns:
        String representing search tolerance.
      • searchTol

        Pair searchTol​(java.lang.String tol)
        Sets search tolerance. Used only for contact pairs.
        Parameters:
        tol - String representing search tolerance.
        Returns:
        Pair.
      • sectorContactName

        java.lang.String sectorContactName()
        Get name of sector contact variable. Used only for sector symmetry pairs.
        Returns:
        Name of sector contact variable.
      • sectorSignName

        java.lang.String sectorSignName()
        Get name of sector sign variable. Used only for sector symmetry pairs.
        Returns:
        Name of sector sign variable.
      • source

        LocalSelection source()
        Gets source selection.
        Returns:
        Source selection.
      • srcFrame

        java.lang.String srcFrame()
        Gets source frame.
        Returns:
        Source frame.
      • srcFrame

        Pair srcFrame​(java.lang.String frame)
        Sets source frame. Used only for identity pairs.
        Parameters:
        frame - Source frame.
        Returns:
        Pair.
      • swap

        Pair swap()
        Swap source and destination selections.
        Returns:
        Pair.
      • type

        java.lang.String type()
        Gets pair type.
        Returns:
        Pair type: Contact or Identity.
      • type

        Pair type​(java.lang.String type)
        Sets pair type.
        Parameters:
        type - Pair type: Contact or Identity.
        Returns:
        Pair.