Skip to main content

Prime Mesh Python client library 2025 R1 SP01

SizeFieldType

Last update: 17.07.2025

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

The type of sizing field to be used to fetch element size at given location.

Methods

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

Attributes

Name Description
SizeFieldType.real the real part of a complex number
SizeFieldType.imag the imaginary part of a complex number
SizeFieldType.numerator the numerator of a rational number in lowest terms
SizeFieldType.denominator the denominator of a rational number in lowest terms
SizeFieldType.GEOMETRIC Geometric size field.
SizeFieldType.VOLUMETRIC Uses precomputed variable size in volumetric space defined by size field.
SizeFieldType.GEODESIC Uses geodesic size field.
SizeFieldType.CONSTANT Uses constant size at all locations of sizing field.
SizeFieldType.MESHEDGEODESIC The type is applicable when remeshing already meshed surfaces.

Connect with Ansys