Returns the gravitational acceleration [m/s^2] array.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(domain_type), | intent(in) | :: | self | Domain instance |
Gravitational acceleration [m/s^2]
pure function getGravity(self) result(grav)
!! Returns the gravitational acceleration [m/s^2] array.
class(domain_type),intent(in) :: self
!! Domain instance
real(kind=rk),dimension(:,:),allocatable :: grav
!! Gravitational acceleration [m/s^2]
grav = self % spectrum % getGravity()
endfunction getGravity