ground_data_size Function

private pure function ground_data_size(this)

Returns the number of elements in the ground's state vector. This is the size of the vector returned by state_vector and taken as an argument by update.

Arguments

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

Return Value integer

The number of elements in the ground's state vector.


Contents

Source Code


Source Code

  pure function ground_data_size(this)
    !* Author: Christopher MacMackin
    !  Date: August 2016
    !
    ! Returns the number of elements in the ground's state vector.
    ! This is the size of the vector returned by
    ! [[ground(type):state_vector]] and taken as an argument by
    ! [[ground(type):update]].
    !
    class(ground), intent(in) :: this
    integer                   :: ground_data_size
      !! The number of elements in the ground's state vector.
  end function ground_data_size