Returns the index of a region, or -1 if not found.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(bc_set), | intent(in) | :: | this |
Boundary conditions utility |
||
| character(len=*), | intent(in) | :: | name |
Region name |
Result
pure function bc_set_GetRegionIndex(this,name) result(val) !> Returns the index of a region, or -1 if not found. class(bc_set), intent(in) :: this !! Boundary conditions utility character(len=*), intent(in) :: name !! Region name integer :: val !! Result call this%tbl%get(key=this%tbl%HashString(name),val=val) return end function bc_set_GetRegionIndex