ScopeEntity#

class ansys.meshing.prime.ScopeEntity(value)#

ScopeDefinition uses entity type to scope entities.

Methods

ScopeEntity.conjugate

Returns self, the complex conjugate of any int.

ScopeEntity.bit_length(/)

Number of bits necessary to represent self in binary.

ScopeEntity.bit_count(/)

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

ScopeEntity.to_bytes(/, length, byteorder, *)

Return an array of bytes representing an integer.

ScopeEntity.from_bytes(/, bytes, byteorder, *)

Return the integer represented by the given array of bytes.

ScopeEntity.as_integer_ratio(/)

Return integer ratio.

Attributes

ScopeEntity.real

the real part of a complex number

ScopeEntity.imag

the imaginary part of a complex number

ScopeEntity.numerator

the numerator of a rational number in lowest terms

ScopeEntity.denominator

the denominator of a rational number in lowest terms

ScopeEntity.FACEZONELETS

Evaluate scope to get the face zonelets.

ScopeEntity.EDGEZONELETS

Evaluate scope to get the edge zonelets.

ScopeEntity.FACEANDEDGEZONELETS

Evaluate scope to get face and edge zonelets.

ScopeEntity.VOLUME

Evaluate scope to get volumes.

Examples using ScopeEntity#

Mesh a generic F1 car rear wing for external aero simulation

Mesh a generic F1 car rear wing for external aero simulation

Mesh a generic PCB geometry with multiple hexa layers

Mesh a generic PCB geometry with multiple hexa layers