Returns index of a variable in this region, or -1 if not found.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(region_obj), | intent(in) | :: | this |
A boundary region object |
||
| character(len=*), | intent(in) | :: | name |
Name of region |
Result
pure function region_obj_GetBCIndex(this,name) result(val) !> Returns index of a variable in this region, or -1 if not found. class(region_obj), intent(in) :: this !! A boundary region object character(len=*), intent(in) :: name !! Name of region integer :: val !! Result call this%tbl%Get(key=this%tbl%HashString(name),val=val) return end function region_obj_GetBCIndex