Function t8_dline_transform_face

Function Documentation

void t8_dline_transform_face(const t8_dline_t *line1, t8_dline_t *line2, int orientation)

Suppose we have two trees that share a common face f.

Given a Line e that is a subface of f in one of the trees and given the orientation of the tree connection, construct the face Line of the respective tree neighbor that logically coincides with e but lies in the coordinate system of the neighbor tree.

Parameters:
  • line1[in] The face element.

  • line2[inout] On return the face element line1 with respect to the coordinate system of the other tree.

  • orientation[in] The orientation of the tree-tree connection. 0 if vertex 0 of face 0 coincides with vertex 0 of face 1. 1 if vertex 0 of face 0 coincides with vertex 1 of face 1.