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