|  | 
| pure subroutine | set_ib_ghost_mask (mask, ib_metrics) | 
|  | Set mask to ghost cells. 
 | 
|  | 
| pure subroutine | set_ib_ghost_mask_logical (mask, ib_metrics) | 
|  | 
| pure subroutine | set_ib_ghost_mask_face (mask, ib_metrics) | 
|  | 
| pure subroutine | set_ib_ghost_mask_logical_face (mask, ib_metrics) | 
|  | 
| pure subroutine | set_ib_2nd_kind_ghost_mask (mask, ib_metrics) | 
|  | Set mask to ghost cells of 2nd kind. 
 | 
|  | 
| pure subroutine | set_ib_2nd_kind_ghost_mask_logical (mask, ib_metrics) | 
|  | 
| pure subroutine | set_ib_2nd_kind_ghost_mask_face (mask, ib_metrics) | 
|  | 
| pure subroutine | set_ib_2nd_kind_ghost_mask_logical_face (mask, ib_metrics) | 
|  | 
| pure subroutine | set_ib_outer_mask (mask, ib_metrics) | 
|  | Set mask according to outer cells. 
 | 
|  | 
| pure subroutine | set_ib_outer_mask_logical (mask, ib_metrics) | 
|  | 
| pure subroutine | set_ib_outer_mask_face (mask, ib_metrics) | 
|  | 
| pure subroutine | set_ib_outer_mask_logical_face (mask, ib_metrics) | 
|  | 
Tools to manipulate immersed boundaries. 
Rank-3 masks
The following two routines can be used to retrieve the mask of the ghost nodes and the outer nodes, respectively:
- set_ib_ghost_mask
- set_ib_outer_mask
integer, logical, integer_face_field, and logical_face_field can be passed as argument. Integer fields are set to 0 at ghost or outer mask.