Expression Objects

Expression Objects

histogram
Parameters:
  • value (array) –

  • min_val (double) –

  • max_val (double) –

  • num_bins (int) –

  • clamp (bool) –

value_position
Parameters:
  • value (double) –

  • position (vector) –

topo
Parameters:
  • cell (cell) – Holds jitable cell attributes.

  • vertex (vertex) – Holds jitable vertex attributes.

cell
Parameters:
  • x (jitable) – Cell x-coordinate.

  • y (jitable) – Cell y-coordinate.

  • z (jitable) – Cell z-coordinate.

  • dx (jitable) – Cell dx, only defined for rectilinear topologies.

  • dy (jitable) – Cell dy, only defined for rectilinear topologies.

  • dz (jitable) – Cell dz, only defined for rectilinear topologies.

  • id (jitable) – Domain cell id.

  • volume (jitable) – Cell volume, only defined for 3D topologies

  • area (jitable) – Cell area, only defined for 2D topologies

vertex
Parameters:
  • x (jitable) – Vertex x-coordinate.

  • y (jitable) – Vertex y-coordinate.

  • z (jitable) – Vertex z-coordinate.

  • id (jitable) – Domain vertex id.

  • min – Min coordinate of an axis-aligned bounding box (aabb)

  • max – Max coordinate of an axis-aligned bounding box (aabb)

aabb
Parameters:
  • min (vector) –

  • max (vector) –

vector
Parameters:
  • x (double) –

  • y (double) –

  • z (double) –

bin
Parameters:
  • min (double) –

  • max (double) –

  • center (double) –

  • value (double) –

jitable
Parameters:
  • x (jitable) –

  • y (jitable) –

  • z (jitable) –

field
Parameters:
  • x (jitable) –

  • y (jitable) –

  • z (jitable) –