entropy_func_Burgers1D_t Function

public pure function entropy_func_Burgers1D_t(this, s) result(e)

Arguments

TypeIntentOptionalAttributesName
class(Burgers1D_t), intent(in) :: this
real(kind=prec), intent(in) :: s(1:this%solution%nvar)

Return Value real(kind=prec)


Contents


Source Code

  pure function entropy_func_Burgers1D_t(this,s) result(e)
    class(Burgers1D_t),intent(in) :: this
    real(prec),intent(in) :: s(1:this%solution%nvar)
    real(prec) :: e

    e = 0.5_prec*s(1)*s(1)

  endfunction entropy_func_Burgers1D_t