Function to check if a face with given left and right property requires a downward (coarse->fine) dependency.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | leftPrp |
Left property of the face. |
||
integer, | intent(in) | :: | rightPrp |
Right property of the face. |
Does the face requires a vertical dependency.
function tem_reqDep_down(leftPrp, rightPrp) result( reqDep ) ! -------------------------------------------------------------------------- !> Left property of the face. integer, intent(in) :: leftPrp !> Right property of the face. integer, intent(in) :: rightPrp !> Does the face requires a vertical dependency. logical :: reqDep ! -------------------------------------------------------------------------- reqDep = .false. ! Check if one of the face properties (left or right) has the from finer ! property. if ( iand(tem_fromFinerFace_prp,leftPrp).ne.0 & & .or. & & iand(tem_fromFinerFace_prp,rightPrp).ne.0 ) then reqDep = .true. end if end function tem_reqDep_down