transport_from_face#

iskra.directional.transport_from_face(source: int, intrinsic: complex | Tensor, n_faces: int, flaps: Tensor, connection: Tensor, n: int) Tensor[SOURCE]#

Parallelly transports of a vector from face source to all neighboring faces.

Note

This function only tansports stuff within a 1-ring. It can be useful for visual debugging, e.g., making sure your connection works well with your directionals.

Parameters:
  • source (int) – Index of source face.

  • intrinsic (complex | Tensor[Complex, […]]) – Vector to be transported. Use to_intrinsic to project extrinsic vectors to intrinsic ones.

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

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

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

  • n (int) – The degree of symmetry of the N-RoSy field. Is simply 1 for vector fields.

Returns:

(Tensor[Complex, [F]]) – Transported vectors.