Constructs a boundary condition object for an ice shelf based on the conditions used in Dallaston et al. (2015).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in) | :: | thickness | The ice thickness at the inflowing ice shelf boundary |
||
real(kind=r8), | intent(in) | :: | velocity | The longitudinal ice velocity at the inflowing ice shelf boundary |
||
real(kind=r8), | intent(in) | :: | chi | The dimensionless ratio $\chi \equiv \frac{\rho_igh_0x_x}{2\eta_0u_0}$ |
pure function constructor(thickness, velocity, chi) result(this)
!* Author: Chris MacMackin
! Date: November 2016
!
! Constructs a boundary condition object for an ice shelf based on
! the conditions used in Dallaston et al. (2015).
!
real(r8), intent(in) :: thickness
!! The ice thickness at the inflowing ice shelf boundary
real(r8), intent(in) :: velocity
!! The longitudinal ice velocity at the inflowing ice shelf boundary
real(r8), intent(in) :: chi
!! The dimensionless ratio
!! $\chi \equiv \frac{\rho_igh_0x_x}{2\eta_0u_0}$
type(dallaston2015_glacier_boundary) :: this
this%thickness = thickness
this%velocity = velocity
this%chi = chi
end function constructor