Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(dallaston2015_melt), | intent(in) | :: | this |
The value of the contribution made by melting/thermal transfer to the heat equation for a plume
function dallaston2015_heat(this) result(heat)
class(dallaston2015_melt), intent(in) :: this
class(scalar_field), pointer :: heat
!! The value of the contribution made by melting/thermal
!! transfer to the heat equation for a [[plume]]
if (.not. allocated(this%melt_values)) error stop ('Melt values not allocated')
call this%melt_values%allocate_scalar_field(heat)
heat = this%coef * this%melt_values
end function dallaston2015_heat