face_connection_d_01#

iskra.directional.face_connection_d_01(n_faces: int, flaps: Tensor, connection: Tensor) Tensor[SOURCE]#

Construct the face-based connection differetial for an N-RoSy field.

Parameters:
  • n_faces (int) – Number of faces in the mesh.

  • flaps (Tensor[Int64, [E, 2]]) – Edge-to-face connectivity in the mesh. See edge_flaps().

  • connection (Tensor[Complex, [E]]) – Discrete connection. You can use face_tangent_bundle() to obtain a connection from a mesh.

Returns:

(SparseTensor[Complex, [E, F]]) – Face-based connection differetial.