Boundary patch data structure. Patches group faces together to allow bulk application of boundary conditions (e.g., all faces in the "inlet" patch).
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public, | allocatable | :: | face_ids(:) | |||
| integer, | public | :: | id | = | 0 | ||
| character(len=name_len), | public | :: | name | = | "" | ||
| integer, | public | :: | nfaces | = | 0 |
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