HexCoreCellElementType#

class ansys.meshing.prime.HexCoreCellElementType(*values)#

Cell element type of hex-shaped cells.

Methods

HexCoreCellElementType.conjugate(/)

Returns self, the complex conjugate of any int.

HexCoreCellElementType.bit_length(/)

Number of bits necessary to represent self in binary.

HexCoreCellElementType.bit_count(/)

Number of ones in the binary representation of the absolute value of self.

HexCoreCellElementType.to_bytes(/[, length, ...])

Return an array of bytes representing an integer.

HexCoreCellElementType.from_bytes(/, bytes)

Return the integer represented by the given array of bytes.

HexCoreCellElementType.as_integer_ratio(/)

Return a pair of integers, whose ratio is equal to the original int.

HexCoreCellElementType.is_integer(/)

Returns True.

Attributes

HexCoreCellElementType.real

the real part of a complex number

HexCoreCellElementType.imag

the imaginary part of a complex number

HexCoreCellElementType.numerator

the numerator of a rational number in lowest terms

HexCoreCellElementType.denominator

the denominator of a rational number in lowest terms

HexCoreCellElementType.ALLPOLY

Generates poly type cells.

HexCoreCellElementType.ALLHEX

Generates hex type cells.

HexCoreCellElementType.HEXANDPOLY

Generates a mix of poly type and hex type cells.