Skip to main content

Prime Mesh Python client library 2025 R2

HexCoreTransitionLayerType

Last update: 10.09.2025

class ansys.meshing.prime.HexCoreTransitionLayerType(value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Handle size transition of hex cells.

Methods

Name Description
HexCoreTransitionLayerType.conjugate Returns self, the complex conjugate of any int.
HexCoreTransitionLayerType.bit_length(/) Number of bits necessary to represent self in binary.
HexCoreTransitionLayerType.bit_count(/) Number of ones in the binary representation of the absolute value of self.
HexCoreTransitionLayerType.to_bytes(/[, ...]) Return an array of bytes representing an integer.
HexCoreTransitionLayerType.from_bytes(/, bytes) Return the integer represented by the given array of bytes.
HexCoreTransitionLayerType.as_integer_ratio(/) Return a pair of integers, whose ratio is equal to the original int.
HexCoreTransitionLayerType.is_integer(/) Returns True.

Attributes

Name Description
HexCoreTransitionLayerType.real the real part of a complex number
HexCoreTransitionLayerType.imag the imaginary part of a complex number
HexCoreTransitionLayerType.numerator the numerator of a rational number in lowest terms
HexCoreTransitionLayerType.denominator the denominator of a rational number in lowest terms
HexCoreTransitionLayerType.HANGINGNODES Allow different size hexes to be neighbors.
HexCoreTransitionLayerType.DELETESMALL Remove neighboring hexes of different size by deleting a layer of smaller cells.
HexCoreTransitionLayerType.DELETELARGE Remove neighboring hexes of different size by deleting a layer of larger cells.
HexCoreTransitionLayerType.DELETEBOTH Remove neighboring hexes of different size by deleting both smaller and larger cell layers.

Connect with Ansys