is_periodic_face Function

public function is_periodic_face(mesh, bc, face_id)

Returns true if the face belongs to a periodic boundary.

Arguments

Type IntentOptional Attributes Name
type(mesh_t), intent(in) :: mesh
type(bc_set_t), intent(in) :: bc
integer, intent(in) :: face_id

Return Value logical


Source Code

   logical function is_periodic_face(mesh, bc, face_id)
      type(mesh_t), intent(in) :: mesh
      type(bc_set_t), intent(in) :: bc
      integer, intent(in) :: face_id
      is_periodic_face = patch_type_for_face(mesh, bc, face_id) == bc_periodic
   end function is_periodic_face