Returns the extents (lo and hi bounds) of a region.
| 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_GetExtents(this,name) result (extents) !> Returns the extents (lo and hi bounds) of a region. class(bc_set), intent(in) :: this !! Boundary conditions utility character(len=*), intent(in) :: name !! Region name type(extent_obj):: extents !! Result ! Work variable integer :: ind ! Get index of region ind = this%GetRegionIndex(name) extents%lo = this%region(ind)%lo extents%hi = this%region(ind)%hi return end function bc_set_GetExtents