patch_t Derived Type

type, public :: patch_t

Boundary patch data structure. Patches group faces together to allow bulk application of boundary conditions (e.g., all faces in the "inlet" patch).


Inherited by

type~~patch_t~~InheritedByGraph type~patch_t patch_t type~mesh_t mesh_t type~mesh_t->type~patch_t patches

Components

Type Visibility Attributes Name Initial
integer, public, allocatable :: face_ids(:)
integer, public :: id = 0
character(len=name_len), public :: name = ""
integer, public :: nfaces = 0

Source Code

   type :: patch_t
      integer :: id = 0                     !< Unique patch index.
      character(len=name_len) :: name = ""  !< Descriptive name (e.g., "inlet", "wall", "outlet").
      integer :: nfaces = 0                 !< Total number of faces assigned to this patch.
      integer, allocatable :: face_ids(:)   !< List of global face IDs belonging to this patch.
   end type patch_t