Returns the number of elements in the ice sheet's state vector. This is the size of the vector returned by residual and state_vector and taken as an argument by update.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ice_sheet), | intent(in) | :: | this |
The number of elements in the ice sheet's state vector.
pure function sheet_data_size(this)
!* Author: Christopher MacMackin
! Date: August 2016
!
! Returns the number of elements in the ice sheet's state vector.
! This is the size of the vector returned by [[ice_sheet(type):residual]]
! and [[ice_sheet(type):state_vector]] and taken as an argument by
! [[ice_sheet(type):update]].
!
class(ice_sheet), intent(in) :: this
integer :: sheet_data_size
!! The number of elements in the ice sheet's state vector.
end function sheet_data_size