File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -760,23 +760,23 @@ struct OrientationInfo
760760 shift_index:: Int
761761end
762762
763- function OrientationInfo (edgenodes:: NTuple{2, <: Integer} )
763+ function OrientationInfo (edgenodes:: NTuple{2, <:Integer} )
764764 return OrientationInfo (get_edge_direction (edgenodes) < 0 , 0 )
765765end
766766
767- function OrientationInfo (facenodes:: NTuple{N, <: Integer} ) where {N}
767+ function OrientationInfo (facenodes:: NTuple{N, <:Integer} ) where {N}
768768 min_idx = argmin (facenodes)
769769 shift_index = min_idx - 1
770770 flipped = get_face_direction (facenodes) < 0
771771 return OrientationInfo (flipped, shift_index)
772772end
773773
774- function get_edge_direction (edgenodes:: NTuple{2, <: Integer} )
774+ function get_edge_direction (edgenodes:: NTuple{2, <:Integer} )
775775 positive = edgenodes[2 ] > edgenodes[1 ]
776776 return ifelse (positive, 1 , - 1 )
777777end
778778
779- function get_face_direction (facenodes:: NTuple{N, <: Integer} ) where {N}
779+ function get_face_direction (facenodes:: NTuple{N, <:Integer} ) where {N}
780780 N > 2 || throw (ArgumentError (" A face must have at least 3 nodes" ))
781781 min_idx = argmin (facenodes)
782782 if min_idx == 1
You can’t perform that action at this time.
0 commit comments