Returns the state vector for the current state of the ground. This takes the form of a 1D array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ground), | intent(in) | :: | this |
The state vector describing the ground.
pure function ground_state_vector(this) result(state_vector)
!* Author: Christopher MacMackin
! Date: April 2016
!
! Returns the state vector for the current state of the ground.
! This takes the form of a 1D array.
!
class(ground), intent(in) :: this
real(r8), dimension(:), allocatable :: state_vector
!! The state vector describing the ground.
end function ground_state_vector