The local side directly across an element from side s.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | s |
pure function qt_opposite(s) result(o)
!! The local side directly across an element from side s.
implicit none
integer,intent(in) :: s
integer :: o
integer,parameter :: opp(1:4) = [3,4,1,2]
o = opp(s)
endfunction qt_opposite