Default implementation of the method getting lower and upper boundary information, which is then passed to the methods for getting and setting raw representations of fields. It returns a 1D array of length 2, indicating free boundaries (the raw data should represent all cells contained in the field, not excluding any near the boundaries).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(glacier_boundary), | intent(in) | :: | this |
pure function bound_array(this)
!* Author: Chris MacMackin
! Date: September 2016
!
! Default implementation of the method getting lower and upper
! boundary information, which is then passed to the methods for
! getting and setting raw representations of fields. It returns a
! 1D array of length 2, indicating free boundaries (the raw data
! should represent all cells contained in the field, not excluding
! any near the boundaries).
!
class(glacier_boundary), intent(in) :: this
integer, dimension(2) :: bound_array
bound_array = 0
end function bound_array