Sets the gravitational acceleration [m/s^2].
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(domain_type), | intent(inout) | :: | self | Domain instance |
||
real(kind=rk), | intent(in), | dimension(:,:) | :: | grav | Gravitational acceleration [m/s^2] |
pure subroutine setGravity(self,grav)
!! Sets the gravitational acceleration [m/s^2].
class(domain_type),intent(inout) :: self
!! Domain instance
real(kind=rk),dimension(:,:),intent(in) :: grav
!! Gravitational acceleration [m/s^2]
call self % spectrum % setGravity(grav)
endsubroutine setGravity