sheet_data_size Function

private pure function sheet_data_size(this)

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.

Arguments

Type IntentOptional AttributesName
class(ice_sheet), intent(in) :: this

Return Value integer

The number of elements in the ice sheet's state vector.


Contents

Source Code


Source Code

  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