hbc3d_Prescribed_Model Function

public pure function hbc3d_Prescribed_Model(this, x, t) result(exts)

Arguments

TypeIntentOptionalAttributesName
class(Model), intent(in) :: this
real(kind=prec), intent(in) :: x(1:3)
real(kind=prec), intent(in) :: t

Return Value real(kind=prec)(1:this%nvar)


Contents


Source Code

  pure function hbc3d_Prescribed_Model(this,x,t) result(exts)
    class(Model),intent(in) :: this
    real(prec),intent(in) :: x(1:3)
    real(prec),intent(in) :: t
    real(prec) :: exts(1:this%nvar)

    exts = 0.0_prec
    if(.false.) exts(1) = exts(1)+x(1)+t ! suppress unused-dummy-argument warnings for default implementation

  endfunction hbc3d_Prescribed_Model