Skip to main content

Prime Mesh Python client library 2025 R2

BCPairType

Last update: 10.09.2025

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

Option to specify boundary condition pair type.

Methods

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

Attributes

Name Description
BCPairType.real the real part of a complex number
BCPairType.imag the imaginary part of a complex number
BCPairType.numerator the numerator of a rational number in lowest terms
BCPairType.denominator the denominator of a rational number in lowest terms
BCPairType.FACE Option to specify face zonelet as boundary condition pair.
BCPairType.EDGE Option to specify edge zonelet as boundary condition pair.

Connect with Ansys