Skip to content

Commit 530bdd2

Browse files
Runic
1 parent 651600e commit 530bdd2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/Grid/grid.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -760,23 +760,23 @@ struct OrientationInfo
760760
shift_index::Int
761761
end
762762

763-
function OrientationInfo(edgenodes::NTuple{2, <: Integer})
763+
function OrientationInfo(edgenodes::NTuple{2, <:Integer})
764764
return OrientationInfo(get_edge_direction(edgenodes) < 0, 0)
765765
end
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)
772772
end
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)
777777
end
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

0 commit comments

Comments
 (0)